Repository navigation
feat: compute stack values with !starlark - #3286
Andriy Knysh (aknysh) merged 15 commits into
Conversation
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Important Cloud Posse Engineering Team Review RequiredThis pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes. To expedite this process, reach out to us on Slack in the |
|
Warning SHA Pin Verification Passed — with documented exceptionsAll 248 third-party action reference(s) are covered, but 2 rely on a documented allowlist entry in
See the action run for full details. |
883b30c to
a5d21d3
Compare
a5d21d3 to
39b352c
Compare
|
CodeRabbit (@coderabbitai) review |
✅ Action performedReview finished.
|
|
CodeRabbit (@coderabbitai) review |
|
|
CodeRabbit (@coderabbitai) review |
✅ Action performedReview finished.
|
|
CodeRabbit (@coderabbitai) review |
✅ Action performedReview finished.
|
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
These changes were released in v1.233.0-rc.0. |
what
Add
!starlarkto stack manifests. A scalar body usesreturnto produce typed configuration values from read-onlyctx.vars,ctx.metadata, settings, environment, and component identity.Expressions run after the existing YAML-function merges, resolve other computed values on access, and report circular dependencies. Literal source survives Go templates and retains its original filename and line. Configuration evaluation uses the interpreter registry with a separate typed-value capability and a 100,000-step budget.
Add the PRD, YAML-function reference, language-overview link, and roadmap milestone. Explain
!starlarkin the main Atmos Automation Language announcement, with a resource-tags example and a redirect from the consolidated post. This PR contains fewer than 150 changed files.The schema ratchet classifies
!starlarkas stack-manifest-only. The lint and TFLint-hook CI jobs use the shared toolchain action to reuse the build job's verified binaries and avoid redundant release-attestation API calls.why
Define tags, generated lists, and environment-specific values once, then compute them for each component's final configuration. The configuration host provides language builtins and JSON conversion; executable scripts provide commands, prompts, and the step library.
CI repairs
Reuse the shared CI toolchain cache, classify the new YAML tag for schema generation, stop SHA-pin lookups after API quota exhaustion, and pass large diagnostics between action steps through a file. Bound PR diagnostic tables, remove summed environment allocation capacities flagged by CodeQL, and make the controller-runtime NOTICE license URL deterministic. Incorporate the lower-stack formatting-bot commit while retaining the correct URL so GitHub’s combined stack checkout preserves it. Classify
!starlarkas forbidden in selection metadata because its context dependencies can require authentication or command execution.validation
actionlint.The full
internal/execshort suite hit its 10-minute timeout. The scoped YAML/template regression suite passed.references
Summary by CodeRabbit
New Features
!starlarkexpressions in stack manifests to compute typed configuration from merged component context. Expressions can reference other computed values, with dependency cycles reported as errors.Documentation
Bug Fixes