Skip to content

Comments

Improve template rendering error diagnostics and fix missing manifest…#15

Merged
jeffreyaven merged 1 commit intomainfrom
claude/modularize-manifest-policy-akY5V
Feb 23, 2026
Merged

Improve template rendering error diagnostics and fix missing manifest…#15
jeffreyaven merged 1 commit intomainfrom
claude/modularize-manifest-policy-akY5V

Conversation

@jeffreyaven
Copy link
Contributor

… vars

  • Extract full Tera error chain in render_with_filters instead of just the top-level "Failed to render" message, now showing the root cause (e.g. which variable is missing)
  • Classify missing-variable errors as VariableNotFound instead of generic RenderError for clearer error messages
  • Add diagnostic logging in render_query and render_inline_template that lists which template variables are missing from the context
  • Add hint message directing users to check manifest properties or .iql template variable references
  • Log available context keys at DEBUG level for troubleshooting
  • Add missing properties (managed_policy_arns, max_session_duration, permissions_boundary, tags) to aws_cross_account_role in the databricks/serverless example manifest to match roles.iql template
  • Add tests for improved error reporting

https://claude.ai/code/session_01FikwxWpZdvhtNbECVWJiqK

… vars

- Extract full Tera error chain in render_with_filters instead of just
  the top-level "Failed to render" message, now showing the root cause
  (e.g. which variable is missing)
- Classify missing-variable errors as VariableNotFound instead of generic
  RenderError for clearer error messages
- Add diagnostic logging in render_query and render_inline_template that
  lists which template variables are missing from the context
- Add hint message directing users to check manifest properties or .iql
  template variable references
- Log available context keys at DEBUG level for troubleshooting
- Add missing properties (managed_policy_arns, max_session_duration,
  permissions_boundary, tags) to aws_cross_account_role in the
  databricks/serverless example manifest to match roles.iql template
- Add tests for improved error reporting

https://claude.ai/code/session_01FikwxWpZdvhtNbECVWJiqK
@jeffreyaven jeffreyaven merged commit 8eafed8 into main Feb 23, 2026
3 checks passed
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.

2 participants