Skip to content

fix(template): render v2alpha instance yaml before parsing#7022

Open
zjy365 wants to merge 1 commit into
labring:mainfrom
zjy365:codex-template-v2alpha-fastgpt
Open

fix(template): render v2alpha instance yaml before parsing#7022
zjy365 wants to merge 1 commit into
labring:mainfrom
zjy365:codex-template-v2alpha-fastgpt

Conversation

@zjy365

@zjy365 zjy365 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • render template conditionals before parsing YAML in the v2alpha instance creation API
  • keep the requested instance name by renaming the rendered Instance resource before apply
  • add a regression test for conditional YAML that fails before rendering, matching the FastGPT failure mode

Testing

Notes

  • No public API schema changes. POST /api/v2alpha/templates/instances still accepts template/name/args and applies rendered YAML server-side.

@zjy365 zjy365 requested a review from a team as a code owner June 25, 2026 04:22
@zjy365 zjy365 modified the milestones: v5.1, v5.2 Jun 25, 2026
@zjy365 zjy365 force-pushed the codex-template-v2alpha-fastgpt branch from 16ae476 to 1f5fa00 Compare June 26, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant