Skip to content

fix: validate lab manifest YAML on save and log lab/user on load failures - #325

Open
italovalcy wants to merge 2 commits into
mainfrom
fix/validate-manifest-yaml-on-save
Open

italovalcy wants to merge 2 commits into
mainfrom
fix/validate-manifest-yaml-on-save

Conversation

@italovalcy

Copy link
Copy Markdown
Contributor

Fixes #324

Changes

  • create_lab error logs (manifest parse failure and resource creation failure) now include lab_id and user_uid.
  • The Lab edit form validates the manifest syntax on save (yaml.compose_all, syntax only). Invalid YAML is rejected, the submitted form values are kept, and the message includes the line and column.
  • Added a test and a changelog entry.

Notes

  • Only the Lab edit form is validated. Other paths that store manifests, and Labs already saved with an invalid manifest, are not covered.
  • The new message is not yet in the pt_BR catalog.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate lab manifest YAML on save and log lab/user on manifest load failures

1 participant