NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1416 by repository stars
Latest stable
v1.234.0
Last release 13 days ago
09 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Some releases are documented
notes for 32 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
2417 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
feat: describe affected evaluates all provisioned component sections @osterman
<details> <summary>feat: describe affected evaluates all provisioned component sections @osterman (#2573)</summary>
atmos describe affected so it detects changes in every provisioned component section, not just vars/env/settings/metadata/source/provision.providers, required_providers (provider versions), required_version, hooks, generate, backend, backend_type, remote_state_backend, remote_state_backend_type, auth, command, and dependencies — including scalar sections (previously only map sections were compared).describe.affected.sections setting in atmos.yaml that fully replaces the evaluated set (e.g. to track a custom section or narrow the list); metadata/settings are always evaluated.providers, hooks, provider versions, backend, etc. were silently missed — a false negative that could let CI pipelines skip components that genuinely changed.stack_processor_merge.go, and the new config setting gives users an escape hatch so the bug class can't quietly return.locals, overrides, inheritance, and retry are intentionally excluded (they either fold into other sections or are execution-time only).describe.affected.sections<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<details> <summary>feat(hooks): terraform init lifecycle hooks + --skip-hooks before-* fix @osterman (#2574)</summary>
--skip-hooks for before- hooks.* Previously it only skipped after-* hooks; before-terraform-plan/apply/deploy hooks ran regardless. Now --skip-hooks (skip all) and --skip-hooks=name1,name2 (skip by name) are honored symmetrically for before and after events.before-terraform-init and after-terraform-init lifecycle hooks for the atmos terraform init command. after-terraform-init is new; before-terraform-init was documented but never dispatched to user hooks — now it fires. They run through the same runHooks/RunAll path, so the skip fix applies to them too.viper.Set), strengthen hook-inheritance coverage with a fixture proving top-level terraform.hooks: is inherited by every component (and components.terraform.hooks: is not), update the Hooks docs, blog post, and roadmap.--skip-hooks is a global flag bound to Viper inside RunE, but before-* hooks run earlier in PreRunE — so viper.GetString("skip-hooks") never saw the CLI value and before-hooks fired anyway. The flag is now resolved directly from the parsed command (Viper/ATMOS_SKIP_HOOKS fallback), mirroring how --ci and --verbose are read in PreRunE.init.go wired no hooks and the BeforeTerraformInit event was never dispatched. Wiring PreRunE/PostRunE on the init command (like plan/apply/deploy) closes the lifecycle gap so teams can validate tooling, vendor sources, or notify systems around terraform init declaratively.viper.Set with a nil command, sidestepping the exact flag-binding lifecycle that was broken — which is how the bug shipped; the new tests fail against the old implementation./stacks/hooksbefore-/after-terraform-init fire on the explicit atmos terraform init, not the implicit init that plan/apply run.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<details> <summary>feat(auth): share single OIDC session across aws/iam-identity-center providers @Benbentwo (#2553)</summary>
aws/iam-identity-center (AWS SSO) provider so that multiple providers pointing at the same SSO portal (identical start_url + region) share a single OIDC token — one browser flow now unlocks every provider instead of one flow per provider.ssooidc:CreateToken with grant_type=refresh_token, so a single browser interaction holds for the full portal session (~8h) rather than re-prompting every hour.sessionTokenStore (keyed by sha1(start_url|region)) with per-session mutexes that single-flight concurrent device-auth flows; re-keys the on-disk cache from aws-sso/<provider>/token.json to aws-sso/sessions/<sha1>.json in the AWS SDK ssocreds-compatible format.docs/prd/aws-sso-session-support.md), a changelog blog post, and a shipped roadmap milestone under the Unified Authentication initiative.atmos auth login launched the browser flow once per provider, contradicting AWS's own "credentials have been shared successfully" single-sign-in experience.atmos.yaml config changes.docs/prd/aws-sso-session-support.mdssocreds: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/credentials/ssocreds<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<details> <summary>feat: implement !append YAML function for list concatenation @osterman (#1513)</summary>
!append YAML function that allows fine-grained control over list merging behavior in Atmos stack configurations!append will be concatenated with base values instead of replaceddepends_on where appending is often the desired behavior rather than replacement!append tag provides opt-in, per-field control that works alongside the global list_merge_strategy setting!append use append mode!append tag works independently of the global list_merge_strategy setting# base.yaml
components:
terraform:
eks:
settings:
depends_on:
- vpc
- iam-role
# override.yaml
components:
terraform:
eks:
settings:
depends_on: !append # This tag indicates append mode
- rds
- elasticache
# Result: depends_on = [vpc, iam-role, rds, elasticache]
!append YAML functionappend-yaml-function; roadmap milestone updated (Extensibility initiative)🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
</details>
<details> <summary>fix(stacks): honor component list_merge_strategy in metadata.inherits… @JaseKoonce (#2565)</summary>
settings.list_merge_strategy set on a component now applies when merging lists via metadata.inherits
Adds tests covering append, replace, and merge strategies across single and multi-level inheritance chains
Component-level list_merge_strategy was only honored on the import/stack merge path (fixed in #2480). The metadata.inherits resolution path always used the global atmosConfig, so per-component overrides were silently ignored
A component with list_merge_strategy: append inheriting two bases would get last-wins ([from_b]) instead of the expected accumulated result ([from_a, from_b])
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Improvements
Tests
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
feat: add !unset YAML function to delete keys from configuration @osterman
<details> <summary>feat: add !unset YAML function to delete keys from configuration @osterman (#1521)</summary>
!unset YAML function that completely removes keys from configuration during inheritance and mergingyaml_func_utils.go) and config loading (process_yaml.go)nullnull, !unset completely removes the key from configuration# parent.yaml
components:
terraform:
vpc:
vars:
enable_nat_gateway: true
enable_vpn_gateway: true
# child.yaml
import:
- parent
components:
terraform:
vpc:
vars:
enable_vpn_gateway: !unset # Completely removes this key
config:
database:
host: "prod.db.example.com"
backup_enabled: true
# Override:
config:
database:
backup_enabled: !unset # Remove backup config
host: "dev.db.example.com"
All tests pass:
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(imports): cache remote stack-import clones (dedup + opt-in TTL) @osterman (#2571)</summary>
describe affected passes).ttl to reuse the cloned source across runs until it expires: per-import (ttl: in the import map form) and a global imports.ttl default in atmos.yaml. With no ttl, the source refreshes once per run so mutable refs like ?ref=main stay fresh.ensureSourceDir, add per-session fetch tracking + TTL freshness (timestamp persisted in the .atmos-source-ready marker), and extract a shared duration.IsExpired/IsZeroTTL that the source provisioner now reuses.stacks/imports.mdx, add a changelog blog post, and add a roadmap milestone.atmos describe affected was re-cloning the hub repo once per import (~68–87×/run, ~7–11 min total), and a warm actions/cache of ~/.cache/atmos/stack-imports/ was ignored because the subdir path re-cloned unconditionally.ttl lets CI reuse the clone across runs (warm cache skips the clone entirely) while keeping mutable refs fresh by default. Shallow clones (depth=1) were already in use — the win is not re-cloning the same repo repeatedly.~/.cache/atmos/stack-imports/, honoring XDG_CACHE_HOME).pkg/duration, pkg/provisioner/source).website/blog/2026-06-05-faster-remote-stack-imports.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
ttl and global imports.ttl for optional cross-run caching of remote stack imports.Documentation
Tests
Nothing published for this version
Nothing published for this version
…and tool-install steps, approval gate, optional vulnerability scan, and cross-account sharing.
<details> <summary>[codex] consolidate terraform bulk execution on scheduler @shirkevich (#2466)</summary>
--all, --components, and --query through the scheduler-backed Terraform adapterdependencies.components first, with settings.depends_on fallback--identity terraform testing works1 for this PRThis PR is stacked on PR 2 and targets codex/dag-scheduler-core.
PR 4 is #2468 and is stacked on this branch to introduce plan-only --max-concurrency wiring.
Supersedes the earlier fork-headed draft #2462 now that the stack branches exist in cloudposse/atmos.
This branch is back to the intended PR 3 review shape: Terraform --all, --components, and --query share the graph-backed scheduler path, but execution remains sequential.
The temporary ATMOS_EXPERIMENTAL_DAG_MAX_CONCURRENCY validation hook has been removed. User-visible plan concurrency now belongs to PR 4.
This branch retains the narrow credential-store concurrency-safety prerequisite discovered during validation:
ATMOS_KEYRING_TYPE precedencego test ./pkg/scheduler ./pkg/scheduler/adapters ./internal/exec -run TestExecuteTerraformQuery|TestExecuteTerraformQueryNoMatches|TestBuildTerraformDependencyGraph|TestExecuteTerraformAllUsesGraphBackedSequentialOrder|TestExecuteTerraformComponentsUsesGraphBackedSequentialOrder|TestExecuteTerraformQueryUsesGraphBackedSequentialOrder|TestExecuteTerraformKeepsIndependentComponentsSequential|TestBuildTerraformGraphgo test ./pkg/auth/credentialsgo test -race ./pkg/auth/credentials -run TestNewCredentialStoreWithConfig_ConcurrentInitializationgo test ./pkg/auth ./internal/exec -run TestCreateAndAuthenticateManagerWithAtmosConfig|TestSetupTerraformAuth|TestProcessComponentConfig_PropagatesAuthManager|TestProcessComponentConfig_AuthManagerGuardBranchesbuild/atmos and live-tested against a downstream stack with terraform plan --all and an explicit identityviper.BindEnv, causing fatal error: concurrent map writes. This PR fixes that narrowly in pkg/auth/credentials.The longer-term way to unlock true parallelism for aliases sharing one physical Terraform folder would be per-node isolated workdirs plus isolated TF_DATA_DIR and generated files. That needs repo-owner discussion because it changes the operator debugging model: Atmos would need to decide whether and how to retain those per-node copies for inspection, how atmos terraform shell maps to them, and how cleanup/debug artifacts are managed.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
<details> <summary>feat: install Atmos from a branch or tag with --use-version=ref:<name> @osterman (#2569)</summary>
ref:<name> version spec to --use-version (and version.use in atmos.yaml / ATMOS_USE_VERSION) that installs Atmos from the latest commit of a branch or tag, e.g. atmos --use-version=ref:main version.ref:main, ref:release/v1.199, ref:v1.199.0, ref:heads/main, ref:tags/v1.199.0.sha: install/cache path unchanged; ref versions always re-execute and fail hard on resolution errors.version/use.mdx), a minor blog post, and a roadmap milestone.--use-version only accepted PR numbers (pr:1234), commit SHAs (sha:ceb7526), and releases — a branch name like main was rejected, even though branch/tag pushes already publish the same build-artifacts-* from the Tests workflow.ref: lets you pin a moving target once (ref:main) instead of chasing a new sha: after every merge, making it trivial to test unreleased fixes on a branch.head_sha filter, which only matches full (not short) SHAs.website/blog/2026-06-04-use-version-ref.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Behavior Changes
Bug Fixes
Documentation
<details> <summary>feat: Add custom component types for custom commands @osterman (#1904)</summary>
pkg/component/custom)This feature enables custom commands to provide superior developer experience through:
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<details> <summary>docs(gists): add Atmos + Packer + GitHub Actions AMI pipeline gist @aknysh (#2560)</summary>
gists/aws-ami-packer-github-actions/ demonstrating an end-to-end AWS AMI pipeline with Atmos + Packer + GitHub Actions:
ScanStatus=approved and share it across AWS accounts.atmos ami custom commands (get-ami-id, tag, share, launch/terminate test instances, …).gists/aws-ami-packer-github-actions/website/blog/2026-06-01-gist-aws-ami-packer-github-actions.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
<details> <summary>feat: add !git.* repository YAML functions and atmos.Resolve template func @osterman (#2558)</summary>
!git.* YAML functions that expose Git repository metadata from the origin remote: !git.repository (the <owner>/<repo> slug, e.g. cloudposse/atmos), !git.owner, !git.name, !git.host, and !git.url.atmos.Resolve template function, which evaluates any Atmos YAML-function string (!git.*, !exec, !store, !terraform.output, …) at template-render time so its result can be composed with other strings and template variables in a single value.atmos.yaml config preprocessing.!exec echo ${GITHUB_REPOSITORY:-$(git remote get-url origin | sed …)}.workspace_key_prefix with the repo slug) was impossible without !exec; atmos.Resolve makes that composition native:workspace_key_prefix: '{{ atmos.Resolve .settings.context.repo }}/{{ or .metadata.name .metadata.component }}'
/functions/yaml/git.repository, /functions/template/atmos.Resolve.docs/prd/lazy-yaml-function-template-values.md (lazy-Stringer auto-deref so {{ .settings.context.repo }} evaluates without atmos.Resolve).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<details> <summary>fix(auth): unwrap Atmos Pro envelope in github/sts mint @osterman (#2568)</summary>
github/sts auth integration ignoring a successfully minted Atmos Pro STS token because mint() decoded the response with a flat struct instead of the canonical API envelope.dtos.Envelope[T] + pro.DecodeEnvelope[T] — and route mint() through it so every Atmos Pro response unwraps the nested data payload through one sanctioned path.mint() persists 1 token, not 0, plus decoder unit tests including a canary that a flat payload decodes to empty data.{ "success": true, "status": 200, "data": { "tokens": [...], "excluded": [...] } }, but mint() decoded straight into the flat stsResponse (top-level tokens), so it always read 0 tokens — the CLI logged GitHub STS: no tokens granted, never wrote the git insteadOf config, and cross-repo import: calls fell back to the ambient GITHUB_TOKEN and failed with remote: Repository not found, even though the server had minted a valid token (HTTP 200, so no error surfaced).{tokens,excluded} shape the real server never sends; matching the fixture to the real envelope and adding the regression/canary tests prevents this whole class of "decoded a Pro response without the envelope" bug from recurring.mint() was the only Pro call bypassing the shared AtmosApiResponse envelope that ExchangeOIDCToken / LockStack already use.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
source is misplaced under metadata and accept simple-form source strings.New Features
Tests
Documentation
source.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>Nothing published for this version
Nothing published for this version
fix(pro): respect metadata.enabled when uploading instances for drift @osterman
<details> <summary>fix(pro): respect metadata.enabled when uploading instances for drift @osterman (#2563)</summary>
atmos list instances --upload now collapses the Atmos Pro enabled hierarchy (metadata.enabled > settings.pro.enabled > settings.pro.drift_detection.enabled) before uploading, so the values Atmos Pro persists already reflect any outer disable.effectiveEnabledState helper is the single source of truth for both the upload payload (extractProSettings) and the success-toast counts, so they can no longer diverge.pro.enabled: false) rather than omitted, so Atmos Pro shows them disabled instead of orphaning them.settings/pro.mdx gains a settings.pro.enabled entry + precedence note; list/list-instances.mdx drops the now-false "preserved verbatim" / "drift is independent of pro.enabled" claims), plus a docs/fixes/ write-up.metadata.enabled: false kept failing scheduled drift detection (dispatchError: "missing_plan_result", drift_status: error): the CLI skips planning them, but the upload serialized the raw settings.pro block and never sent metadata.enabled, so Atmos Pro (whose ingestion contract has no metadata field) persisted them as enabled:true, drift_enabled:true and legitimately dispatched drift.error rows self-heal to disabled on the next upload, with no data migration.pro.enabled defaults to true (matching the Pro server-side default) so the collapse only ever turns things off when an outer level is explicitly disabled — it never regresses default-enabled components.docs/fixes/2026-06-03-drift-dispatch-ignores-metadata-enabled.md (root-cause analysis, Neon instances evidence, verification steps)internal/exec/component_utils.go (isComponentEnabled)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Documentation
Tests
<details> <summary>fix(auth): deduplicate ECR, ECR Public, and EKS integrations to once per process @MrZablah (#2564)</summary>
Adds a process-level execution cache to triggerIntegrations so that
auto-provisioned integrations (aws/ecr, aws/ecr-public, aws/eks)
fire at most once per atmos invocation, regardless of how many times
Authenticate is called or how many AuthManager instances are created.
The cache key is the integration's canonical target endpoint rather than its config entry name:
aws/ecr → "aws/ecr:<account_id>:<region>"aws/ecr-public → "aws/ecr-public" (single global registry)aws/eks → "aws/eks:<cluster_name>:<region>"This means two config entries that point at the same registry — e.g. one
from global atmos.yaml and one from a component stack file — are
collapsed to a single execution.
atmos terraform plan calls Authenticate from at least three internal
paths: setupTerraformAuth, TerraformPreHook, and one call per YAML
function (!store.get, !terraform.state). With a 6-tool .tool-versions
this produced 6 ECR logins per command. Switching to a name-keyed cache
reduced it to 2 because merged configs can carry two integration entries
with different names for the same registry. Keying by target endpoint
reduces this to exactly 1.
pkg/auth/manager_integrations.go — adds processIntegrationCache sync.Map, resetProcessIntegrationCache() (test helper),
integrationTargetKey() (canonical key helper covering aws/ecr,
aws/ecr-public, aws/eks); updates triggerIntegrations to use
LoadOrStore on the target key.pkg/auth/manager_integrations_test.go — adds
TestIntegrationTargetKey (table-driven tests for all key variants
including ECR Public) and TestIntegrationTargetKey_Deduplication
(verifies that two same-registry entries produce one cache hit).aws/ecr-public was added to upstream/main in #2231 after this branch
diverged; coverage for it was added here to keep deduplication consistent
across all three AWS integration kinds.
ECR / ECR Public Login Executes Multiple Times Per atmos terraform Invocation #2562
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
feat(stacks): template variables in import paths from earlier imports @osterman
<details> <summary>feat(stacks): template variables in import paths from earlier imports @osterman (#2554)</summary>
import: paths (local paths and a remote import's Git ?ref=) against the settings/vars/env accumulated from imports listed earlier in the same manifest, plus the import's own context.settings.context.deployment_repo_version, set once in a _defaults) can now pin both a remote catalog import's ref and the component source.version.ignore_missing_template_values is set; skip_templates_processing or a disabled templating engine leaves the path literal.ErrImportPathTemplate sentinel, a fixture scenario + unit tests, docs ("Referencing Earlier Imports in Import Paths"), a changelog blog post, and a roadmap milestone.dev and prod in one repo while isolating prod from dev changes: dev uses local catalogs/sources, prod imports a versioned catalog and pins the component source to an immutable ref — both driven by one variable.source.version template worked (resolved late, at component processing) but the import ?ref= had to be hard-coded, because imports are resolved before that context exists. This closes that gap so both come from the same variable./stacks/imports#referencing-earlier-imports-in-import-paths<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Documentation
<details> <summary>fix(auth): make github/sts compose with default GitHub token injection @osterman (#2557)</summary>
github/sts-minted GitHub tokens: CustomGitDetector now skips URL token injection when a live GIT_CONFIG_* insteadOf rewrite already matches the URL's host/owner, so git's rewrite (carrying the correct least-privilege token) wins.ATMOS_PRO_GITHUB_TOKEN bridge consistent: resolveToken falls back to the live env var (which the broker sets after startup), mirroring pkg/http/client.go.token_env to ATMOS_PRO_GITHUB_TOKEN (was empty) so a single-owner mint reaches gh/REST and Atmos's in-process git path automatically.{owner} placeholder with Atmos's standard Go-template syntax ({{ .owner }}, plus .host); update docs, PRD, and add a docs/fixes/ write-up.import: from a second private repo failed with remote: Repository not found — the minted token was correct, but the ambient GITHUB_TOKEN was being injected into the URL ahead of it, defeating git's insteadOf rewrite. The only fix was the settings.inject_github_token: false workaround.github/sts (introduced in #2546) compose with the default settings.inject_github_token: true, so it "just works" with no workaround. Reproduced first with a simulated-broker e2e test, then fixed.github/sts feature shipped in #2546docs/fixes/2026-06-01-github-sts-token-injection-shadowing.md (root cause, fix, and why this is a fix doc rather than a changelog entry)docs/prd/atmos-pro-sts.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
New Features
Documentation
Tests
Chores
<details> <summary>fix(auth): report missing exec binary instead of "atmos requires a subcommand" @osterman (#2559)</summary>
atmos auth exec -- <command> reporting the misleading "The command atmos requires a subcommand" when the executable after -- (e.g. uvx) is not found on PATH.127.ErrUnknownSubcommand sentinel, and the root handler intercepts that (via a new testable unknownSubcommand helper) instead of the overloaded ErrCommandNotFound.auth exec and the registry executor both wrapped the shared ErrCommandNotFound sentinel, so a missing user binary was indistinguishable from an unknown Atmos subcommand and got masked as root usage output — hiding the real cause.pkg/hooks command lookups.atmos auth → command-registry migration (#1919) combined with the registry executor's Cobra-error conversion (#1643).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
Documentation
<details> <summary>fix: allow --use-version artifact downloads without GitHub token @osterman (#2212)</summary>
--use-version flagGetGitHubTokenOrError() gate with optional GetGitHubToken() in InstallFromPR() and InstallFromSHA()Authorization header when token is unavailable in downloadPRArtifact()buildDownloadHTTPError() to distinguish auth failures from rate limitingatmos --use-version=2129 fails with "authentication failed" when no GITHUB_TOKEN is set<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
Documentation
<details> <summary>fix(version): honor ATMOS_USE_VERSION env var for version re-exec @osterman (#2556)</summary>
ATMOS_USE_VERSION environment variable so Atmos actually switches to (and downloads, if needed) the requested version during early re-exec.resolveRequestedVersion now reads ATMOS_USE_VERSION, with precedence ATMOS_VERSION_USE > ATMOS_USE_VERSION > ATMOS_VERSION > version.use.cmd/root.go also honors ATMOS_USE_VERSION from the environment so version-management commands (e.g. atmos version) re-exec on it just like the --use-version flag.ATMOS_USE_VERSION is advertised as the primary env var (docs at website/docs/cli/environment-variables.mdx and the flag binding WithEnvVars("use-version", "ATMOS_USE_VERSION")), but the re-exec resolver never read it — it only checked the internal ATMOS_VERSION_USE (set solely by the CLI flag), the ATMOS_VERSION alias, and version.use config.Changed() and maps to viper key use-version rather than version.use, so ATMOS_USE_VERSION fell through every code path — setting it was a complete no-op.ATMOS_USE_VERSION was set for atmos describe affected --upload but Atmos ran the already-installed version instead of switching. This brings the code in line with the existing documentation.website/docs/cli/environment-variables.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
Chores
Nothing published for this version
Add AuthManager.CredentialStoreType() for observability/testability, mark the no-arg NewCredentialStore() constructor Deprecated, and add unit tests f…
<details>
<summary>Add ECR Public authentication: aws/ecr-public integration and atmos aws ecr login --public @osterman (#2231)</summary>
Add ECR Public authentication to Atmos for authenticated access to public.ecr.aws, solving Docker rate limiting on public ECR images. Two entry points:
atmos aws ecr login --public — direct, zero-config login using ambient AWS credentials (the AWS SDK default chain: env, shared config/profile, SSO, IMDS/IRSA/ECS), or --public --identity <name> to use a specific identity. Ideal for CI.aws/ecr-public integration kind — for automatic login on atmos auth login and identity linking.Key changes:
cmd/aws/ecr/login.go): new --public flag on atmos aws ecr login; ambient-credential and identity-based ECR Public login paths; mutually exclusive with a positional integration argument and --registry.pkg/auth/cloud/aws/ecr_public.go): GetPublicAuthorizationToken() calls ecrpublic:GetAuthorizationToken, always in us-east-1.pkg/auth/integrations/aws/ecr_public.go): ECRPublicIntegration factory registering the aws/ecr-public kind, with region validation at config time. Implements the full Integration interface including Cleanup() (docker logout) and Environment() (DOCKER_CONFIG).--public flag and mode validation.atmos aws ecr login command reference (added --public flag), ECR authentication tutorial, and a PRD (docs/prd/ecr-public-authentication.md).Note: this branch has been merged up to
main. Following #2144 (atmos auth ecr-login→atmos aws ecr login), ECR login lives under theawsnamespace, and the integration was adapted tomain's evolvedIntegrationinterface (exportedBuildAWSConfigFromCreds, newCleanup/Environmentmethods).
Docker pulls from public.ecr.aws hit rate limits when unauthenticated. This blocks CI workflows, especially those using cloudposse/github-action-docker-build-push which pulls BuildKit/binfmt images on every run. Authenticated pulls have significantly higher (or no) rate limits.
Because public.ecr.aws is global, any valid AWS credentials unlock authenticated pulls — so --public with ambient credentials "just works" in CI with zero configuration. ECR Public otherwise differs from private ECR: it uses the ecrpublic SDK service, a bearer token instead of SigV4, a hardcoded us-east-1 auth region, and a fixed public.ecr.aws registry URL. It requires ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken IAM permissions.
atmos aws ecr login Command Reference — command usage, --public flag, integration configuration.docs/prd/ecr-public-authentication.md.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Bug Fixes
Tests
Chores
<details> <summary>feat(auth): Atmos Pro STS — JIT GitHub token broker for CI @osterman (#2546)</summary>
kind: atmos/pro that authenticates the Atmos CLI to Atmos Pro by federating the GitHub Actions runner's OIDC token into an Atmos Pro session JWT (v1 is OIDC-only).kind: github/sts — a just-in-time GitHub token broker for CI. On login it mints short-lived, scoped GitHub App installation tokens via POST /api/v1/sts, materializes them as per-owner GIT_CONFIG_* URL rewrites (env or file mode), and revokes them at command-end (via atmos auth exec in CI) and on atmos auth logout.kind: atmos/pro identity, a keyring-registered ProCredentials type, realm scoping for integration state, and via.provider binding for integrations (in addition to via.identity).ATMOS_PRO_GITHUB_TOKEN, preferred by Atmos-native git operations (vendoring, source: provisioning, go-getter) ahead of ATMOS_GITHUB_TOKEN/GITHUB_TOKEN.docs/prd/atmos-pro-sts.md), a changelog blog post, a shipped roadmap milestone, and configuration docs; full unit-test coverage for the provider, identity, integration, keyring round-trip, via.provider matching, revoke gating, and token precedence.source: components, and vendored artifacts in CI today requires a long-lived, over-privileged GitHub credential (PAT, machine user, or deploy key) sitting in a CI secret — a standing breach risk that can't be scoped per-run..tf changes (the injected GIT_CONFIG_* rewrites are honored by both go-getter and Terraform's native git), and multi-org support because tokens are minted per (installation, permission-set).aws/ecr/aws/eks integrations; the workflow only needs permissions: id-token: write.docs/prd/atmos-pro-sts.md (includes deferred Future Work: moving Pro connection config under auth, unifying pkg/pro onto auth-issued sessions, and broadening command-end revoke beyond atmos auth exec)website/blog/2026-05-29-atmos-pro-github-sts.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
<details> <summary>docs: re-date custom commands step types blog post to 2026-05-30 @osterman (#2550)</summary>
2026-01-03 to 2026-05-30.git mv, history preserved) and added a matching date: 2026-05-30 frontmatter field.date: field to match the repo convention (e.g. 2026-05-28-git-yaml-functions.mdx).slug is unchanged, so the published URL stays the same.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(website): use consistent brand-blue announcement bar @osterman (#2551)</summary>
backgroundColor/textColor overrides from website/src/data/announcements.js so every announcement bar entry inherits the brand-blue (#3578e5) / white-text defaults from the --announcement-bar-* CSS variables.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat: Implement workflow step types with registry pattern (DEV-263, DEV-2969) @osterman (#1899)</summary>
{{ .steps.step1.value }})Addresses DEV-263 (add input type to workflows) and DEV-2969 (add viewport support). Enables users to build complex multi-step workflows with user interaction, conditional execution, and flexible result display.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Bug Fixes
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Add process and I/O execution foundation @shirkevich (#2464)</summary>
This is PR 1 for the DAG concurrent execution rollout. It introduces the reusable process and stream-isolation foundation without enabling scheduler behavior or changing Terraform bulk routing.
Changes:
pkg/process with Runner, TaskSpec, Streams, Result, default os/exec runner, context-aware execution, cancellation reporting, and exit-code preservation.pkg/io with prefixed per-node stream composition for terminal, file, and capture sinks.internal/exec.ExecuteShellCommand() into a backward-compatible wrapper over pkg/process while preserving CI stdout/stderr capture options.runTerraformShow() global os.Stdout swap with injected stdout capture.No scheduler, CLI routing consolidation, concurrency flags, or Terraform adapter behavior is enabled in this PR.
This PR is the bottom of the DAG rollout stack and targets main.
Supersedes the earlier fork-headed draft #2459 now that the stack branches exist in cloudposse/atmos.
rtk env GOCACHE=/private/tmp/atmos-gocache GOMODCACHE=/private/tmp/atmos-gomodcache go test ./pkg/process ./pkg/io ./internal/exec ./cmd/terraform
PR 2 branches from codex/dag-process-io-foundation and adds the generic pkg/scheduler core with ready-queue scheduling, bounded workers, deterministic aggregate results, and isolated unit tests only.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): honor keyring.type config and send DPoP proof on AWS webflow @osterman (#2545)</summary>
auth.keyring.type from atmos.yaml across all auth-manager entrypoints by threading authConfig into credentials.NewCredentialStoreWithConfig(...) (was silently dropped via the no-arg NewCredentialStore()), and inject the manager's config-aware store into AWS user identities via a new optional SetCredentialStore interface.AuthManager.CredentialStoreType() for observability/testability, mark the no-arg NewCredentialStore() constructor Deprecated, and add unit tests for both fixes (keyring backend selection, DPoP proof structure/signature, key round-trip, header presence).auth.keyring.type: memory set, Atmos still selected the default system keyring and hung indefinitely on hosts where the keyring service is present but unusable (e.g. a locked gnome-keyring-daemon). The config value was read and then thrown away before backend selection — only ATMOS_KEYRING_TYPE worked. Now the configured backend is honored everywhere an auth manager is built./v1/token endpoint now rejects requests without a DPoP proof (HTTP 400 INVALID_REQUEST), so browser-based authentication for aws/user identities failed at the code-exchange step. Sending the proof restores the flow; because the public-client refresh token is bound to the DPoP key, the key is persisted and reused on refresh.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Improvements
<details> <summary>fix(yaml-functions): honor init.pass_vars when resolving !terraform.output (#1412) @thejrose1984 (#2548)</summary>
When components.terraform.init.pass_vars: true is set, forward the component's vars to the internal terraform init that runs while resolving !terraform.output, via TF_VAR_* environment variables.
ComponentConfig gains PassVars + Vars, populated in ExtractComponentConfig.SetupEnvironment injects TF_VAR_* for each var when PassVars is true (strings verbatim, other types JSON-encoded).Closes #1412.
The main terraform path honors pass_vars by passing -var-file to init (terraform_execute_helpers.go), so modules with init-time variable dependencies (e.g. a module version/source bound to var.aks_version) can initialize. But the init that runs while resolving !terraform.output goes through pkg/terraform/output, which uses the terraform-exec library and never honored pass_vars:
runInit only set Upgrade(false) + optional Reconfigure(true).ComponentConfig had no PassVars/vars plumbing.terraform-exec's initConfig has no var-file field — it structurally cannot pass -var-file to init.So atmos tofu init/plan -s <stack> failed with Unable to compute static value / module.aks.version depends on var.aks_version which is not available whenever an init-time var came from a component resolved via !terraform.output.
terraform-exec can't attach a var-file to init, and an auto-loaded *.auto.tfvars.json on disk would risk cross-stack contamination when components are resolved concurrently. TF_VAR_* is process/runner-scoped, reaches init transparently through the existing SetEnv call, and Terraform/OpenTofu accept these values for the matching variable types (JSON encodings of lists/maps are valid HCL2). Gated behind pass_vars (default false), so it's a no-op unless opted in; an explicit TF_VAR_* in the component env section still wins.
go test ./pkg/terraform/output/...
New tests:
TestDefaultEnvironmentSetup_PassVars — vars exported as TF_VAR_* with correct encoding.TestDefaultEnvironmentSetup_PassVarsDisabled — no TF_VAR_* when pass_vars is off.TestDefaultEnvironmentSetup_PassVarsEnvSectionWins — explicit env-section TF_VAR_* wins.Validation note: verified at the unit level (init env now carries the component vars when
pass_varsis set; previously the init invocation was unchanged whetherpass_varswas on or off). I don't have terraform/tofu in this environment to re-run the reporter's fulltofu init/planend-to-end, so a maintainer check against a real init-time-dependent module would be worthwhile before release.
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
Documentation
<details> <summary>test(yaml-functions): regression test for mixed state/output circular dependency (#2005) @thejrose1984 (#2547)</summary>
!terraform.state and !terraform.output (component-a → !terraform.state component-b; component-b → !terraform.output component-a).tests/fixtures/scenarios/yaml-functions-circular-deps-mixed.TestYAMLFunctionsCrossComponentCycleMixed.This is the exact scenario from #2005. It was the same root cause as #2457 and was fixed by #2533 (making ProcessCustomYamlTags reuse the goroutine-local ResolutionContext so the Visited map survives nested walks). That fix covers both state↔state and the mixed state↔output path, but only the state↔state case had a regression test — so #2005 could silently regress while the existing test stayed green.
Verified the mixed cycle hangs (infinite recursion / goroutine stack overflow) on the commit before #2533, and returns a clean ErrCircularDependency on current main.
go test ./tests -run TestYAMLFunctionsCrossComponentCycle -v
Both TestYAMLFunctionsCrossComponentCycle (state↔state) and TestYAMLFunctionsCrossComponentCycleMixed (state↔output) pass. The mixed test asserts ErrCircularDependency is returned and that the MaxResolutionDepth safety net is not what fired (which would indicate the primary cycle detector regressed).
🤖 Generated with Claude Code </details>
<details> <summary>fix: defer custom-command/built-in collision warning to invocation time @thejrose1984 (#2549)</summary>
Scope is intentionally narrow: change only when the existing collision warning fires — defer it from command-registration time to the moment the conflicting command is actually invoked.
steps are still ignored.override:/invoke: work — that opt-in design is tracked separately in the custom-command-builtin-override PRD.PreRunE in processCustomCommands (preserving any existing PreRunE/PreRun and honoring Cobra's precedence of PreRunE over PreRun).Today the warning (introduced in #2191) is emitted from processCustomCommands, which runs during root init on every Atmos invocation. So a single colliding custom command makes every command — atmos list stacks, atmos terraform ..., etc. — print a warning about, say, a plan collision it never touched. The result is worse than noisy:
version) emits it.Deferring the warning to invocation makes it accurate and actionable: it appears exactly once, only when you run the command the warning is actually about, and stderr stays clean for every other command. Same information, delivered at the moment it's relevant instead of on every unrelated call.
| Invocation | Before | After |
|---|---|---|
atmos list stacks (with a colliding custom plan) |
⚠ warning printed | no warning |
atmos <colliding command> |
⚠ warning printed (and also for every other command) | ⚠ warning printed once, here only |
go test ./cmd/ -run 'TestCustomCommand_.*Collision|TestCustomCommand_StepsConflictWarning|TestCustomCommand_NamespaceMerge|TestCustomCommand_DeepNesting'
Verified the new test fails against the previous (emit-at-registration) behavior and passes with the fix.
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
</details>
<details> <summary>fix(flags): register --settings-list-merge-strategy as a global flag (#2398) @thejrose1984 (#2540)</summary>
--settings-list-merge-strategy as a global persistent flag on RootCmd, with env binding to ATMOS_SETTINGS_LIST_MERGE_STRATEGY.ProcessCommandLineArgs so the value reaches ConfigAndStacksInfo even when Cobra strips the flag from RunE's args.setSettingsConfig, scan os.Args (mirroring setLogConfig's parseFlags() pattern) so command paths that call InitCliConfig directly with a zero-value ConfigAndStacksInfo (e.g. describe config) still honor the flag.The flag is advertised in two places:
atmos.yaml:344 — "Can also be set using 'ATMOS_SETTINGS_LIST_MERGE_STRATEGY' environment variable, or '--settings-list-merge-strategy' command-line argument"website/docs/cli/configuration/settings/settings.mdx:54And Atmos's internal arg/flag layer already expects it:
pkg/config/const.go:147 — SettingsListMergeStrategyFlag = \"--settings-list-merge-strategy\"internal/exec/cli_utils.go:72 — listed in commonFlagsinternal/exec/cli_utils.go:495 — string-flag handler that writes info.SettingsListMergeStrategypkg/config/utils.go:726 — applies it onto atmosConfig.Settings.ListMergeStrategyBut it was never registered with Cobra at the global level. Subcommands that don't whitelist unknown flags (e.g. terraform plan, which has no FParseErrWhitelist) rejected the flag before the legacy commonFlags post-processing ever ran:
$ atmos --settings-list-merge-strategy=append terraform plan vpc -s test
Error: unknown flag --settings-list-merge-strategy for command atmos terraform plan
Unit tests added in pkg/flags/global_registry_test.go:
flag is registered on RootCmd as persistentdefaults to empty stringCLI flag value flows through ViperATMOS_SETTINGS_LIST_MERGE_STRATEGY env var flows through Vipersubcommand inherits the persistent flagEnd-to-end verification on a minimal project (atmos.yaml has settings.list_merge_strategy: replace):
| Invocation | list_merge_strategy |
|---|---|
atmos describe config |
replace (baseline from atmos.yaml) |
atmos --settings-list-merge-strategy=append describe config |
append |
atmos describe config --settings-list-merge-strategy=merge |
merge |
ATMOS_SETTINGS_LIST_MERGE_STRATEGY=append atmos describe config |
append |
atmos --help now lists --settings-list-merge-strategy.
Full test suites pass for the touched packages:
ok github.com/cloudposse/atmos/pkg/flags
ok github.com/cloudposse/atmos/pkg/flags/global
ok github.com/cloudposse/atmos/pkg/config
ok github.com/cloudposse/atmos/internal/exec
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add core git YAML functions @osterman
<details> <summary>Add core git YAML functions @osterman (#2537)</summary>
!git.root, !git.sha, !git.branch, and !git.ref.pkg/git, with pkg/utils limited to compatibility shims and YAML tag registration.!git.ref.pkg/utils by placing Git behavior in the self-contained Git package.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Refactor
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Fix templated store hook execution @osterman (#2539)</summary>
!template and bare Go templates in store hook names, output keys, and output values.store-outputs.name values were used literally, causing store lookup failures.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): normalize override keys to uppercase in filterAtmosOverrides (#2349) @thejrose1984 (#2541)</summary>
pkg/auth/manager_env_overrides.go:filterAtmosOverrides.TestFilterAtmosOverrides covering Viper-lowercased keys, mixed-case keys, and mixed atmos/non-atmos casings.filterAtmosOverrides did a case-sensitive strings.HasPrefix(k, \"ATMOS_\"). The function's documented contract was "only keys with the ATMOS_* prefix" — but in production the only realistic source of its input map is an MCP server env: block in atmos.yaml / .atmos.d/mcp.yaml, which Viper loads with all map keys lowercased.
This is the same Viper-lowercasing pitfall already documented and handled on a sibling code path by pkg/mcp/client/mcpconfig.go:copyEnv (the CLI-provider pass-through that writes config files for Claude Code / Codex / Gemini). That fix wasn't applied to the auth code path, so an authored:
mcp:
servers:
atmos:
command: atmos
args: [\"mcp\", \"start\"]
env:
ATMOS_PROFILE: managers
identity: core-root/terraform
reached filterAtmosOverrides as {\"atmos_profile\": \"managers\"}, was silently dropped, and the auth manager was rebuilt against the default profile. Identity resolution then surfaced as:
✗ Server failed to start
Error: MCP server failed to start: atmos: auth setup failed for \"atmos\": identity not found: core-root/terraform
I confirmed Viper's lowercasing end-to-end against the actual schema.MCPServerConfig shape (Env map[string]string):
env key=\"atmos_profile\" value=\"managers\"
env key=\"aws_region\" value=\"us-east-1\"
— so the authored ATMOS_PROFILE is gone by the time the filter runs.
ATMOS_PROFILE): unchanged.atmos_profile, Atmos_Profile): now honored — and those are exactly the users hitting the documented bug.ATMOS_* keys: still dropped, regardless of case (aws_profile, FOO, foo).TestFilterAtmosOverrides cases still pass unchanged.TestCreateAndAuthenticateManagerWithEnvOverrides_* tests still pass unchanged.I weighed three fix locations on the original issue:
filterAtmosOverrides (this PR). Smallest possible surface, single source of truth for the auth path, doesn't touch the MCP layer.copyEnv (or equivalent) inside ScopedAuthProvider.ForServer. Localizes to the MCP adapter; downside is a future non-MCP consumer of CreateAndAuthenticateManagerWithEnvOverrides that loads its env map from YAML would hit the same trap.ParseConfig time. Widest reach — would also affect subprocess env propagation. A real (if narrow) behavior change for users who deliberately set unconventionally-cased env vars in env: and expected those passed to the spawned MCP server verbatim.Option 1 fixes the documented case without altering any other code path's behavior or risking the subprocess-env corner case in Option 3.
pkg/mcp/client/mcpconfig.go:128 (copyEnv) — the parallel fix on the CLI-provider pass-through path that documents the Viper-lowercasing trap.go test ./pkg/auth -run 'TestFilterAtmosOverrides|TestCreateAndAuthenticateManagerWithEnvOverrides' -v
go test ./pkg/auth ./pkg/mcp/client/...
Both pass. New regression subtests:
viper-lowercased atmos key is normalized to uppercasemixed-case atmos key is normalized to uppercaseviper-lowercased non-atmos key is droppedmixed casings across atmos and non-atmos keys<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
…settings.depends_on map — driving users to the deprecated format and making the new format fail IDE/SchemaStore validation.
<details> <summary>Refresh Terragrunt migration guide mappings @osterman (#2527)</summary>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>docs(dependencies): document dependencies.components for describe affected @osterman (#2391)</summary>
atmos describe affected docs to lead with the new dependencies.components (kind: file|folder + path:) format for path-based dependencies; keep a short backward-compat note pointing to legacy settings.depends_on.describe affected page from settings.depends_on to dependencies.components.stacks/dependencies/components.mdx: the default is replace, not append; append requires opting in via settings.list_merge_strategy: append. Add an "Opt-in append" subsection and link to the settings reference.stacks/dependencies/components.mdx clarifying that namespace/tenant/environment/stage are not supported in the new format — use a templated stack: instead.stacks/dependencies/index.mdx so dependencies.tools and dependencies.components get equal billing in the intro, use cases, and component-dependencies subsection. Remove the duplicate Related Documentation entry and relabel the legacy link as "Legacy settings.depends_on". Add a link to atmos describe affected.website/static/schemas/... and the matching test fixture) so dependencies.components is allowed and validates component, stack, kind, path. Previously rejected by additionalProperties: false.dependencies.components page existed, but the highest-traffic surface (describe affected) and the JSON Schema still only documented/allowed the legacy settings.depends_on map — driving users to the deprecated format and making the new format fail IDE/SchemaStore validation.stacks/dependencies/components.mdx contradicted the announcement blog and the actual code (internal/exec/describe_dependents_test.go:1093–1154 confirms default = replace, append is opt-in via settings.list_merge_strategy). Users following the docs would have built a wrong mental model of inheritance.settings.depends_on (with namespace/tenant/environment/stage) to dependencies.components (with templated stack:) was only discoverable via the migration table at the bottom of the page; surfacing it as a callout reduces confusion for users porting existing configs.pkg/schema/dependencies.go — canonical field set for dependencies.componentsinternal/exec/describe_dependents_test.go:1093–1154 — confirms default merge is replace, append requires settings.list_merge_strategy: appendwebsite/blog/2026-03-14-dependencies-components.mdx — original announcementcd website && npm run build succeeds (no broken-link errors)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): repair Docker build and Homebrew formula bump in release workflow @aknysh (#2525)</summary>
install_kustomize.sh script in the Dockerfile with a direct download from GitHub Releases, pinned to kustomize v5.8.1mislav/bump-homebrew-formula-action@v3 with dawidd6/action-homebrew-bump-formula@v7 (SHA-pinned) for the Homebrew formula bump steptar: ./kustomize_v*_linux_amd64.tar.gz: Cannot open) during Docker image buildsmislav/bump-homebrew-formula-action is broken because GitHub now returns HTTP 303 instead of 302 for tarball redirects, and the action hardcodes statusCode == 302 (mislav/bump-homebrew-formula-action#340, open/unfixed)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(components): add retry block for transient terraform errors @osterman (#2431)</summary>
retry: block under components.terraform.<name> that wraps each terraform subprocess invocation (init, workspace select, workspace new, plan/apply/etc.) in an independent retry loop with configurable backoff.retry.conditions: — a list of regex patterns matched against captured stdout/stderr; only errors whose output matches at least one condition retry, everything else fails fast. Patterns may be wrapped in /.../ for readability.schema.RetryConfig with Conditions []string (backwards-compatible — the existing struct is also used by workflows / vendor / task retry configs).overrides.retry deep-merge on top.retry referenced from terraform, terraform_component_manifest, and overrides; ship a docs page, blog post, and roadmap milestone under the CI/CD initiative.pkg/retry/conditions.go (regex compile + match) and pkg/schema/retry_decode.go (mapstructure decoder with the duration hook) so logic stays out of internal/exec/.atmos terraform plan/apply runs in CI repeatedly fail with transient infrastructure errors that have nothing to do with the Terraform code — most commonly 502 Bad Gateway during provider downloads, but also connection reset, TLS handshake timeout, and state-backend timeouts.pkg/retry. This PR exposes the same robust primitive to components without duplicating logic.terraform plan failures (exit-code 2, schema errors, etc.) are never silently retried — the foot-gun of "retry everything" is avoided by requiring conditions: to opt in.wrap(exec), wrap(exec), wrap(exec)), not as one outer retry around the whole pipeline, so apply doesn't lose its budget to init./stacks/components/terraform/retrywebsite/blog/2026-05-18-terraform-component-retry.mdx (tag: feature)pkg/retry.WithPredicate and the existing WithStdoutCapture / WithStderrCapture shell options — no duplication<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
retry: block with regex-driven conditions, max attempts, backoff, delays, jitter; wraps init, workspace and main commands; inherited from abstract components and overridable; no retry occurs by default without conditions.Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(website): per-page raw .md routes + Copy Markdown button on atmos.tools @osterman (#2503)</summary>
.md routes to atmos.tools — every doc URL is mirrored at <url>.md with Content-Type: text/markdown.<link rel="alternate" type="text/markdown" href="<url>.md"> to each doc page's <head> so crawlers and LLM tooling can discover the alternate.website/plugins/docusaurus-plugin-llms-txt/src/mdx-normalize.mjs) with a per-component handler table covering <Intro>, <Tabs>/<TabItem>, <Terminal>, <File>, <Note>, <Step>, <dl><dt><dd>, marketing cards, and more. Unknown components unwrap to their children. 19 unit tests.llms-full.txt, replacing a lossy regex-strip that dropped JSX content wholesale — the LLM corpus file is now meaningfully richer.id:/slug: overrides were silently dropped from llms.txt / llms-full.txt because the resolver searched by filename. Switched to Docusaurus's .docusaurus/<plugin>/<id>/*.json cache for the authoritative permalink → source map. Pages processed went from 554 → 735.rel="alternate" Markdown link is a standard discovery pattern for agentic crawlers — no special-case scraping needed.llms-full.txt (tab content, flag tables, intros all silently dropped). The AST normalizer preserves structure correctly.id:/slug: override bug meant ~25% of CLI command pages were missing from the LLM corpus entirely.website/blog/2026-05-24-copy-markdown-button.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat: implement remote stack imports @osterman (#2037)</summary>
pkg/stack/imports package handles URL detection and remote downloadingstack_processor_utils.go to detect remote URLs and download them automaticallywebsite/blog/2026-01-29-remote-stack-imports.mdxexamples/remote-stack-imports/<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Chores
Tests
<details> <summary>feat(aws/security): add SARIF/OCSF exports and harden CI @osterman (#2483)</summary>
This PR adds machine-readable security export formats to atmos aws security analyze and includes the CI hardening needed to keep the branch green.
--format=sarif for SARIF 2.1.0 output compatible with GitHub code scanning, Azure DevOps, and SARIF viewers.--format=ocsf for OCSF 1.4.0 Detection Finding output for SIEM and security data lake ingestion.docs/prd/atmos-pro-security-findings-upload.md for later revival.actions/checkout usage from v4 to v6 across workflows and docs/examples; updates the SHA-pinned Atmos Pro checkout to v6.0.2.packages: read so CI jobs pulling from GHCR can authenticate with the workflow token.github.token explicitly.opentofu/setup-opentofu@v1 on Windows instead of installing OpenTofu through the Atmos toolchain path that was failing signature verification.se to sv, and adds HTTP retries so screengrab generation is less brittle.SARIF and OCSF let Atmos security findings flow directly into standard security workflows instead of requiring users to translate markdown/json output themselves. The CI changes address failures observed while validating this branch: checkout/auth instability, Windows OpenTofu setup failures, reviewdog token scope failures, and live wttr.in request failures in screengrab generation.
GITHUB_TOKEN=$(gh auth token) node .github/actions/verify-sha-pinning/test.mjsmake -C demo/screengrabs build-allterraform fmt -check examples/demo-stacks/components/terraform/myapp/main.tfpre-commit run check-yaml --files .github/workflows/test.yml examples/demo-stacks/stacks/deploy/dev.yaml examples/demo-stacks/component.yamlgit diff --check<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
Documentation
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(hooks): add hook kinds, scanner integrations, SARIF summaries, and skip controls @osterman (#2482)</summary>
kind discriminator to the hook system with built-in kinds for store, command, infracost, checkov, trivy, and kics.ATMOS_* runtime env vars, output-file/output-dir side channels, and configurable on_failure behavior.infracost parses JSON breakdown output into a markdown cost summary.checkov, trivy, and kics emit SARIF and share one parser/markdown renderer.helpUri, short descriptions, file/line locations, and empty-result handling.dependencies.tools are installed before hooks run, toolchain paths take precedence over operator PATH, and missing hook binaries fail before Terraform starts.dependencies.tools.kics can install from release tarballs.pkg/cacerts and wires Checkov to SSL_CERT_FILE / REQUESTS_CA_BUNDLE so PyInstaller-bundled Checkov can use the host CA bundle.--skip-hooks global flag and ATMOS_SKIP_HOOKS, supporting skip-all and comma-separated named-hook skipping.command: store hook configs as kind: store.infracost, checkov, trivy, kics, and custom kind: command hooks.store had first-class dispatch behavior.kind: command keeps the system open for arbitrary binaries.tfsec kind or hooks-tfsec example. Trivy is the maintained Aqua-backed scanner path; legacy tfsec users can still wire it with kind: command.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
<details> <summary>feat(ci): auto-detect log level from GitHub Actions debug mode @osterman (#2495)</summary>
Debug for the run.ci.enabled: true is set in atmos.yaml and the active CI provider reports debug mode is on. For GitHub Actions, that means ACTIONS_RUNNER_DEBUG=true or ACTIONS_STEP_DEBUG=true — exactly what the built-in "Re-run with debug logging" button sets.CI provider debug mode detected — using Debug log level for this run provider=github-actions from=Info.provider.DebugModeDetector { IsDebugMode() bool } in pkg/ci/internal/provider, plus a generic registry helper ci.DetectDebugMode() DebugModeInfo. The GHA provider implements the interface; cmd/root.go imports only pkg/ci and names no GHA-specific env vars.--logs-level, ATMOS_LOGS_LEVEL, and logs.level in atmos.yaml — the CI-side debug toggle is set at the repo/workflow level by the runner itself and is treated as the higher-priority signal (including over an explicit Trace or Off).docs/prd/native-ci/framework/debug-mode-promotion.md), a changelog blog post, a roadmap milestone under the Native CI initiative, and unit tests covering: the GHA IsDebugMode() env-var matrix, the generic DetectDebugMode() type-assertion path, and the cmd-side helper's gates and override semantics.ATMOS_LOGS_LEVEL=Debug somewhere in workflow YAML).cmd/ or pkg/ci needed.--logs-level / ATMOS_LOGS_LEVEL is intentional: the CI-side toggle is an explicit, repo-/workflow-level "make everything noisy" signal that should beat per-invocation flags in the same run.docs/prd/native-ci/framework/debug-mode-promotion.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
ci.enabled: true; an informational startup log notes the promotion and it overrides other log-level settings.<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): restore checks: write on lint job for reviewdog annotations @osterman (#2500)</summary>
permissions: block on the lint ([lint] <demo-folder>) job in .github/workflows/test.yml granting contents: read + checks: write so reviewdog/action-tflint@v1 can post inline tflint findings on PRs via the GitHub Checks API.Companion to #2499, which restored
security-events: writeon thedocker([lint] Dockerfile) job. Same root cause, second affected job.
permissions: block on test.yml to grant packages: read for ghcr.io OCI pulls. A workflow-level permissions: block replaces (not extends) the default GITHUB_TOKEN scope for every job in the file, which silently stripped the inherited checks: write that the lint job relied on.examples/<demo-folder>/components/terraform have stopped appearing as inline check annotations. The job itself still exits with the right code (fail_level: error controls that), but reviewers lost the per-line context. This restores that behavior..github/workflows/codeql.yml and the docker-job fix already landed in #2499.pull-requests: write: reviewdog's default github-pr-check reporter posts check runs (which need checks: write), not review comments. checks: write alone is sufficient.2437e13bf, "fix(vendor): recover OCI pulls on auth rejection and surface rich errors").fix(ci): restore security-events: write for Dockerfile lint SARIF upload).</details>
<details> <summary>fix(ci): restore security-events: write for Dockerfile lint SARIF upload @aknysh (#2499)</summary>
Restores security-events: write permission for the [lint] Dockerfile
job in .github/workflows/test.yml so its hadolint SARIF results can
be uploaded to GitHub Code Scanning.
permissions: block to the docker job:permissions:
contents: read # actions/checkout
security-events: write # github/codeql-action/upload-sarif
contents: read is re-listed because a job-level permissions: block
fully overrides the workflow-level set (rather than merging).PR #2487 (2437e13bf) added a top-level permissions: block to the
workflow to grant packages: read for ghcr.io pulls:
permissions:
contents: read
packages: read
In GitHub Actions, a workflow-level permissions: block replaces
(not extends) the default GITHUB_TOKEN scope for every job in the
file. That replacement inadvertently stripped the implicit
security-events: write that the [lint] Dockerfile job relied on to
upload hadolint SARIF results via github/codeql-action/upload-sarif@v4.
Every post-merge run on main has been failing the Upload SARIF
file step since #2487:
##[warning]This run of the CodeQL Action does not have permission to
access the CodeQL Action API endpoints. ... please ensure the workflow
has at least the 'security-events: read' permission.
##[error]Resource not accessible by integration -
https://docs.github.com/rest
Failing run for reference: https://github.com/cloudposse/atmos/actions/runs/26339160817/job/77562841194
Note: hadolint itself ran successfully in the failing run — the SARIF output contained zero findings. Only the upload step failed.
A job-level fix (this PR) is preferred over expanding the workflow-level permissions block, because it follows least-privilege: only the one job that actually needs to write security events gets the elevated scope.
github/codeql-action/upload-sarif permission requirement:
https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github#uploading-the-sarif-file-to-github<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Add toolchain package verification @osterman (#2415)</summary>
pkg/toolchain/verification for Aqua-compatible checksum, signature, and attestation verification before tool extraction.go test ./pkg/toolchain/installer ./pkg/toolchain/... ./cmd/toolchain/...scripts/run-custom-golangci-lint.sh<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(yaml-functions): detect cross-component !terraform.state cycles instead of stack-overflowing @thejrose1984 (#2533)</summary>
Fix the goroutine stack overflow reported in #2457: two components that reference each other via !terraform.state (A → B, B → A) drove atmos describe affected / describe component / terraform plan into infinite recursion until the Go runtime stack overflowed.
The YAML-function cycle detector already existed and worked within a single ProcessCustomYamlTags walk, but it didn't survive the recursive describe path that !terraform.state triggers.
When a component is being processed and the resolver encounters !terraform.state, it does:
processTagTerraformStateWithContext
→ GetTerraformState
→ ExecuteDescribeComponent (ProcessYamlFunctions: true)
→ ProcessStacks
→ ProcessCustomYamlTags ← re-entry
ProcessCustomYamlTags was wrapping every entry with scopedResolutionContext(), which saved the parent's context and installed a fresh, empty one. So when the inner walk found B's !terraform.state a ..., the cycle detector's Visited map had no record that A was already in progress, and it pushed A → B → A → B forever until the goroutine stack hit its 1 GB cap.
The cycle detector unit tests pass because they exercise Push/Pop on a single context; the only integration tests that would have caught this were t.Skip()-ed placeholders in internal/exec/yaml_func_circular_deps_test.go referencing fixtures that don't exist.
Three coordinated changes:
internal/exec/yaml_func_utils.go — ProcessCustomYamlTags now reuses the goroutine-local ResolutionContext via GetOrCreateResolutionContext() and drops the scopedResolutionContext() wrap. The Push/Pop discipline in processTagTerraformStateWithContext / trackOutputDependency already pairs every successful Push with a deferred Pop, so the context is empty when the top-level walk returns. Removed the now-unused scopedResolutionContext helper.
internal/exec/yaml_func_resolution_context.go — Added MaxResolutionDepth = 64 and a depth check in Push that returns ErrYamlFuncMaxResolutionDepth if any future re-entry path slips past the cycle detector. This is belt-and-suspenders: real cycles are caught by the Visited check; the depth bound exists so atmos surfaces a clean error instead of stack-overflowing if the detector regresses.
internal/exec/terraform_state_utils.go — GetTerraformState's describe-error wrap now uses double %w so errors.Is can match a propagated sentinel like ErrCircularDependency through the descriptive wrapper. Without this, the cycle error message is human-readable but errors.Is(err, ErrCircularDependency) returns false, breaking callers that try to handle the error programmatically.
tests/yaml_functions_circular_deps_integration_test.go plus fixture at tests/fixtures/scenarios/yaml-functions-circular-deps/ — exercises the full ExecuteDescribeComponent path on an A↔B cycle and asserts ErrCircularDependency comes back (and not the depth safety net, which would indicate the cycle detector regressed). Test completes in ~20 ms instead of running forever.internal/exec/yaml_func_circular_deps_test.go — all four tests in it were t.Skip()-ed placeholders referencing fixtures that don't exist. The new integration test replaces them with one that actually runs.TestResolutionContext* unit tests still pass unchanged.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
Fixtures
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>[codex] Fix remote Git stack imports @osterman (#2528)</summary>
//subdir imports by cloning the repository as a directory, resolving files, no-extension YAML variants, explicit globs, and recursive YAML directory imports.<original-uri>#<relative-file> keys and update stack processing/tests to consume those keys for imports and provenance.git clone to drop the repository name and target https://github.com/<owner>/.go test ./pkg/stack/imports ./pkg/downloader, go test ./tests -run RemoteStackImports, and go test ./internal/exec -run '^$'.custom-gcl lint binary.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(hooks): persist interactive stack selection and auth context for PostRunE hooks @aknysh (#2520)</summary>
-s).assume_role.terraform output subprocess has the correct credentials.Two bugs in the store hooks execution path caused hooks to silently fail in common scenarios:
Interactive stack selection lost for hooks (#2432): When a user runs atmos terraform apply component and selects the stack from the interactive prompt, the selected stack value was stored in the local info.Stack but never persisted to the Cobra flag set. PostRunE hooks re-parse args via ProcessCommandLineArgs, which reads from cmd.Flags().GetString("stack") — still empty. The hook silently skipped because it saw no stack. Fix: after the interactive prompt fills info.Stack, also set the Cobra flag via f.Value.Set(stack) so downstream consumers can read it.
Missing backend credentials for hook's terraform output (#2433): The store hook's terraform output subprocess needs credentials to access the S3 state backend, which often requires a chained role assumption (e.g., dev-role → tfstate-access-role). The main ExecuteTerraform sets up the full credential chain via setupTerraformAuth and prepareComponentExecution, but it takes info by value — the populated AuthContext and AuthManager don't flow back to the caller. The PostRunE hook creates a fresh info with nil auth fields, so the output subprocess fails with "No valid credential sources found". Fix: persist the auth context via SetLastAuthContext after prepareComponentExecution, and inject it into the hook's fresh info in runHooksWithOutput.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Chores
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): don't fall through to webflow when aws/user keyring read fails @osterman (#2470)</summary>
atmos auth login from silently falling back to browser-based OAuth2 webflow when an aws/user identity HAS configured credentials but the keyring read fails (corrupted entry, missing fields, deserialization error, permission denied).credentialsFromStore: ErrAwsUserNotConfigured (keyring miss — webflow remains an appropriate fallback) vs new ErrAwsUserKeyringReadFailed (keyring reachable but unreadable — webflow is now skipped so the real error surfaces).Debug to Info and include a hint pointing at atmos auth user configure and webflow_enabled: false, so users see why the browser opened.cmd/auth/user/configure.go: it was hardcoding store.Store(alias, creds, "") while the login resolver reads Retrieve(i.name, i.realm). With auth.realm or ATMOS_AUTH_REALM set, configure wrote one slot and login read another. Configure now computes the realm the same way pkg/auth/manager.go does.TestUserIdentity_Authenticate_KeyringReadFailureSkipsWebflow that primes the keyring with an incomplete entry and asserts the webflow callback server is never reached. Tighten TestUser_credentialsFromStore to assert the specific sentinel returned in each path.website/docs/cli/configuration/auth/identities.mdx: clarify that Atmos does not consult ambient AWS credentials (env vars, ~/.aws/credentials, instance profiles) for aws/user, and call out the new keyring-read-failure diagnostic.atmos auth user configure and "had access keys." The only working escape was credentials.webflow_enabled: false, which masked the real problem rather than fixing it."" on both sides) but is a real latent foot-gun for anyone using auth.realm for credential isolation — fixing it here closes the gap before another report arrives.4e32b532f, shipped in v1.215).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(aws/security): allow unlimited findings and record invocation in OCSF @osterman (#2517)</summary>
atmos aws security analyze --max-findings 0 (or any non-positive value) now fetches all matching findings from Security Hub / Inspector instead of silently capping at 500.log.Warn whenever pagination halts at the limit while NextToken != nil, so truncation is never silent again.unmapped["atmos.invocation"] — the OCSF analogue of SARIF's run.invocations[] (which Atmos already emits).--max-findings still defaults to 500); only the previously-broken 0 semantics now work, and the help text + docs document it.--format json/sarif/ocsf exports were silently incomplete and downstream tooling (SIEM ingestion, ticketing, dashboards) was missing data with no error or warning.--max-findings 0. The log.Warn covers the case where users forget — they'll see in the output that more findings exist.atmos aws security analyze for SIEM export pipelines.pkg/aws/security/sarif.go).unmapped extension).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
--max-findings now distinguishes "unset" from an explicit 0; 0 means unlimited and effective default remains 500.Bug Fixes
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(terraform-state): honor target component's env section for AWS credentials @arcaven (#2502)</summary>
!terraform.state's in-process S3 backend reader honor a whitelisted subset of the target component's env section — AWS_PROFILE, AWS_REGION, AWS_DEFAULT_REGION, AWS_CONFIG_FILE, AWS_SHARED_CREDENTIALS_FILE, AWS_ENDPOINT_URL_S3, AWS_ENDPOINT_URL_STS, AWS_USE_FIPS_ENDPOINT — matching the behavior !terraform.output already exhibits via its subprocess env overlay. AWS_STS_REGIONAL_ENDPOINTS is intentionally excluded because it's a SDK v1 toggle and a no-op in SDK v2.internal/terraform_backend.ExtractComponentEnvOverlay (with a nil-pointer guard) and internal/terraform_backend.ComponentEnvKeysAWS. Threads the overlay through getCachedS3Client and ReadTerraformBackendS3. The S3 client cache key now includes every whitelisted key that affects client behavior (profile, both regions, both endpoint URLs, FIPS, config + credentials files) so two components with distinct settings never alias each other.pkg/aws/identity with LoadConfigWithAuthAndEnv. LoadConfigWithAuth becomes a thin nil-overlay wrapper, so every existing call site behaves identically. Within the new variant:
AWS_USE_FIPS_ENDPOINT (truthy "true"/"1") is applied via config.WithUseFIPSEndpoint(aws.FIPSEndpointStateEnabled) — a global config setting.AWS_ENDPOINT_URL_STS is applied at sts.NewFromConfig in the assume-role flow — a per-service option in SDK v2.AWS_ENDPOINT_URL_S3 is applied at s3.NewFromConfig in getCachedS3Client for the same SDK v2 per-service-option reason.LoadConfigWithAuth ≡ LoadConfigWithAuthAndEnv(..., nil)), and the FIPS application (4 subcases including an authContext-suppresses-overlay assertion).functions/yaml/terraform.state.mdx ("Switching AWS credentials per component via the env section") and a cross-reference note in functions/yaml/terraform.output.mdx. Placed alongside the existing specialized sections (SSE-C, GCS, static); primary examples untouched.!terraform.output and !terraform.state are documented as interchangeable readers of the same state. They aren't, in setups that distribute Terraform state across AWS organizations.!terraform.output shells out to tofu/terraform. pkg/terraform/output.defaultEnvironmentSetup.SetupEnvironment overlays the target component's env section onto the subprocess environment as its final step, so env.AWS_PROFILE reaches the backend's credential resolution.!terraform.state reads in-process via internal/terraform_backend.ReadTerraformBackendS3 → getCachedS3Client → pkg/aws/identity.LoadConfigWithAuth → config.LoadDefaultConfig. When no Atmos AWSAuthContext is provided, the SDK uses the calling process's AWS_PROFILE. componentSections["env"] is in scope on the same map but no function in this chain reads it.!terraform.state against a stack in another org fails with AccessDenied on sts:AssumeRole (or silently reads the wrong account when buckets happen to share names), while the equivalent !terraform.output call works. The two functions are supposed to produce identical results; this is a correctness gap.AWSAuthContext) layers above the overlay and still wins outright. The env overlay path is intended for setups not yet on Atmos auth, which is the common case for the SweetOps community at the moment.ExtractComponentEnvOverlay call per backend). Calling that out in the issue and the docs so a contributor with those backends can pick it up.pkg/terraform/output/environment.go::SetupEnvironment (the final for k, v := range config.Env loop).pkg/aws/identity.LoadConfigWithAuth.internal/terraform_backend/terraform_backend_s3.go::ReadTerraformBackendS3 / getCachedS3Client.!terraform.state: #1920.!terraform.output (referenced from terraform_output_utils.go): #1921.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
<details> <summary>fix(toolchain): retry cosign on transient Sigstore Rekor failures @osterman (#2506)</summary>
cosign verify-blob exec in pkg/toolchain/verification/signature.go with bounded exponential backoff, retrying only on a narrow allowlist of transient Sigstore Rekor failures.errUtils.ErrSignatureRetryable sentinel next to the existing ErrDownloadRetryable, and a classifyCosignError helper that joins the sentinel into cosign errors when the combined output matches a Rekor-flake marker.runCosignWithRetry uses the same retry budget as the existing downloader (5 attempts, 1s → 10s exponential). Logs a WARN before each retry so CI logs surface the upstream-service context.cosign verify-blob sometimes fails not because of a real signature problem but because Sigstore's Rekor transparency-log API returns a short-window upstream error. The most common signature is:Error: searching log query: [POST /api/v1/log/entries/retrieve][400] searchLogQueryBadRequest
{"code":400,"message":"verifying signature: ecdsa: Invalid IEEE_P1363 encoded bytes"}
The same artifact verifies cleanly seconds later. Without retry, this turns a transient Sigstore outage into a hard tool not found install failure for every Atmos user pulling toolchain assets during the outage window. We hit this twice in 48h on the Windows mock jobs alone.searchLogQueryBadRequest, Invalid IEEE_P1363 encoded bytes, and Rekor's /api/v1/log/entries/retrieve endpoint paired with a 5xx status. Anything outside the allowlist (tampering, expired cert, identity mismatch, missing signature) surfaces immediately on the first attempt. Blanket-retrying signature verification would mask real tampering events and is the canonical anti-pattern; we do not do that here.pkg/toolchain/installer/download.go (sentinel + retry.WithPredicate + classifier) so the toolchain's resilience story stays consistent across download and verification.[mock-windows] demo-component-versions, Rekor returned 400 on a valid OpenTofu 1.9.1 release signature).[mock-windows] demo-vendoring in the same run.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(terraform): skip non-terraform and deleted components in atmos terraform plan/apply --affected @thejrose1984 (#2484)</summary>
Filters the affected component list in atmos terraform plan/apply --affected so the command no longer runs against helmfile components, packer components, or components deleted in HEAD.
Reported in #2361. getAffectedComponents returns every affected component regardless of type — helmfile, packer, and BASE-only deletions are all included — and ExecuteTerraformAffected was iterating that full list and calling ExecuteTerraform on each, producing output like:
INFO Executing command="atmos terraform apply example-terraform -s example"
INFO Executing command="atmos terraform apply example-helmfile -s example"
INFO Executing command="atmos terraform apply example-packer -s example"
Documentation (website/docs/cli/commands/terraform/usage.mdx) describes --affected as executing the command "on all the directly affected components," with the implicit constraint that those components belong to the atmos terraform subcommand. Helmfile and Packer subcommands would orchestrate their own components, and deleted components have no on-disk module so terraform plan/apply against them either errors or no-ops.
filterTerraformAffected keeps only items where ComponentType == cfg.TerraformComponentType and !Deleted. Called once in ExecuteTerraformAffected after getAffectedComponents, before addDependentsToAffected (which is expensive and shouldn't run for items we will drop).executeTerraformAffectedComponentInDepOrder: when --include-dependents is set, any dependent with ComponentType explicitly set to a non-terraform value is skipped during the recursion.atmos describe affected is unchanged. It still reports the full affected set (terraform + helmfile + packer + deleted) as the canonical introspection view. The filter is scoped to the execution path of atmos terraform <cmd> --affected.TestExecuteTerraformAffectedComponentInDepOrder table in internal/exec/terraform_utils_test.go: helmfile dependent skipped, packer dependent skipped, mixed-type dependents (only the terraform one runs).Bug fix only. The previous behavior produced incorrect commands that would fail mid-execution (terraform-apply against a helmfile component errors out). No public Go API or CLI surface changes. The most visible user-facing shift is an exit-code flip from non-zero to zero when a changeset contains only non-terraform or deleted components — which now correctly reports "No components affected" instead of erroring partway through.
Closes #2361.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>perf(exec/merge/utils): optimize describe affected for large-stack workloads (~50% local wall-clock, projected ~10× on 2-core CI) @aknysh (#2496)</summary>
Performance optimization arc for atmos describe affected on large-stack workloads.
Targets the inheritance + merge + YAML-parse hot paths that have grown since the
October 2025 perf instrumentation arc (PRs #1576/#1611/#1622/#1639) added the
auth, profiles, locals, and per-file position-tracking subsystems.
Twelve shipped phases (with two attempted-and-reverted optimizations documented in-code so they aren't re-tried without addressing the underlying contract violations):
cacheBaseComponentConfig switched from RWMutex + map to
sync.Map; deep-copy moved outside the critical section. Eliminates write-lock
contention that serialized every cache write across goroutines and padded
apparent CPU time with lock-wait.WalkAndDeferYAMLFunctions short-circuits when the subtree
contains no Atmos YAML functions (!template, !terraform.*, !store*,
!exec, !env). Returns the input map as-is instead of allocating a deep
copy at every recursion level.extractLocalsFromRawYAML cached via sync.Map keyed by
filePath + FNV-1a(yamlContent). The content-hash component prevents
test pollution when the same logical file path is reused with different
content. Also fixes a pre-existing data race in
extractAndAddLocalsToContext (shallow-clones the input context map
before file-scoped delete + assign).MergeWithDeferred 0-input fast path: when every layer is
empty, return an empty map immediately without walking or merging. The
1-input shortcut originally shipped alongside was REVERTED on
2026-05-24 after CI surfaced a regression — see "What was tried and
reverted" below.parsedYAMLCache switched to sync.Map; deep-copy of
yaml.Node + PositionMap moved outside the critical section. Same lock
contention pattern as Phase 2 applied to the YAML parser cache.processCustomTags split into outer + inner functions: the
hasCustomTags pre-check runs once at the entry point instead of
re-walking the subtree at every recursive call (O(N×depth) → O(N)).decodedYAMLCache stores the post-Decode + post-Intern
result of UnmarshalYAMLFromFileWithPositions[map[string]any]. Skips
yaml.Node.Decode + InternStringsInMap on every repeat call for the
same (file, content hash) pair.processYAMLNode split into outer + inner (Phase 7
pattern). Removes per-recursion perf.Track overhead from the recursive
YAML walker used by yq evaluation. Same pattern was tried for
WalkAndDeferYAMLFunctions and reverted: the inner-only walker had to
allocate unconditionally on every recursion, regressing function-sparse
subtrees more than the perf.Track savings recovered.processTerraformRemoteStateBackend extracts the
backend-type-specific map from each input first (via the new
extractBackendTypeMap helper), then merges just those two scoped maps.
Avoids deep-copying unrelated backend-type entries
(s3/gcs/azurerm/etc.) just to extract one key from the merged result.deepCopyBaseComponentConfigMaps guards every
m.DeepCopyMap call with len(src.Field) > 0. Skips function-call and
allocation overhead for the empty-field case that dominates real
workloads (most components leave several of the 10 fields empty).Clear*Cache wrappers, extractBackendTypeMap type-mismatch path, and
the Phase 12/13 empty-field contract are all now covered.Phase 1 was the auth credential-store fix that shipped separately as
PR #2471 (in v1.220.0-rc.1).
Merge. CI surfaced
TestSpaceliftStackProcessor losing 7 stacks (47→40) because
WalkAndDeferYAMLFunctions's Phase 3 short-circuit returned the input
map as-is, and the 1-input shortcut handed that shared reference back
to the caller. Downstream mergeComponentConfigurations mutated the
result while building the per-component output, which corrupted the
upstream cached BaseComponentSettings / GlobalSettings for sibling
components. Fix: keep only the 0-input fast path; let 1-input fall
through to the regular merge pipeline which deep-copies via
MergeWithOptions → DeepCopyMap. Regression test
(TestMergeWithDeferred_TrivialInputShortCircuits/mutating the result does not mutate the input) added to prevent re-attempts.fatal error: concurrent map iteration and map write at scale): share
settings/vars/env references from the locals cache, deep-copy only
locals. processTemplatesInSection returns the input map as-is
when the section has no {{, so the cached references ended up in
the shared template context and got mutated by sibling goroutines.
Reverted in b11f3cd9b; documented in-code.Both failures share the same lesson: any optimization that hands a
shared reference back to a caller has to be matched against the
end-to-end mutation surface, not just the immediate caller. The Merge
contract — "result is a fresh, caller-mutable map" — must be upheld.
A real-world large stack configuration (≈836 YAML files, ~195 final stacks
across three namespaces, ~9.3k component instances) reported atmos describe affected taking around 11 minutes in CI on a 2-core runner. Local
reproduction with --identity=false and fake AWS credentials took ~4
minutes and showed two clear cost centers in the heatmap:
--identity=false (≈3.5 min of cumulative CPU). Fixed in PR #2471.This PR addresses the second bucket. Confirmed impact on the same workload (mean of 3 local runs against current main, post-Phase-5-revert):
| Function | Pre-Phase-2 | Post-Phase-13 | Reduction |
|---|---|---|---|
cacheBaseComponentConfig |
5m50s | ~990ms | −99.7% |
mergeComponentConfigurations |
2m22s | ~95s | −33% |
MergeWithDeferred |
1m35s | ~51s | −46% |
WalkAndDeferYAMLFunctions |
1m26s | ~11s | −87% |
extractLocalsFromRawYAML |
13s | ~6s | −54% |
UnmarshalYAMLFromFileWithPositions |
18.7s | ~3.2s | −83% |
processCustomTags |
31.5s | ~7.5s | −76% |
getCachedBaseComponentConfig |
6.5s | ~360ms | −94% |
(mergeComponentConfigurations, MergeWithDeferred, and Merge
numbers reflect the post-Phase-5-revert state — the 1-input shortcut
that was originally counted toward Phase 5's headline numbers has been
removed for correctness. The remaining wins are still substantial.)
Local wall-clock on the same workload: 4.1s → ~2.2s (−47%) on a many-core Mac. The wall-clock floor on Mac is set by stack-level parallelism that already saturates; the cumulative CPU savings (several minutes summed across all hot functions) translate to materially more wall-clock improvement on 2-4 core CI runners where lock-wait padding, allocation pressure, and serialized work cannot be hidden behind cores.
Projection for a 2-core CI runner starting from the v1.219.0 baseline: ~11 minutes → ~60-105 seconds end-to-end (combining PR #2471 + this PR's shipped phases, including the ~15s GHA wall-clock cost of the Phase 5 1-input revert). Awaiting end-to-end CI validation on the reference workload.
Each phase is independently revertible — they live in separate
commits with self-contained tests. The two reverted optimizations
(Phase 5's 1-input shortcut, Phase 9's asymmetric clone) have their
failure modes documented in-code and in
docs/fixes/2026-05-23-describe-affected-component-inheritance-perf.md
so future passes don't re-attempt the same approach without addressing
the underlying contract violations.
docs/fixes/2026-05-23-describe-affected-component-inheritance-perf.md--identity=false gate) shipped separately in PR #2471
(v1.220.0-rc.1).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Documentation
Performance
Reliability
Tests / Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(terraform): wire --all to ExecuteTerraformAll for dependency-ordered execution @thejrose1984 (#2486)</summary>
Routes atmos terraform plan --all and apply --all through ExecuteTerraformAll so components actually execute in dependency (topological) order — as originally documented in the [PR #1516 changelog](https://github.com/cloudposse/atmos/blob/main/website/blog/20
Note truncated.
Nothing published for this version
…settings.depends_on map — driving users to the deprecated format and making the new format fail IDE/SchemaStore validation.
<details> <summary>docs(dependencies): document dependencies.components for describe affected @osterman (#2391)</summary>
atmos describe affected docs to lead with the new dependencies.components (kind: file|folder + path:) format for path-based dependencies; keep a short backward-compat note pointing to legacy settings.depends_on.describe affected page from settings.depends_on to dependencies.components.stacks/dependencies/components.mdx: the default is replace, not append; append requires opting in via settings.list_merge_strategy: append. Add an "Opt-in append" subsection and link to the settings reference.stacks/dependencies/components.mdx clarifying that namespace/tenant/environment/stage are not supported in the new format — use a templated stack: instead.stacks/dependencies/index.mdx so dependencies.tools and dependencies.components get equal billing in the intro, use cases, and component-dependencies subsection. Remove the duplicate Related Documentation entry and relabel the legacy link as "Legacy settings.depends_on". Add a link to atmos describe affected.website/static/schemas/... and the matching test fixture) so dependencies.components is allowed and validates component, stack, kind, path. Previously rejected by additionalProperties: false.dependencies.components page existed, but the highest-traffic surface (describe affected) and the JSON Schema still only documented/allowed the legacy settings.depends_on map — driving users to the deprecated format and making the new format fail IDE/SchemaStore validation.stacks/dependencies/components.mdx contradicted the announcement blog and the actual code (internal/exec/describe_dependents_test.go:1093–1154 confirms default = replace, append is opt-in via settings.list_merge_strategy). Users following the docs would have built a wrong mental model of inheritance.settings.depends_on (with namespace/tenant/environment/stage) to dependencies.components (with templated stack:) was only discoverable via the migration table at the bottom of the page; surfacing it as a callout reduces confusion for users porting existing configs.pkg/schema/dependencies.go — canonical field set for dependencies.componentsinternal/exec/describe_dependents_test.go:1093–1154 — confirms default merge is replace, append requires settings.list_merge_strategy: appendwebsite/blog/2026-03-14-dependencies-components.mdx — original announcementcd website && npm run build succeeds (no broken-link errors)🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): repair Docker build and Homebrew formula bump in release workflow @aknysh (#2525)</summary>
install_kustomize.sh script in the Dockerfile with a direct download from GitHub Releases, pinned to kustomize v5.8.1mislav/bump-homebrew-formula-action@v3 with dawidd6/action-homebrew-bump-formula@v7 (SHA-pinned) for the Homebrew formula bump steptar: ./kustomize_v*_linux_amd64.tar.gz: Cannot open) during Docker image buildsmislav/bump-homebrew-formula-action is broken because GitHub now returns HTTP 303 instead of 302 for tarball redirects, and the action hardcodes statusCode == 302 (mislav/bump-homebrew-formula-action#340, open/unfixed)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(hooks): persist interactive stack selection and auth context for PostRunE hooks @aknysh (#2520)</summary>
-s).assume_role.terraform output subprocess has the correct credentials.Two bugs in the store hooks execution path caused hooks to silently fail in common scenarios:
Interactive stack selection lost for hooks (#2432): When a user runs atmos terraform apply component and selects the stack from the interactive prompt, the selected stack value was stored in the local info.Stack but never persisted to the Cobra flag set. PostRunE hooks re-parse args via ProcessCommandLineArgs, which reads from cmd.Flags().GetString("stack") — still empty. The hook silently skipped because it saw no stack. Fix: after the interactive prompt fills info.Stack, also set the Cobra flag via f.Value.Set(stack) so downstream consumers can read it.
Missing backend credentials for hook's terraform output (#2433): The store hook's terraform output subprocess needs credentials to access the S3 state backend, which often requires a chained role assumption (e.g., dev-role → tfstate-access-role). The main ExecuteTerraform sets up the full credential chain via setupTerraformAuth and prepareComponentExecution, but it takes info by value — the populated AuthContext and AuthManager don't flow back to the caller. The PostRunE hook creates a fresh info with nil auth fields, so the output subprocess fails with "No valid credential sources found". Fix: persist the auth context via SetLastAuthContext after prepareComponentExecution, and inject it into the hook's fresh info in runHooksWithOutput.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Chores
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): don't fall through to webflow when aws/user keyring read fails @osterman (#2470)</summary>
atmos auth login from silently falling back to browser-based OAuth2 webflow when an aws/user identity HAS configured credentials but the keyring read fails (corrupted entry, missing fields, deserialization error, permission denied).credentialsFromStore: ErrAwsUserNotConfigured (keyring miss — webflow remains an appropriate fallback) vs new ErrAwsUserKeyringReadFailed (keyring reachable but unreadable — webflow is now skipped so the real error surfaces).Debug to Info and include a hint pointing at atmos auth user configure and webflow_enabled: false, so users see why the browser opened.cmd/auth/user/configure.go: it was hardcoding store.Store(alias, creds, "") while the login resolver reads Retrieve(i.name, i.realm). With auth.realm or ATMOS_AUTH_REALM set, configure wrote one slot and login read another. Configure now computes the realm the same way pkg/auth/manager.go does.TestUserIdentity_Authenticate_KeyringReadFailureSkipsWebflow that primes the keyring with an incomplete entry and asserts the webflow callback server is never reached. Tighten TestUser_credentialsFromStore to assert the specific sentinel returned in each path.website/docs/cli/configuration/auth/identities.mdx: clarify that Atmos does not consult ambient AWS credentials (env vars, ~/.aws/credentials, instance profiles) for aws/user, and call out the new keyring-read-failure diagnostic.atmos auth user configure and "had access keys." The only working escape was credentials.webflow_enabled: false, which masked the real problem rather than fixing it."" on both sides) but is a real latent foot-gun for anyone using auth.realm for credential isolation — fixing it here closes the gap before another report arrives.4e32b532f, shipped in v1.215).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
feat(components): add retry block for transient terraform errors @osterman
<details> <summary>feat(components): add retry block for transient terraform errors @osterman (#2431)</summary>
retry: block under components.terraform.<name> that wraps each terraform subprocess invocation (init, workspace select, workspace new, plan/apply/etc.) in an independent retry loop with configurable backoff.retry.conditions: — a list of regex patterns matched against captured stdout/stderr; only errors whose output matches at least one condition retry, everything else fails fast. Patterns may be wrapped in /.../ for readability.schema.RetryConfig with Conditions []string (backwards-compatible — the existing struct is also used by workflows / vendor / task retry configs).overrides.retry deep-merge on top.retry referenced from terraform, terraform_component_manifest, and overrides; ship a docs page, blog post, and roadmap milestone under the CI/CD initiative.pkg/retry/conditions.go (regex compile + match) and pkg/schema/retry_decode.go (mapstructure decoder with the duration hook) so logic stays out of internal/exec/.atmos terraform plan/apply runs in CI repeatedly fail with transient infrastructure errors that have nothing to do with the Terraform code — most commonly 502 Bad Gateway during provider downloads, but also connection reset, TLS handshake timeout, and state-backend timeouts.pkg/retry. This PR exposes the same robust primitive to components without duplicating logic.terraform plan failures (exit-code 2, schema errors, etc.) are never silently retried — the foot-gun of "retry everything" is avoided by requiring conditions: to opt in.wrap(exec), wrap(exec), wrap(exec)), not as one outer retry around the whole pipeline, so apply doesn't lose its budget to init./stacks/components/terraform/retrywebsite/blog/2026-05-18-terraform-component-retry.mdx (tag: feature)pkg/retry.WithPredicate and the existing WithStdoutCapture / WithStderrCapture shell options — no duplication<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
retry: block with regex-driven conditions, max attempts, backoff, delays, jitter; wraps init, workspace and main commands; inherited from abstract components and overridable; no retry occurs by default without conditions.Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(website): per-page raw .md routes + Copy Markdown button on atmos.tools @osterman (#2503)</summary>
.md routes to atmos.tools — every doc URL is mirrored at <url>.md with Content-Type: text/markdown.<link rel="alternate" type="text/markdown" href="<url>.md"> to each doc page's <head> so crawlers and LLM tooling can discover the alternate.website/plugins/docusaurus-plugin-llms-txt/src/mdx-normalize.mjs) with a per-component handler table covering <Intro>, <Tabs>/<TabItem>, <Terminal>, <File>, <Note>, <Step>, <dl><dt><dd>, marketing cards, and more. Unknown components unwrap to their children. 19 unit tests.llms-full.txt, replacing a lossy regex-strip that dropped JSX content wholesale — the LLM corpus file is now meaningfully richer.id:/slug: overrides were silently dropped from llms.txt / llms-full.txt because the resolver searched by filename. Switched to Docusaurus's .docusaurus/<plugin>/<id>/*.json cache for the authoritative permalink → source map. Pages processed went from 554 → 735.rel="alternate" Markdown link is a standard discovery pattern for agentic crawlers — no special-case scraping needed.llms-full.txt (tab content, flag tables, intros all silently dropped). The AST normalizer preserves structure correctly.id:/slug: override bug meant ~25% of CLI command pages were missing from the LLM corpus entirely.website/blog/2026-05-24-copy-markdown-button.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat: implement remote stack imports @osterman (#2037)</summary>
pkg/stack/imports package handles URL detection and remote downloadingstack_processor_utils.go to detect remote URLs and download them automaticallywebsite/blog/2026-01-29-remote-stack-imports.mdxexamples/remote-stack-imports/<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Chores
Tests
<details> <summary>feat(aws/security): add SARIF/OCSF exports and harden CI @osterman (#2483)</summary>
This PR adds machine-readable security export formats to atmos aws security analyze and includes the CI hardening needed to keep the branch green.
--format=sarif for SARIF 2.1.0 output compatible with GitHub code scanning, Azure DevOps, and SARIF viewers.--format=ocsf for OCSF 1.4.0 Detection Finding output for SIEM and security data lake ingestion.docs/prd/atmos-pro-security-findings-upload.md for later revival.actions/checkout usage from v4 to v6 across workflows and docs/examples; updates the SHA-pinned Atmos Pro checkout to v6.0.2.packages: read so CI jobs pulling from GHCR can authenticate with the workflow token.github.token explicitly.opentofu/setup-opentofu@v1 on Windows instead of installing OpenTofu through the Atmos toolchain path that was failing signature verification.se to sv, and adds HTTP retries so screengrab generation is less brittle.SARIF and OCSF let Atmos security findings flow directly into standard security workflows instead of requiring users to translate markdown/json output themselves. The CI changes address failures observed while validating this branch: checkout/auth instability, Windows OpenTofu setup failures, reviewdog token scope failures, and live wttr.in request failures in screengrab generation.
GITHUB_TOKEN=$(gh auth token) node .github/actions/verify-sha-pinning/test.mjsmake -C demo/screengrabs build-allterraform fmt -check examples/demo-stacks/components/terraform/myapp/main.tfpre-commit run check-yaml --files .github/workflows/test.yml examples/demo-stacks/stacks/deploy/dev.yaml examples/demo-stacks/component.yamlgit diff --check<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
Documentation
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(aws/security): allow unlimited findings and record invocation in OCSF @osterman (#2517)</summary>
atmos aws security analyze --max-findings 0 (or any non-positive value) now fetches all matching findings from Security Hub / Inspector instead of silently capping at 500.log.Warn whenever pagination halts at the limit while NextToken != nil, so truncation is never silent again.unmapped["atmos.invocation"] — the OCSF analogue of SARIF's run.invocations[] (which Atmos already emits).--max-findings still defaults to 500); only the previously-broken 0 semantics now work, and the help text + docs document it.--format json/sarif/ocsf exports were silently incomplete and downstream tooling (SIEM ingestion, ticketing, dashboards) was missing data with no error or warning.--max-findings 0. The log.Warn covers the case where users forget — they'll see in the output that more findings exist.atmos aws security analyze for SIEM export pipelines.pkg/aws/security/sarif.go).unmapped extension).🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
--max-findings now distinguishes "unset" from an explicit 0; 0 means unlimited and effective default remains 500.Bug Fixes
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(terraform-state): honor target component's env section for AWS credentials @arcaven (#2502)</summary>
!terraform.state's in-process S3 backend reader honor a whitelisted subset of the target component's env section — AWS_PROFILE, AWS_REGION, AWS_DEFAULT_REGION, AWS_CONFIG_FILE, AWS_SHARED_CREDENTIALS_FILE, AWS_ENDPOINT_URL_S3, AWS_ENDPOINT_URL_STS, AWS_USE_FIPS_ENDPOINT — matching the behavior !terraform.output already exhibits via its subprocess env overlay. AWS_STS_REGIONAL_ENDPOINTS is intentionally excluded because it's a SDK v1 toggle and a no-op in SDK v2.internal/terraform_backend.ExtractComponentEnvOverlay (with a nil-pointer guard) and internal/terraform_backend.ComponentEnvKeysAWS. Threads the overlay through getCachedS3Client and ReadTerraformBackendS3. The S3 client cache key now includes every whitelisted key that affects client behavior (profile, both regions, both endpoint URLs, FIPS, config + credentials files) so two components with distinct settings never alias each other.pkg/aws/identity with LoadConfigWithAuthAndEnv. LoadConfigWithAuth becomes a thin nil-overlay wrapper, so every existing call site behaves identically. Within the new variant:
AWS_USE_FIPS_ENDPOINT (truthy "true"/"1") is applied via config.WithUseFIPSEndpoint(aws.FIPSEndpointStateEnabled) — a global config setting.AWS_ENDPOINT_URL_STS is applied at sts.NewFromConfig in the assume-role flow — a per-service option in SDK v2.AWS_ENDPOINT_URL_S3 is applied at s3.NewFromConfig in getCachedS3Client for the same SDK v2 per-service-option reason.LoadConfigWithAuth ≡ LoadConfigWithAuthAndEnv(..., nil)), and the FIPS application (4 subcases including an authContext-suppresses-overlay assertion).functions/yaml/terraform.state.mdx ("Switching AWS credentials per component via the env section") and a cross-reference note in functions/yaml/terraform.output.mdx. Placed alongside the existing specialized sections (SSE-C, GCS, static); primary examples untouched.!terraform.output and !terraform.state are documented as interchangeable readers of the same state. They aren't, in setups that distribute Terraform state across AWS organizations.!terraform.output shells out to tofu/terraform. pkg/terraform/output.defaultEnvironmentSetup.SetupEnvironment overlays the target component's env section onto the subprocess environment as its final step, so env.AWS_PROFILE reaches the backend's credential resolution.!terraform.state reads in-process via internal/terraform_backend.ReadTerraformBackendS3 → getCachedS3Client → pkg/aws/identity.LoadConfigWithAuth → config.LoadDefaultConfig. When no Atmos AWSAuthContext is provided, the SDK uses the calling process's AWS_PROFILE. componentSections["env"] is in scope on the same map but no function in this chain reads it.!terraform.state against a stack in another org fails with AccessDenied on sts:AssumeRole (or silently reads the wrong account when buckets happen to share names), while the equivalent !terraform.output call works. The two functions are supposed to produce identical results; this is a correctness gap.AWSAuthContext) layers above the overlay and still wins outright. The env overlay path is intended for setups not yet on Atmos auth, which is the common case for the SweetOps community at the moment.ExtractComponentEnvOverlay call per backend). Calling that out in the issue and the docs so a contributor with those backends can pick it up.pkg/terraform/output/environment.go::SetupEnvironment (the final for k, v := range config.Env loop).pkg/aws/identity.LoadConfigWithAuth.internal/terraform_backend/terraform_backend_s3.go::ReadTerraformBackendS3 / getCachedS3Client.!terraform.state: #1920.!terraform.output (referenced from terraform_output_utils.go): #1921.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Parser: DependencyParser only reads the deprecated settings.depends_on. Should also read `dependencies.components` like describe_affected_components.g…
<details> <summary>feat(hooks): add hook kinds, scanner integrations, SARIF summaries, and skip controls @osterman (#2482)</summary>
kind discriminator to the hook system with built-in kinds for store, command, infracost, checkov, trivy, and kics.ATMOS_* runtime env vars, output-file/output-dir side channels, and configurable on_failure behavior.infracost parses JSON breakdown output into a markdown cost summary.checkov, trivy, and kics emit SARIF and share one parser/markdown renderer.helpUri, short descriptions, file/line locations, and empty-result handling.dependencies.tools are installed before hooks run, toolchain paths take precedence over operator PATH, and missing hook binaries fail before Terraform starts.dependencies.tools.kics can install from release tarballs.pkg/cacerts and wires Checkov to SSL_CERT_FILE / REQUESTS_CA_BUNDLE so PyInstaller-bundled Checkov can use the host CA bundle.--skip-hooks global flag and ATMOS_SKIP_HOOKS, supporting skip-all and comma-separated named-hook skipping.command: store hook configs as kind: store.infracost, checkov, trivy, kics, and custom kind: command hooks.store had first-class dispatch behavior.kind: command keeps the system open for arbitrary binaries.tfsec kind or hooks-tfsec example. Trivy is the maintained Aqua-backed scanner path; legacy tfsec users can still wire it with kind: command.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
<details> <summary>feat(ci): auto-detect log level from GitHub Actions debug mode @osterman (#2495)</summary>
Debug for the run.ci.enabled: true is set in atmos.yaml and the active CI provider reports debug mode is on. For GitHub Actions, that means ACTIONS_RUNNER_DEBUG=true or ACTIONS_STEP_DEBUG=true — exactly what the built-in "Re-run with debug logging" button sets.CI provider debug mode detected — using Debug log level for this run provider=github-actions from=Info.provider.DebugModeDetector { IsDebugMode() bool } in pkg/ci/internal/provider, plus a generic registry helper ci.DetectDebugMode() DebugModeInfo. The GHA provider implements the interface; cmd/root.go imports only pkg/ci and names no GHA-specific env vars.--logs-level, ATMOS_LOGS_LEVEL, and logs.level in atmos.yaml — the CI-side debug toggle is set at the repo/workflow level by the runner itself and is treated as the higher-priority signal (including over an explicit Trace or Off).docs/prd/native-ci/framework/debug-mode-promotion.md), a changelog blog post, a roadmap milestone under the Native CI initiative, and unit tests covering: the GHA IsDebugMode() env-var matrix, the generic DetectDebugMode() type-assertion path, and the cmd-side helper's gates and override semantics.ATMOS_LOGS_LEVEL=Debug somewhere in workflow YAML).cmd/ or pkg/ci needed.--logs-level / ATMOS_LOGS_LEVEL is intentional: the CI-side toggle is an explicit, repo-/workflow-level "make everything noisy" signal that should beat per-invocation flags in the same run.docs/prd/native-ci/framework/debug-mode-promotion.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
ci.enabled: true; an informational startup log notes the promotion and it overrides other log-level settings.<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): restore checks: write on lint job for reviewdog annotations @osterman (#2500)</summary>
permissions: block on the lint ([lint] <demo-folder>) job in .github/workflows/test.yml granting contents: read + checks: write so reviewdog/action-tflint@v1 can post inline tflint findings on PRs via the GitHub Checks API.Companion to #2499, which restored
security-events: writeon thedocker([lint] Dockerfile) job. Same root cause, second affected job.
permissions: block on test.yml to grant packages: read for ghcr.io OCI pulls. A workflow-level permissions: block replaces (not extends) the default GITHUB_TOKEN scope for every job in the file, which silently stripped the inherited checks: write that the lint job relied on.examples/<demo-folder>/components/terraform have stopped appearing as inline check annotations. The job itself still exits with the right code (fail_level: error controls that), but reviewers lost the per-line context. This restores that behavior..github/workflows/codeql.yml and the docker-job fix already landed in #2499.pull-requests: write: reviewdog's default github-pr-check reporter posts check runs (which need checks: write), not review comments. checks: write alone is sufficient.2437e13bf, "fix(vendor): recover OCI pulls on auth rejection and surface rich errors").fix(ci): restore security-events: write for Dockerfile lint SARIF upload).</details>
<details> <summary>fix(ci): restore security-events: write for Dockerfile lint SARIF upload @aknysh (#2499)</summary>
Restores security-events: write permission for the [lint] Dockerfile
job in .github/workflows/test.yml so its hadolint SARIF results can
be uploaded to GitHub Code Scanning.
permissions: block to the docker job:permissions:
contents: read # actions/checkout
security-events: write # github/codeql-action/upload-sarif
contents: read is re-listed because a job-level permissions: block
fully overrides the workflow-level set (rather than merging).PR #2487 (2437e13bf) added a top-level permissions: block to the
workflow to grant packages: read for ghcr.io pulls:
permissions:
contents: read
packages: read
In GitHub Actions, a workflow-level permissions: block replaces
(not extends) the default GITHUB_TOKEN scope for every job in the
file. That replacement inadvertently stripped the implicit
security-events: write that the [lint] Dockerfile job relied on to
upload hadolint SARIF results via github/codeql-action/upload-sarif@v4.
Every post-merge run on main has been failing the Upload SARIF
file step since #2487:
##[warning]This run of the CodeQL Action does not have permission to
access the CodeQL Action API endpoints. ... please ensure the workflow
has at least the 'security-events: read' permission.
##[error]Resource not accessible by integration -
https://docs.github.com/rest
Failing run for reference: https://github.com/cloudposse/atmos/actions/runs/26339160817/job/77562841194
Note: hadolint itself ran successfully in the failing run — the SARIF output contained zero findings. Only the upload step failed.
A job-level fix (this PR) is preferred over expanding the workflow-level permissions block, because it follows least-privilege: only the one job that actually needs to write security events gets the elevated scope.
github/codeql-action/upload-sarif permission requirement:
https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github#uploading-the-sarif-file-to-github<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(toolchain): retry cosign on transient Sigstore Rekor failures @osterman (#2506)</summary>
cosign verify-blob exec in pkg/toolchain/verification/signature.go with bounded exponential backoff, retrying only on a narrow allowlist of transient Sigstore Rekor failures.errUtils.ErrSignatureRetryable sentinel next to the existing ErrDownloadRetryable, and a classifyCosignError helper that joins the sentinel into cosign errors when the combined output matches a Rekor-flake marker.runCosignWithRetry uses the same retry budget as the existing downloader (5 attempts, 1s → 10s exponential). Logs a WARN before each retry so CI logs surface the upstream-service context.cosign verify-blob sometimes fails not because of a real signature problem but because Sigstore's Rekor transparency-log API returns a short-window upstream error. The most common signature is:Error: searching log query: [POST /api/v1/log/entries/retrieve][400] searchLogQueryBadRequest
{"code":400,"message":"verifying signature: ecdsa: Invalid IEEE_P1363 encoded bytes"}
The same artifact verifies cleanly seconds later. Without retry, this turns a transient Sigstore outage into a hard tool not found install failure for every Atmos user pulling toolchain assets during the outage window. We hit this twice in 48h on the Windows mock jobs alone.searchLogQueryBadRequest, Invalid IEEE_P1363 encoded bytes, and Rekor's /api/v1/log/entries/retrieve endpoint paired with a 5xx status. Anything outside the allowlist (tampering, expired cert, identity mismatch, missing signature) surfaces immediately on the first attempt. Blanket-retrying signature verification would mask real tampering events and is the canonical anti-pattern; we do not do that here.pkg/toolchain/installer/download.go (sentinel + retry.WithPredicate + classifier) so the toolchain's resilience story stays consistent across download and verification.[mock-windows] demo-component-versions, Rekor returned 400 on a valid OpenTofu 1.9.1 release signature).[mock-windows] demo-vendoring in the same run.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(terraform): skip non-terraform and deleted components in atmos terraform plan/apply --affected @thejrose1984 (#2484)</summary>
Filters the affected component list in atmos terraform plan/apply --affected so the command no longer runs against helmfile components, packer components, or components deleted in HEAD.
Reported in #2361. getAffectedComponents returns every affected component regardless of type — helmfile, packer, and BASE-only deletions are all included — and ExecuteTerraformAffected was iterating that full list and calling ExecuteTerraform on each, producing output like:
INFO Executing command="atmos terraform apply example-terraform -s example"
INFO Executing command="atmos terraform apply example-helmfile -s example"
INFO Executing command="atmos terraform apply example-packer -s example"
Documentation (website/docs/cli/commands/terraform/usage.mdx) describes --affected as executing the command "on all the directly affected components," with the implicit constraint that those components belong to the atmos terraform subcommand. Helmfile and Packer subcommands would orchestrate their own components, and deleted components have no on-disk module so terraform plan/apply against them either errors or no-ops.
filterTerraformAffected keeps only items where ComponentType == cfg.TerraformComponentType and !Deleted. Called once in ExecuteTerraformAffected after getAffectedComponents, before addDependentsToAffected (which is expensive and shouldn't run for items we will drop).executeTerraformAffectedComponentInDepOrder: when --include-dependents is set, any dependent with ComponentType explicitly set to a non-terraform value is skipped during the recursion.atmos describe affected is unchanged. It still reports the full affected set (terraform + helmfile + packer + deleted) as the canonical introspection view. The filter is scoped to the execution path of atmos terraform <cmd> --affected.TestExecuteTerraformAffectedComponentInDepOrder table in internal/exec/terraform_utils_test.go: helmfile dependent skipped, packer dependent skipped, mixed-type dependents (only the terraform one runs).Bug fix only. The previous behavior produced incorrect commands that would fail mid-execution (terraform-apply against a helmfile component errors out). No public Go API or CLI surface changes. The most visible user-facing shift is an exit-code flip from non-zero to zero when a changeset contains only non-terraform or deleted components — which now correctly reports "No components affected" instead of erroring partway through.
Closes #2361.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>perf(exec/merge/utils): optimize describe affected for large-stack workloads (~50% local wall-clock, projected ~10× on 2-core CI) @aknysh (#2496)</summary>
Performance optimization arc for atmos describe affected on large-stack workloads.
Targets the inheritance + merge + YAML-parse hot paths that have grown since the
October 2025 perf instrumentation arc (PRs #1576/#1611/#1622/#1639) added the
auth, profiles, locals, and per-file position-tracking subsystems.
Twelve shipped phases (with two attempted-and-reverted optimizations documented in-code so they aren't re-tried without addressing the underlying contract violations):
cacheBaseComponentConfig switched from RWMutex + map to
sync.Map; deep-copy moved outside the critical section. Eliminates write-lock
contention that serialized every cache write across goroutines and padded
apparent CPU time with lock-wait.WalkAndDeferYAMLFunctions short-circuits when the subtree
contains no Atmos YAML functions (!template, !terraform.*, !store*,
!exec, !env). Returns the input map as-is instead of allocating a deep
copy at every recursion level.extractLocalsFromRawYAML cached via sync.Map keyed by
filePath + FNV-1a(yamlContent). The content-hash component prevents
test pollution when the same logical file path is reused with different
content. Also fixes a pre-existing data race in
extractAndAddLocalsToContext (shallow-clones the input context map
before file-scoped delete + assign).MergeWithDeferred 0-input fast path: when every layer is
empty, return an empty map immediately without walking or merging. The
1-input shortcut originally shipped alongside was REVERTED on
2026-05-24 after CI surfaced a regression — see "What was tried and
reverted" below.parsedYAMLCache switched to sync.Map; deep-copy of
yaml.Node + PositionMap moved outside the critical section. Same lock
contention pattern as Phase 2 applied to the YAML parser cache.processCustomTags split into outer + inner functions: the
hasCustomTags pre-check runs once at the entry point instead of
re-walking the subtree at every recursive call (O(N×depth) → O(N)).decodedYAMLCache stores the post-Decode + post-Intern
result of UnmarshalYAMLFromFileWithPositions[map[string]any]. Skips
yaml.Node.Decode + InternStringsInMap on every repeat call for the
same (file, content hash) pair.processYAMLNode split into outer + inner (Phase 7
pattern). Removes per-recursion perf.Track overhead from the recursive
YAML walker used by yq evaluation. Same pattern was tried for
WalkAndDeferYAMLFunctions and reverted: the inner-only walker had to
allocate unconditionally on every recursion, regressing function-sparse
subtrees more than the perf.Track savings recovered.processTerraformRemoteStateBackend extracts the
backend-type-specific map from each input first (via the new
extractBackendTypeMap helper), then merges just those two scoped maps.
Avoids deep-copying unrelated backend-type entries
(s3/gcs/azurerm/etc.) just to extract one key from the merged result.deepCopyBaseComponentConfigMaps guards every
m.DeepCopyMap call with len(src.Field) > 0. Skips function-call and
allocation overhead for the empty-field case that dominates real
workloads (most components leave several of the 10 fields empty).Clear*Cache wrappers, extractBackendTypeMap type-mismatch path, and
the Phase 12/13 empty-field contract are all now covered.Phase 1 was the auth credential-store fix that shipped separately as
PR #2471 (in v1.220.0-rc.1).
Merge. CI surfaced
TestSpaceliftStackProcessor losing 7 stacks (47→40) because
WalkAndDeferYAMLFunctions's Phase 3 short-circuit returned the input
map as-is, and the 1-input shortcut handed that shared reference back
to the caller. Downstream mergeComponentConfigurations mutated the
result while building the per-component output, which corrupted the
upstream cached BaseComponentSettings / GlobalSettings for sibling
components. Fix: keep only the 0-input fast path; let 1-input fall
through to the regular merge pipeline which deep-copies via
MergeWithOptions → DeepCopyMap. Regression test
(TestMergeWithDeferred_TrivialInputShortCircuits/mutating the result does not mutate the input) added to prevent re-attempts.fatal error: concurrent map iteration and map write at scale): share
settings/vars/env references from the locals cache, deep-copy only
locals. processTemplatesInSection returns the input map as-is
when the section has no {{, so the cached references ended up in
the shared template context and got mutated by sibling goroutines.
Reverted in b11f3cd9b; documented in-code.Both failures share the same lesson: any optimization that hands a
shared reference back to a caller has to be matched against the
end-to-end mutation surface, not just the immediate caller. The Merge
contract — "result is a fresh, caller-mutable map" — must be upheld.
A real-world large stack configuration (≈836 YAML files, ~195 final stacks
across three namespaces, ~9.3k component instances) reported atmos describe affected taking around 11 minutes in CI on a 2-core runner. Local
reproduction with --identity=false and fake AWS credentials took ~4
minutes and showed two clear cost centers in the heatmap:
--identity=false (≈3.5 min of cumulative CPU). Fixed in PR #2471.This PR addresses the second bucket. Confirmed impact on the same workload (mean of 3 local runs against current main, post-Phase-5-revert):
| Function | Pre-Phase-2 | Post-Phase-13 | Reduction |
|---|---|---|---|
cacheBaseComponentConfig |
5m50s | ~990ms | −99.7% |
mergeComponentConfigurations |
2m22s | ~95s | −33% |
MergeWithDeferred |
1m35s | ~51s | −46% |
WalkAndDeferYAMLFunctions |
1m26s | ~11s | −87% |
extractLocalsFromRawYAML |
13s | ~6s | −54% |
UnmarshalYAMLFromFileWithPositions |
18.7s | ~3.2s | −83% |
processCustomTags |
31.5s | ~7.5s | −76% |
getCachedBaseComponentConfig |
6.5s | ~360ms | −94% |
(mergeComponentConfigurations, MergeWithDeferred, and Merge
numbers reflect the post-Phase-5-revert state — the 1-input shortcut
that was originally counted toward Phase 5's headline numbers has been
removed for correctness. The remaining wins are still substantial.)
Local wall-clock on the same workload: 4.1s → ~2.2s (−47%) on a many-core Mac. The wall-clock floor on Mac is set by stack-level parallelism that already saturates; the cumulative CPU savings (several minutes summed across all hot functions) translate to materially more wall-clock improvement on 2-4 core CI runners where lock-wait padding, allocation pressure, and serialized work cannot be hidden behind cores.
Projection for a 2-core CI runner starting from the v1.219.0 baseline: ~11 minutes → ~60-105 seconds end-to-end (combining PR #2471 + this PR's shipped phases, including the ~15s GHA wall-clock cost of the Phase 5 1-input revert). Awaiting end-to-end CI validation on the reference workload.
Each phase is independently revertible — they live in separate
commits with self-contained tests. The two reverted optimizations
(Phase 5's 1-input shortcut, Phase 9's asymmetric clone) have their
failure modes documented in-code and in
docs/fixes/2026-05-23-describe-affected-component-inheritance-perf.md
so future passes don't re-attempt the same approach without addressing
the underlying contract violations.
docs/fixes/2026-05-23-describe-affected-component-inheritance-perf.md--identity=false gate) shipped separately in PR #2471
(v1.220.0-rc.1).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Documentation
Performance
Reliability
Tests / Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(terraform): wire --all to ExecuteTerraformAll for dependency-ordered execution @thejrose1984 (#2486)</summary>
Routes atmos terraform plan --all and apply --all through ExecuteTerraformAll so components actually execute in dependency (topological) order — as originally documented in the PR #1516 changelog and the DAG concurrency PRD.
Until this change, the dispatcher in cmd/terraform/utils.go routed all multi-component flags (--all, --components, --query) through ExecuteTerraformQuery, which walks components via Go map iteration — randomized order, with settings.depends_on ignored entirely. ExecuteTerraformAll, the function that builds the dependency graph and runs TopologicalSort, was reachable only from unit tests.
Fixes #2485.
Users who configured settings.depends_on and ran atmos terraform apply --all were relying on a feature that didn't exist at the dispatch layer. Failures looked like Terraform errors (a component applied before its prereqs), not a missing-feature bug. The DAG concurrency PRD was authored on the assumption that this path already worked.
Dispatch
cmd/terraform/utils.go — info.All now routes to e.ExecuteTerraformAll(&info). --components / --query / bare -s stack continue to route to ExecuteTerraformQuery (no change).ExecuteTerraformAll parity with ExecuteTerraformQuery
internal/exec/terraform_all.go — ports createQueryAuthManager so YAML functions (e.g. !terraform.state) resolve credentials under --all. Mirrors the #2081 fix that already exists for --query.info.Stack == "" validation. The terraform-apply docs explicitly state --all without -s processes every stack, and that's the behavior users see today via ExecuteTerraformQuery. Keeping this PR non-breaking required matching that contract.ErrStackRequiredWithAllFlag from errors/errors.go.Filter scope
applyFiltersToGraph previously set IncludeDependencies: true, which would pull cross-stack prereqs into --all -s <stack>. Switched to false so the scope of --all -s <stack> is identical to today's behavior — components in the requested stack only, but now in topological order. A future opt-in flag can re-enable cross-stack execution.Dry-run UX
executeNodeCommand now emits Would <subcmd> <component> in <stack> (dry run) via ui.Successf, matching processTerraformComponent. Both multi-component paths produce the same user-facing dry-run output. (This also affects the --affected path, which had no integration tests asserting dry-run output — verified manually.)Tests
tests/test-cases/terraform-multi-component-flags.yaml asserts the partial topological order (vpc before eks/cluster, eks/karpenter before eks/karpenter-node-pool, eks/istio/base before eks/istio/istiod before eks/istio/test-app) using the existing terraform-apply-affected fixture and regex with (?s). The exact total order is an implementation detail of Kahn's-algorithm tie-breaking; this test only asserts the correctness invariant.internal/exec/terraform_all_test.go and terraform_all_simple_test.go — removed the "no stack specified" cases (the validation is gone) and updated TestApplyFiltersToGraph_* to match the new scope contract.| Scenario | Before | After |
|---|---|---|
apply --all -s dev, depends_on defined |
Random order (bug) | Topological order |
apply --all -s dev, no depends_on |
Random order | Deterministic order |
apply --all (no stack) |
All stacks, random order | All stacks, topological order |
apply --all -s dev with cross-stack depends_on |
Cross-stack components ignored | In-stack topological order; cross-stack still out of scope (opt-in TBD) |
destroy --all -s dev |
Random order | Reverse topological order |
--all with circular depends_on |
Silently random | Hard error with cycle path |
apply --components vpc -s dev |
Unchanged | Unchanged |
apply --query '...' -s dev |
Unchanged | Unchanged |
apply -s dev (no component, no flag) |
Unchanged | Unchanged |
--all with !terraform.state YAML function |
Worked (via #2081) | Works (auth manager ported) |
--all with per-component CI hooks |
Worked (via #2475/#2397) | Works (hook flows through executeNodeCommand) |
These are tracked in #2485 and intentionally out of scope for the dispatch fix:
DependencyParser only reads the deprecated settings.depends_on. Should also read dependencies.components like describe_affected_components.go already does.component + stack keys are recognized. namespace/tenant/environment/stage are documented but ignored.Warn in parseDependencyArray. Should be surfaced.--include-cross-stack-dependencies flag (or settings.terraform.dependencies.cross_stack) to re-enable the original IncludeDependencies: true behavior.go build ./...go vet ./internal/exec/... ./cmd/terraform/... ./errors/...go test ./internal/exec/ ./pkg/dependency/... ./cmd/terraform/... ./errors/... ./pkg/ui/... -short — all greengo test ./tests -run 'TestCLICommands/terraform_plan_--all|TestCLICommands/terraform_plan_--query|TestCLICommands/terraform_plan_--components' -count=1 — all greengo test ./tests -run 'TestCLICommands/terraform_plan_--all_executes_in_dependency_order' -count=1 — green; output confirms vpc → eks/cluster → eks/external-dns → eks/istio/base → eks/karpenter → eks/istio/istiod → eks/karpenter-node-pool → eks/istio/test-appmake lint)dependencies.components (new format) once parser is extended in a follow-updocs/prd/dag-concurrent-execution.md🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
terraform plan --all and apply --all run components in dependency (topological) order; destroy --all runs in reverse. --all may be used without a stack; --all -s <stack> scopes to that stack without pulling cross‑stack prerequisites. Per‑component hooks and auth-aware YAML resolution are active during --all runs; dry‑run shows clear per‑component success messages.Tests
--all ordering, scoping/filtering, auth wiring, dry‑run flows, and per‑component hook wiring.Documentation
--all behavior, caveats, and follow-ups.<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(vendor): recover OCI pulls on auth rejection and surface rich errors @osterman (#2487)</summary>
oci://ghcr.io/...) now auto-recovers when configured credentials are rejected (401 / 403 / DENIED) by retrying once with anonymous authentication.WARN OCI auth rejected, succeeded with anonymous fallback and proceeds.errUtils.Build(errUtils.ErrPullImage) — preserves the original cause and attaches structured context (image, registry, auth_attempted, status) plus three self-contained remediation hints (Actions packages: read, ATMOS_GITHUB_USERNAME override, stale ~/.docker/config.json).Debug → Info and the "GHCR token without username" branch from Debug → Warn so CI logs reveal misconfiguration without --debug.ghcr.io (e.g. ghcr.io/cloudposse/atmos/tests/fixtures/components/terraform/mock:v0) failed hard on Windows CI runners whose GITHUB_TOKEN lacked packages: read scope, because pullImage used the rejecting credentials unconditionally instead of falling back to anonymous.DENIED: denied with no auth source, no HTTP status, and no actionable hint — the vendor reporter collapsed it into an opaque tally, making the root cause untraceable.packages: read in .github/workflows/test.yml — already landed; this is Part B, the code change so future users, different workflows, and private registries get a clean diagnosis and an automatic recovery for public images.pkg/provisioner/source/source.go:88-97.errUtils.ErrPullImage sentinel — no new sentinel introduced.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(terraform): preserve explicit identity and auth context for local runs @shirkevich (#2348)</summary>
Local commands could still fall back to the default CI identity (terraform-ci / gcp-wif) even when the user explicitly selected a local identity such as terraform / gcp-adc.
This showed up in several related paths:
atmos terraform apply ... --identity terraform and -i terraform could lose the explicit identity during Terraform argument reconstruction and then authenticate with the default identity.terraform-ci WIF authentication errors even when the command later succeeded with the intended local identity.atmos terraform output ... --format json -i terraform bypassed the normal Terraform auth setup and called formatted output resolution without the active AuthManager / AuthContext.!terraform.state evaluations could receive stack info without the active auth manager, so nested state reads could still resolve backend credentials from the default identity instead of the explicit command identity.atmos ansible playbook ... --identity terraform did not propagate the selected identity into stack processing before YAML functions ran, so Ansible-driven components using !terraform.state could still try the default Terraform CI WIF identity.--identity / -i values through both Cobra/flag-registry parsing and the legacy raw-arg parsing path.--identity=, -i=, and --identity=false.terraform-ci preflight auth noise.terraform output and passes both AuthContext and AuthManager into output resolution.AuthManager from ProcessComponentConfig into ConfigAndStacksInfo, allowing !terraform.state to inherit the selected identity context.--identity / ATMOS_IDENTITY while deliberately leaving Ansible's -i shorthand reserved for inventory.!terraform.state can use the requested identity.rtk proxy go build -o build/atmos .rtk go test ./cmd/ansible ./pkg/component/ansible ./pkg/flags ./internal/exec ./pkg/hooks -run 'TestAnsible|TestBuildConfigAndStacksInfo|TestGetLongIdentityFromArgs|TestProcessStacksWithAuth|TestParseGlobalFlags|TestSetupTerraformAuth|TestProcessComponentConfig_PropagatesAuthManager|TestProcessComponentConfig_AuthManagerGuardBranches|TestProcessCommandLineArgs_EmptyIdentityFlagIsExplicitSelect|TestProcessCommandLineArgs_TerraformIdentityFlag_Issue2392|TestProcessArgsAndFlags_IdentityFlag|TestRunCIHooks_LocalRunSkipsExperimentalGate|TestRunCIHooks_ForwardsErrorAndExitCode|TestRunCIHooks_NilAtmosConfig|TestRunCIHooks_ExperimentalDisableReturnsError'--identity terraform.-i terraform --format json.identity "terraform" / provider=gcp-adc; remaining OAuth access was environment/network dependent, not a fallback to terraform-ci.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
-i shorthand for --identity (supports -i value, -i=value, and explicit-empty -i= to trigger interactive selection).Improvements
Bug Fixes
-lock=false) is not mis-consumed as an identity value.Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
<details> <summary>fix(ci): fire CI hooks per-component in deploy --all mode @thejrose1984 (#2478)</summary>
atmos terraform deploy --all (and --query, --components, stack-without-component) producing only a single CI summary entry for the last component instead of one entry per componentrunCIHooksForDeployComponent as the per-component hook for the deploy subcommand so $GITHUB_STEP_SUMMARY receives one entry per component with the correct component/stack contextwasMultiComponentExecution reset, error-defer guard, and PostRunE guard in deploy.go — the same three-site pattern applied to plan in #2430 and apply in #2475In multi-component mode, terraformRunWithOptions routes to ExecuteTerraformQuery and sets wasMultiComponentExecution = true, but deploy.go had no guard on its PostRunE or error-path defer. This caused:
PostRunE to fire once after all components completed, calling RunCIHooks with an empty output buffer and the last component's info.Component/info.Stack--all failed mid-walk (per-component hook already ran for the failed component)Closes #2476 Related: #2397 (plan fix), #2475 (apply fix)
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>[codex] Fix verifier auto-install and cosign bundles @osterman (#2481)</summary>
latest.opts with downloaded sidecars like --bundle so Trivy checksum signature verification works with Aqua metadata.v... tags and the bootstrap path could construct invalid release URLs.cosign verify-blob command.go test ./pkg/toolchain/installer ./pkg/toolchain/registry/aqua ./pkg/toolchain/verification, go test ./pkg/toolchain, pre-commit hooks, and a live go run . toolchain install aquasecurity/trivy@v0.70.0.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix(stacks): honour component-level list_merge_strategy in settings @thejrose1984
<details> <summary>fix(stacks): honour component-level list_merge_strategy in settings @thejrose1984 (#2480)</summary>
settings.list_merge_strategy set at the component level being silently ignored during stack processingeffectiveAtmosConfig() helper that scans the component's settings layers (GlobalSettings → BaseComponentSettings → ComponentSettings → ComponentOverridesSettings) before any merge and returns a shallow config copy with the winning strategymergeComponentConfigurations now uses this resolved config for all m.Merge / m.MergeWithDeferred / m.ApplyDeferredMerges calls — covering vars, settings, env, auth, providers, hooks, generate, dependencies, locals, source, and provisionmergeComponentConfigurations passed the global atmosConfig to every merge call. pkg/merge reads atmosConfig.Settings.ListMergeStrategy on every call. The component's settings.list_merge_strategy lived inside the data being merged, not the config doing the merging — so it was always ignored. The value appeared correctly in atmos describe component output (giving false confidence), but the actual list merging behavior was always governed by the global atmos.yaml setting or ATMOS_SETTINGS_LIST_MERGE_STRATEGY env var.
Closes #2396
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): fire CI hooks per-component in apply --all mode (#2475) @thejrose1984 (#2477)</summary> Extends the per-component CI hook pattern from PR #2430 (plan --all) to apply --all, so each component produces its own CI summary entry instead of a single misattributed entry for the last component.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): honor --identity=false in describe affected and dependents @osterman (#2471)</summary>
--identity=false (and aliases off/0/no) in atmos describe affected so per-component auth resolution is skipped, not just the top-level AuthManager creation.DescribeAffectedCmdArgs.AuthDisabled / DescribeDependentsArgs.AuthDisabled flag from the cmd layer through executeDescribeAffectedWith{TargetRepoPath,TargetRefClone,TargetRefCheckout}, executeDescribeAffected, addDependentsToAffected, and ExecuteDescribeDependents, routing inner stack resolution through ExecuteDescribeStacksWithAuthDisabled.terraform_affected.go, terraform_affected_graph.go, pkg/list/list_affected.go, pkg/ai/tools/atmos/describe_affected.go, and atlantis_generate_repo_config.go so every caller of the public helpers passes the signal.pkg/list/list_affected.go::executeAffectedLogic into three per-mode helpers to stay under the 60-line function-length limit after the extra parameter.describe affected --upload --process-functions=false --identity=false run in cloudposse/infra-live CI (failing run) and still got STS AssumeRoleWithWebIdentity 403 AccessDenied for component tfstate-plat.--identity=false → __DISABLED__ at the parser layer and made CreateAuthManagerFromIdentity* short-circuit to nil, but it only wired the disabled signal all the way down through list instances. In describe affected, the top-level AuthManager correctly became nil, but a nil AuthManager was indistinguishable from "no identity specified" downstream. With --process-templates=true (the default), shouldResolvePerComponentAuth(processTemplates, processYamlFunctions) still returned true, so the per-component resolver called createComponentAuthManager, which built a fresh AuthManager from atmosConfig.Auth and tried the assume-role call the user thought they had disabled.--identity=false actually mean "no auth, anywhere" in describe affected, matching the contract that already works for list instances.Tests:
cmd/describe_affected_test.go::TestDescribeAffectedSetsAuthDisabled covers false/off/0/no env-var spellings and asserts AuthDisabled=true and AuthManager=nil.internal/exec/describe_affected_authdisabled_test.go verifies Execute() forwards AuthDisabled to all three helper paths and to addDependentsToAffected.internal/exec/describe_stacks_component_processor_auth_test.go adds the exact (processTemplates=true, processYamlFunctions=false, authDisabled=true) regression case from the infra-live CI failure to the existing table.fix(auth): normalize --identity=false to disable authentication) which only wired the disabled signal through list instances.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
describe affected and describe dependents now explicitly record when authentication is disabled (e.g., --identity=false, off, 0, no), ensuring downstream discovery and dependency resolution skip per-component auth and avoid unintended auth attempts.Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(auth): nil-check process-cached credentials for standalone ambient identity @aknysh (#2479)</summary>
SIGSEGV triggered the second time a standalone generic ambient identity (kind: ambient) is authenticated in the same process. The first authentication succeeded and silently cached nil credentials in the process-level credential cache; the next lookup invoked isCredentialValid("process-cache", nil), which dereferenced a nil types.ICredentials interface in GetExpiration().atmos auth login / atmos auth whoami (one authentication per process) but fatal in commands that resolve per-component auth many times — most notably atmos describe affected --upload, where internal/exec/describe_stacks_component_processor.processComponentEntry walks every component and calls resolveComponentAuthManager → createComponentAuthManager → Authenticate → authenticateChain per component.pkg/auth/manager_chain.go)authenticateChain — don't cache nil credentials.
if creds != nil {
processCredentialCache.Store(cacheKey, &processCachedCreds{
credentials: creds,
})
}
The generic ambient kind is a cloud-agnostic passthrough whose Authenticate() returns (nil, nil) by design — credentials are resolved by the cloud SDK at subprocess runtime, not by Atmos. Storing nil violates the cache invariant that every entry is a usable credential object. Skipping costs nothing because ambient re-authentication is itself a no-op.
isCredentialValid — short-circuit on nil input.
if cachedCreds == nil {
log.Debug("Cached credentials are nil; treating as invalid", logKeyIdentity, identityName)
return false, nil
}
Defense-in-depth mirror of the same nil-check pattern adopted by buildWhoamiInfo in the predecessor 2026-04-17 ambient fix. If any future caller stores nil in the cache (or another path passes nil into the validator), the worst case is a redundant re-authentication, not a panic.
Either guard alone closes the panic; both together make the contract explicit at both the read and write sites.
pkg/auth/manager_chain_ambient_test.go)TestManager_isCredentialValid_NilCreds — direct unit reproducer for the panic site. Before the fix this test panicked at manager_chain.go:164 with runtime error: invalid memory address or nil pointer dereference while calling cachedCreds.GetExpiration(). Asserts (false, nil) on nil credentials.TestManager_Authenticate_AmbientStandalone_RepeatedCallsNoPanic — end-to-end via real NewAuthManager + two back-to-back Authenticate() calls on a standalone kind: ambient identity. Before the fix the second call panicked on the process-cache hit. Asserts both calls return cleanly with WhoamiInfo.Credentials == nil.TestAuthenticateChain_AmbientStandalone_DoesNotCacheNil — locks in the authenticateChain-side fix by direct cache inspection: the cache key must be absent after a standalone ambient authentication. Prevents a regression where caching nil silently returns.All three new tests pass alongside the existing ambient regression tests (TestManager_buildWhoamiInfo_NilCredentials, TestManager_Authenticate_Ambient_Standalone) and the existing TestProcessCredentialCache_* suite.
Both patched functions remain at 100% statement coverage; both branches of each new guard are exercised:
| Function | File:Line | Coverage |
|---|---|---|
authenticateChain |
pkg/auth/manager_chain.go:51 |
100.0% |
isCredentialValid |
pkg/auth/manager_chain.go:173 |
100.0% |
isCredentialValid nil-true branch: TestManager_isCredentialValid_NilCreds. Nil-false branch: existing TestProcessCredentialCache_* tests.authenticateChain skip-cache branch: the two ambient tests above. Cache-write branch: existing TestProcessCredentialCache_AvoidsDuplicateAuth and friends.go test ./pkg/auth/... -count=1 — all 28 subpackages green.go vet ./pkg/auth/... — clean.go build ./... — succeeds.(nil, nil) return from the generic ambient kind is the documented contract (docs/prd/ambient-identity.md) — credentials are resolved by the cloud SDK at subprocess runtime, not by Atmos. The cache code on the other side of that boundary failed to honor the contract, and a recent change that made per-component auth resolver failures fatal turned this latent panic into a hard command termination.buildWhoamiInfo path but did not touch the process credential cache path in authenticateChain / isCredentialValid. That cache is dormant during single-authentication commands like atmos auth login / atmos auth whoami (where #2334's reproducer lived) but hot during multi-component flows like atmos describe affected, so the bug only surfaced after both #2334 shipped and per-component auth resolution became fatal. This PR extends the same nil-credential contract to the credential-cache layer.kind: ambient identity who exercises atmos describe affected --upload (the canonical Atmos Pro flow) hits a hard crash on every run, with no workaround short of avoiding the identity kind entirely — which defeats the reason the kind exists.docs/fixes/2026-05-21-ambient-identity-process-cache-panic.md — fix write-up: root cause, code path, two-layer fix, test matrix, coverage notes, and the interaction with the predecessor #2334 fix that made this surface now.docs/fixes/2026-04-17-ambient-identity-nil-credentials.md — predecessor fix. Same (nil, nil) ambient contract, different layer (buildWhoamiInfo). This PR extends the same defense to the process credential cache.docs/prd/ambient-identity.md — feature PRD. Specifies that ambient.Authenticate() returns (nil, nil) and ambient identities do not store credentials.pkg/auth/identities/ambient/ambient.go:66-71 — the intentional return nil, nil in ambientIdentity.Authenticate().pkg/auth/identities/ambient/ambient.go:144-162 — AuthenticateStandaloneAmbient documents and propagates the nil-credentials contract.pkg/auth/identities/aws/ambient.go:Authenticate — AWS-specific counterpart that returns real *AWSCredentials and therefore never triggers this bug.internal/exec/describe_stacks_component_processor.go:150-174 — per-component auth resolver whose recent change made this latent panic fatal in the atmos describe affected --upload flow.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
Add toolchain package verification @osterman
<details> <summary>Add toolchain package verification @osterman (#2415)</summary>
pkg/toolchain/verification for Aqua-compatible checksum, signature, and attestation verification before tool extraction.go test ./pkg/toolchain/installer ./pkg/toolchain/... ./cmd/toolchain/...scripts/run-custom-golangci-lint.sh<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Move production crawler reindexing into a separate algolia environment job after website deploy, remove the deprecated preview scraper reindex path, a…
<details> <summary>Improve Atmos Algolia search ranking @osterman (#2406)</summary>
atmos.tools with URL taxonomy, canonical URL handling, definition-term weighting, and manual pageRank ranking.website/algolia.Algolia GitHub Actions workflow so PRs validate without secrets and only merges to main deploy crawler config/settings through the algolia environment.algolia environment job after website deploy, remove the deprecated preview scraper reindex path, and refresh Algolia indexing docs.atmos auth search results so command/user-intent docs outrank configuration reference definitions.algolia GitHub environment instead of the production website deployment environment.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
New Tools
Tests
Chores
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(claude): add pull-request skill for labeling + changelog + roadmap workflow @osterman (#2424)</summary>
Adds a new pull-request skill at .claude/skills/pull-request/SKILL.md that future agents (and humans) invoke via /pull-request before opening or updating any PR. The skill encodes the three policies we keep getting burned by:
PR Semver Labels CI check.minor / major PRs require a blog post AND a roadmap update. The Check for changelog and roadmap updates workflow gates merging on both.featured[] in the roadmap is curated, max 6 items. Never auto-promote a shipped milestone — only the user decides.no-release / patch / minor / major, with the explicit "would a user see ANY change?" framing to default plumbing PRs to no-release instead of inflating them to minor.minor because they're part of a larger feature; labeling default flips as patch because "it's just a default."gh pr edit <num> --add-label <label> immediately after opening, not after CI complains.tags.yml, authors from authors.yml.roadmap agent, do NOT touch featured[], milestone schema with pr + changelog fields.I just opened a stack of 6 foundation PRs (#2417–#2423) and shipped them all unlabeled. CI failed on all of them. Backfilling labels worked but the underlying problem — there was nothing telling me (or any future agent) how to decide the label up front — is what this skill fixes.
The skill is also written to be self-contained so an agent invoked cold (no prior context) can still apply it correctly. CLAUDE.md now points to the skill from the existing Pull Requests section.
.github/workflows/changelog-check.yml.github/workflows/feature-release.yml.claude/agents/roadmap.md (this skill delegates to it for roadmap edits)website/blog/tags.ymlwebsite/blog/authors.yml<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(list): add --skip flag; fix --stack/--filter/--query on list instances @osterman (#2413)</summary>
--skip across every atmos list subcommand. instances, components, metadata, sources, and stacks now accept --skip <yaml-function> (repeatable, e.g. --skip terraform.state --skip terraform.output). Mirrors the surface already exposed by describe affected | component | stacks. Bound to ATMOS_SKIP; the existing ATMOS_AFFECTED_SKIP continues to work on list affected as a back-compat alias. Threads through ExecuteDescribeStacks — which already accepted skip but was being passed nil at every list callsite.--stack, --filter, and --query on atmos list instances now work. Three documented flags were previously silent: --stack was ignored (every instance returned), --filter was a TODO stub, and --query was read into options and dropped. --stack now uses path.Match glob semantics, --filter evaluates a YQ predicate per row, and --query projects each row via YQ (scalars land in a value column, maps flatten to row keys). Closes a latent ENV-precedence gap so ATMOS_LIST_FORMAT and ATMOS_UPLOAD are honored via viper.--skip (with a regression test for the literal list instances --upload --skip terraform.state failure). Unit + integration tests for the stack/filter/query work. New pkg/list/filter/yq.go (YQPredicateFilter, YQProjector, isTruthy) with full coverage.--skip documented on all five list pages; two release-blog entries; one roadmap milestone under the Discoverability initiative.--skip: atmos list instances --upload --skip terraform.state errored with unknown flag. --process-functions=false is not a substitute because it also disables !template, which Atmos Pro uploads need so settings.pro.enabled evaluates to a real boolean instead of a literal string.--stack/--filter/--query: the docs promised filtering on list instances and the implementation didn't honor it. Users hit silent wrong-result behavior, not an error.list files; bundling avoids merge churn and keeps the test+docs surface coherent.--skip rollout: #2363 (--process-templates / --process-functions rollout across list)--skip (describe family): #1006<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Enhancements
Bug Fixes
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(mcp): example + blog for MCP-for-AI-coding-assistants, plus fixes from review @aknysh (#2425)</summary>
examples/mcp-for-ai-coding-assistants/ showing how to use Atmos as the configuration / auth / toolchain layer for MCP servers consumed by Claude Code, OpenAI Codex CLI, and Google Gemini CLI.
atmos.yaml defines 9 MCP servers — the embedded atmos MCP server + the full AWS suite (aws-docs, aws-knowledge, aws-pricing, aws-billing, aws-iam, aws-cloudtrail, aws-security, aws-api) — plus the HTTP-transport Atmos Pro MCP server registered alongside.website/blog/2026-05-16-mcp-for-ai-coding-assistants.mdx walking through the problem (three config formats, three auth flows, three toolchain stories), the solution (one atmos.yaml), and per-CLI wiring instructions for all three CLIs.Detailed in docs/fixes/2026-05-15-mcp-review-fixes.md. Nine issues found while reviewing `pkg/mcp/` and `cmd/mcp/`:
Also incidentally regenerated `pkg/telemetry/mock/mock_posthog_client.go` because `posthog-go` added `EvaluateFlags` and `golangci-lint` was blocking on it — unrelated to MCP, but had to be addressed to land the rest.
Per-issue regression tests landed alongside each fix. After the review-fix sweep we also added a focused coverage push for the lowest-coverage MCP paths:
Highlights:
Anyone using Claude Code, OpenAI Codex CLI, or Google Gemini CLI with the awslabs/mcp suite hits the same friction: three config formats (`.mcp.json` vs `config.toml` vs `settings.json`), three credential stories (`aws configure`, `AWS_PROFILE` juggling, role-ARN copy-paste), and three toolchain stories (where `uvx` lives, which Python it picks up). Each is solvable individually; doing all three for three CLIs is annoying.
Atmos already has the primitives — `atmos.yaml` for centralized config, Atmos Auth for SSO/role assumption with per-server identity routing, the Atmos toolchain for binary pinning, and the embedded `atmos` MCP server for project introspection. `atmos mcp export` ties them together into a single `.mcp.json` every CLI can consume.
The example makes that workflow concrete; the blog post tells the story to drive adoption.
The MCP implementation shipped 6 phases of work (per the PRD at `docs/prd/atmos-mcp-integrations.md`) and the architecture is sound, but a review surfaced 9 quality / correctness issues — most notably the `atmos mcp export` path silently dropping toolchain PATH (P1) and the MCP server registering a curated subset of AI tools that drifted from the docs (P1). These are the kinds of issues that quietly degrade the user experience without triggering loud failures, so fixing them with regression tests prevents future drift.
The coverage boost specifically targets the paths the fix doc touched, so the regression tests aren't just present but exercised by the coverage gate.
examples/mcp-for-ai-coding-assistants/website/blog/2026-05-16-mcp-for-ai-coding-assistants.mdxdocs/fixes/2026-05-15-mcp-review-fixes.mddocs/prd/atmos-mcp-integrations.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes / Improvements
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): fire CI hooks per-component in --all / --query plan mode (#2… @thejrose1984 (#2430)</summary>
atmos terraform plan --all (and --query, --components, stack-without-component) producing only a single CI summary entry for the last component instead of one entry per componentPerComponentHook callback to ConfigAndStacksInfo that fires after each component executes in multi-component mode, with that component's captured stdout+stderr and exit coderunCIHooksForPlanComponent as the per-component hook for the plan subcommand so $GITHUB_STEP_SUMMARY receives one entry per component with the correct component/stack contextwasMultiComponentExecution sentinel so the global PostRunE CI hook call is suppressed when per-component hooks have already fired, preventing double-firingterraformRunWithOptions routes to ExecuteTerraformQuery and discards the shellOpts capture buffers passed by plan.go RunE, so capturedPlanOutput was always emptyPostRunE fired once after all components completed, calling RunCIHooks with an empty output buffer and the last component's info.Component/info.Stack, misattributing the summaryCloses #2397
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(validate): respect stacks.excluded_paths during validation @kapats (#2389)</summary>
The ValidateStacks function scans all YAML files in the stacks directory using the pattern **/*, but only excluded template files (.tmpl). It did not respect the user-configured stacks.excluded_paths from atmos.yaml.
This caused non-Atmos YAML files (e.g., Helm Chart.yaml with a dependencies: key) placed inside the stacks directory to be incorrectly parsed as Atmos stack manifests, resulting in errors like: "invalid dependencies section in file '...Chart'"
Fix: append atmosConfig.Stacks.ExcludedPaths to the validation exclusion list so users can exclude directories containing non-Atmos YAML files (e.g., **/argocd/**).
<!--
<!--
<!--
closes #123, if this PR closes a GitHub issue #123
--><!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(toolchain): resolve aqua packages with binary subdir (e.g. openbao) @osterman (#2414)</summary>
pkgs/<owner>/<repo>/<binary>/registry.yaml — i.e. packages whose binary name differs from the repo name, like OpenBao (openbao/openbao/bao).GetTool now consults the cached aqua-registry index first and fetches the per-package YAML using the full registry path it supplies, instead of relying on a hardcoded list of known 3-segment prefixes.registryBaseURL + WithRegistryBaseURL), used by both the index fetch and the new index-driven per-package fetch.convertPackagesToTools.atmos toolchain search openbao listed openbao/openbao but atmos toolchain info openbao/openbao and atmos toolchain install openbao/openbao both failed with tool not in registry. The resolver only probed pkgs/<owner>/<repo>/registry.yaml plus a small hardcoded set of pkg roots (hashicorp, helm, kubernetes/kubernetes, opentofu), so any package whose binary name differs from its repo name and isn't on that list was silently unreachable.name: openbao/openbao/bao); we just weren't using it. Driving resolution from the index makes the entire class of binary-subdir packages installable without per-package allowlists.atmos toolchain install openbao/openbao@v2.5.3 now downloads, installs, and runs (bao --version → OpenBao v2.5.3 …).Closes #2383
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Improvements
Tests
CI
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(list): make list components output deterministic across runs @osterman (#2422)</summary>
atmos list components (and especially --enabled=false / --locked=true) now returns deterministic, consistent results across invocations on the same workspace.enabled/locked state into the deduplicated component view: any-disabled-wins for enabled, any-locked-wins for locked. status / status_text are recomputed from the aggregate.--enabled / --locked now describes the cross-stack aggregation semantics and points at atmos list instances for per-stack-instance state.pkg/list/extract/: a 200-iteration determinism test for --enabled=false, an aggregation-policy test for enabled/locked, and an output-order stability test.atmos list components --enabled=false repeatedly produced different output every time — sometimes empty, sometimes 1 component, sometimes 2 or 3 different components — with no changes to the workspace.extractUniqueComponentType in pkg/list/extract/components.go extracted metadata only from the first stack iterated for each component, and UniqueComponents iterated stacksMap (a Go map) in randomized order. When the same component had enabled: false in some stacks and enabled: true in others, the recorded value depended on iteration order — so BoolFilter.Apply would include or exclude the component non-deterministically.--enabled=false, which matches the user's expected behavior in the issue.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
list components command; results now consistent across invocations.--enabled and --locked flags to aggregate state across stack instances: a component is shown as disabled/locked if any instance has that state.Documentation
list components flag behavior for cross-stack aggregation reporting.Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): normalize --identity=false to disable authentication @osterman (#2412)</summary>
false, 0, no, off, case-insensitive) passed via --identity=<value> and --identity <value> to the disabled sentinel (cfg.IdentityFlagDisabledValue), so the auth pre-hook and CreateAndAuthenticateManager* short-circuit instead of trying to authenticate with the literal name "false".internal/exec/cli_utils.go::parseIdentityFlag — the single arg-walker that feeds info.Identity / configAndStacksInfo.Identity for every ProcessCommandLineArgs consumer (terraform, helmfile, packer, list, describe, workflow, vendor, pro, validate, atlantis, docs, generate).TestParseIdentityFlag for =false / =False / =FALSE / =0 / =no / =off plus space-separated form, and end-to-end cases in TestProcessArgsAndFlags_IdentityFlag{,Helmfile,Packer} asserting info.Identity == cfg.IdentityFlagDisabledValue.ATMOS_IDENTITY=false was fixed in #1935 by normalizing the env-var fallback at cli_utils.go:199, but the env fallback only runs when Identity == "". When --identity=false is passed on the CLI, parseIdentityFlag populated the literal "false", the env-fallback branch was skipped, and the literal flowed through to pkg/auth/hooks.go::isAuthenticationDisabled (which only matches __DISABLED__).parseIdentityFlag into a new helper without porting the normalization from the env path, silently breaking the documented --identity=false contract. Reported by users for atmos terraform * and atmos list instances.ProcessCommandLineArgs is fixed in one place, and matches the behavior already implemented for the StandardParser path (pkg/flags/global_registry.go) and the cmd/identity_helpers.go / cmd/list/utils.go / cmd/list/affected.go per-command identity reads.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
New Features
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Fail fast on missing component identity @osterman (#2411)</summary>
atmos list instances --upload from repeating the same identity error per component and continuing after bad auth.docs/fixes/2026-05-15-list-instances-auth-fail-fast.md.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
atmos list instances --upload now fails fast when per-component auth resolution fails for components with a default identity; returns a clear error including component and stack context and stops further processing.Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
feat(list): add --skip flag; fix --stack/--filter/--query on list instances @osterman
<details> <summary>feat(list): add --skip flag; fix --stack/--filter/--query on list instances @osterman (#2413)</summary>
--skip across every atmos list subcommand. instances, components, metadata, sources, and stacks now accept --skip <yaml-function> (repeatable, e.g. --skip terraform.state --skip terraform.output). Mirrors the surface already exposed by describe affected | component | stacks. Bound to ATMOS_SKIP; the existing ATMOS_AFFECTED_SKIP continues to work on list affected as a back-compat alias. Threads through ExecuteDescribeStacks — which already accepted skip but was being passed nil at every list callsite.--stack, --filter, and --query on atmos list instances now work. Three documented flags were previously silent: --stack was ignored (every instance returned), --filter was a TODO stub, and --query was read into options and dropped. --stack now uses path.Match glob semantics, --filter evaluates a YQ predicate per row, and --query projects each row via YQ (scalars land in a value column, maps flatten to row keys). Closes a latent ENV-precedence gap so ATMOS_LIST_FORMAT and ATMOS_UPLOAD are honored via viper.--skip (with a regression test for the literal list instances --upload --skip terraform.state failure). Unit + integration tests for the stack/filter/query work. New pkg/list/filter/yq.go (YQPredicateFilter, YQProjector, isTruthy) with full coverage.--skip documented on all five list pages; two release-blog entries; one roadmap milestone under the Discoverability initiative.--skip: atmos list instances --upload --skip terraform.state errored with unknown flag. --process-functions=false is not a substitute because it also disables !template, which Atmos Pro uploads need so settings.pro.enabled evaluates to a real boolean instead of a literal string.--stack/--filter/--query: the docs promised filtering on list instances and the implementation didn't honor it. Users hit silent wrong-result behavior, not an error.list files; bundling avoids merge churn and keeps the test+docs surface coherent.--skip rollout: #2363 (--process-templates / --process-functions rollout across list)--skip (describe family): #1006<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Enhancements
Bug Fixes
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details>
<summary>fix(list): make list components output deterministic across runs @osterman (#2422)</summary>
atmos list components (and especially --enabled=false / --locked=true) now returns deterministic, consistent results across invocations on the same workspace.enabled/locked state into the deduplicated component view: any-disabled-wins for enabled, any-locked-wins for locked. status / status_text are recomputed from the aggregate.--enabled / --locked now describes the cross-stack aggregation semantics and points at atmos list instances for per-stack-instance state.pkg/list/extract/: a 200-iteration determinism test for --enabled=false, an aggregation-policy test for enabled/locked, and an output-order stability test.atmos list components --enabled=false repeatedly produced different output every time — sometimes empty, sometimes 1 component, sometimes 2 or 3 different components — with no changes to the workspace.extractUniqueComponentType in pkg/list/extract/components.go extracted metadata only from the first stack iterated for each component, and UniqueComponents iterated stacksMap (a Go map) in randomized order. When the same component had enabled: false in some stacks and enabled: true in others, the recorded value depended on iteration order — so BoolFilter.Apply would include or exclude the component non-deterministically.--enabled=false, which matches the user's expected behavior in the issue.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
list components command; results now consistent across invocations.--enabled and --locked flags to aggregate state across stack instances: a component is shown as disabled/locked if any instance has that state.Documentation
list components flag behavior for cross-stack aggregation reporting.Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): normalize --identity=false to disable authentication @osterman (#2412)</summary>
false, 0, no, off, case-insensitive) passed via --identity=<value> and --identity <value> to the disabled sentinel (cfg.IdentityFlagDisabledValue), so the auth pre-hook and CreateAndAuthenticateManager* short-circuit instead of trying to authenticate with the literal name "false".internal/exec/cli_utils.go::parseIdentityFlag — the single arg-walker that feeds info.Identity / configAndStacksInfo.Identity for every ProcessCommandLineArgs consumer (terraform, helmfile, packer, list, describe, workflow, vendor, pro, validate, atlantis, docs, generate).TestParseIdentityFlag for =false / =False / =FALSE / =0 / =no / =off plus space-separated form, and end-to-end cases in TestProcessArgsAndFlags_IdentityFlag{,Helmfile,Packer} asserting info.Identity == cfg.IdentityFlagDisabledValue.ATMOS_IDENTITY=false was fixed in #1935 by normalizing the env-var fallback at cli_utils.go:199, but the env fallback only runs when Identity == "". When --identity=false is passed on the CLI, parseIdentityFlag populated the literal "false", the env-fallback branch was skipped, and the literal flowed through to pkg/auth/hooks.go::isAuthenticationDisabled (which only matches __DISABLED__).parseIdentityFlag into a new helper without porting the normalization from the env path, silently breaking the documented --identity=false contract. Reported by users for atmos terraform * and atmos list instances.ProcessCommandLineArgs is fixed in one place, and matches the behavior already implemented for the StandardParser path (pkg/flags/global_registry.go) and the cmd/identity_helpers.go / cmd/list/utils.go / cmd/list/affected.go per-command identity reads.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
New Features
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fail fast on missing component identity @osterman
<details> <summary>Fail fast on missing component identity @osterman (#2411)</summary>
atmos list instances --upload from repeating the same identity error per component and continuing after bad auth.docs/fixes/2026-05-15-list-instances-auth-fail-fast.md.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
atmos list instances --upload now fails fast when per-component auth resolution fails for components with a default identity; returns a clear error including component and stack context and stops further processing.Documentation
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
The schema field is preserved so this can be wired later without another breaking change.
<details> <summary>feat(dev-3124): Pin Terraform provider versions via required_providers @osterman (#1841)</summary>
pkg/generator package with registry pattern for Terraform file generationrequired_providers and required_version support in stack configurationsatmos terraform generate required-providers CLI commandterraform_override.tf.json with version constraints during terraform commandsThis feature allows users to pin Terraform and provider versions per component, improving reproducibility and reducing dependency-related issues. The unified generator package consolidates file generation logic for better maintainability.
Closes #3124
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
<sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(pro): GitHub merge-queue support for describe affected --upload @osterman (#2395)</summary>
atmos describe affected --upload under GITHUB_EVENT_NAME=merge_group (previously gated to pull_request only).event.merge_group.base_sha, populate HeadSHA from event.merge_group.head_sha, and derive the target branch from event.merge_group.base_ref — with graceful fallback to GITHUB_BASE_REF when no event payload is available.settings.pro event schema in the configuration reference (pull_request, release, drift_detection) and add a new Merge Queue Support section documenting the optional settings.pro.merge_group.checks_requested.workflows block, the prerequisites, the resolution order, and the migration note.ErrUploadRequiresPullRequestEvent → ErrUploadRequiresSupportedEvent and update the error message/hints to mention pull_request, pull_request_target, and merge_group.settings.pro.{pull_request,release,drift_detection,merge_group} through StripAffectedForUpload.check_suite.requested webhooks and creates check runs on the synthetic SHAs GitHub produces when a PR enters a merge queue (gh-readonly-queue/<base>/pr-<N>-<sha>). For the check to conclude correctly when stacks are affected, the CLI must allow --upload under merge_group and resolve the diff base against the target-branch commit the synthetic merge was built on top of.settings.pro per-event schema was previously undocumented on atmos.tools — customers were copying shapes from test fixtures. Backfilling the full reference (and adding merge_group alongside it) addresses both gaps in one PR.settings.pro is opaque map[string]any end-to-end, so no struct changes are required for merge_group to round-trip; the new test locks that contract in to prevent a future struct-tightening from silently dropping the new block./cli/configuration/settings/pro#merge-queue-supportcheck_suite.requested for gh-readonly-queue/... head branches.[!NOTE] The Merge Queue Support section in
pro.mdx(and the migration note in the blog post) contain anAtmos CLI ≥ X.Y.Zplaceholder. Replace with the actual released version once this PR is tagged.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
Documentation
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(website): render decorative card titles as div, not h2, to fix Algolia search relevance @osterman (#2400)</summary>
@theme/DocCard so each card's title renders as <div className={styles.cardTitle}> instead of <Heading as=\"h2\">. Visual styling is preserved because the CSS module rule (font-size: 1.2rem) targets the className, not the element.ActionCard's <h2>{title}</h2> to <div className=\"action-card__title\">{title}</div> and add explicit font tokens so the title still renders at h2 size.Terminal, Screengrab, and File.article h2 as a page section (lvl2) — that's the default Docusaurus crawler template's selector. Decorative h2s emitted by these components were being indexed as if they were real headings./cli/configuration/auth/ the DocCardList "Related Commands" section emits ten <h2 class=\"cardTitle_*\">📄️ atmos auth login</h2>-style entries. Searches like atmos auth ranked these card titles above the actual /cli/commands/auth/usage page because they contained the literal query./cli/commands/auth/usage the ActionCard title <h2>Configure Authentication</h2> sat between the page H1 and the first real H2. That extra heading scrambled the crawler's hierarchy extractor, leaving the page with a single weak type:\"content\" record and no lvl1/lvl2 records — so it couldn't compete with the noisier configuration page.<div> is semantically more honest and removes the indexing hijack without forcing an atmos-specific deviation from the DocSearch v3 defaults.Terminal/Screengrab/File).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Style
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(website): single H1 per page for valid Algolia search hierarchy @osterman (#2393)</summary>
<h1> in Terminal, Screengrab, and File chrome components — replaced with semantic <div className="window-title|file-title"> and matching CSS selectors.EmbedExample, with an embeddedH1 class so the visual size is preserved.# Heading markdown to ## in three docs pages: describe-affected.mdx, inheritance.mdx, mindset.mdx.<img width="2068" height="1634" alt="image" src="https://github.com/user-attachments/assets/a317471d-ed63-48d8-be92-1c549f7198c9" />
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Documentation
Style
<details> <summary>fix(ci): classify output-only plan summaries @osterman (#2407)</summary>
Fixes CI summary classification for output-only Terraform/OpenTofu plans on the stdout fallback path. These plans already had HasChanges=true, but the rendered summary could still use the no-change heading and badge because the template context only inferred output changes from parsed output values.
JSON plan parsing has structured output_changes, but stdout parsing only sees Changes to Outputs:. The parser set the changed-result text but did not preserve an explicit output-change signal for the template context.
TerraformOutputData.HasOutputChanges.Changes to Outputs: detection.after.terraform.plan summary path.docs/fixes.go test ./pkg/ci/plugins/terraform -run TestOnAfterPlan_OutputOnlyStdout_RendersOutputChangeSummary -count=1go test ./pkg/ci/plugins/terraform -run 'OutputOnly|OnAfterPlan|Template' -count=1go test ./pkg/ci/plugins/terraform -count=1<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(profile,auth): list table truncation, alignment, and active-profile indicator @osterman (#2365)</summary>
--profile / ATMOS_PROFILE / profiles.default.atmos auth list --format=table no longer drops rows.terraform: TerraformPreHook now offers the profile-switch fallback (matching atmos auth login/exec/shell/env/console/whoami) when the loaded config has no usable auth, and --profile is propagated to auth subcommand config init so the re-exec re-loads the picked profile's identities.profiles.base_path synced to global viper in LoadConfig so the auth profile fallback can discover profiles in custom locations.cfg.GetActiveProfiles(*schema.AtmosConfiguration) helper centralises the resolution order used by both the renderer and any future callers.pkg/profile/list, pkg/auth/list, pkg/config, pkg/auth, and cmd/auth_config_test.go.bubbles/table reserves one of the configured WithHeight() lines for the header — passing len(rows) rendered len(rows)-1 data rows. With 2 profiles, only 1 was visible. The data layer (--format=json) was always correct, so the bug was purely in the table renderer at three call sites.Selected style. Aliasing s.Selected = s.Cell removed the highlight but re-applied Padding(0,1) to the whole joined row, shifting the cursor row 1 column right of every other row. Using an empty lipgloss.NewStyle() removes the highlight without the double-padding.… in TTY output because bubbles' renderRow calls runewidth.Truncate(value, width, "…"), and runewidth counts ANSI escape bytes as visible width: a pre-styled \x1b[…m●\x1b[0m reports width ~8 and gets truncated to a single …. Putting a plain ● in the cell and post-styling after View() returns sidesteps the bug.profiles.base_path to the global viper, the fallback could not see profiles in user-configured locations and silently returned no candidates.atmos profile list in a directory with multiple profiles displayed only the first one in the table view (JSON output was unaffected).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): use active atmos identity for S3 planfile uploads @calxus (#2372)</summary>
IdentityAwareBackend interface to pkg/ci/artifact so the registry can inject an AuthContextResolver (mirroring the existing pkg/store pattern).ci.createPlanfileStore to propagate info.Identity (the resolved --identity / ATMOS_IDENTITY value) and a resolver built from info.AuthManager.attachIdentity precedence.atmos terraform plan was succeeding in CI (the Terraform subprocess inherits the prepared environment) but the subsequent S3 planfile upload failed with IMDS errors because the upload runs in the parent atmos process, which had no awareness of the active identity.pkg/store/aws_ssm_param_store.go and pkg/store/authbridge/resolver.go.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
<details> <summary>fix(ci): wire PR comment posting into terraform plan hook @joshAtRula (#2405)</summary>
Resolves the regression reported in #2367 where ci.comments.enabled: true had no effect: the schema field existed and ATMOS_CI_COMMENTS_ENABLED was wired, but no code path ever called the GitHub API to create or update a PR comment. The terraform plugin now posts a PR comment on after.terraform.plan whenever comments are enabled and the event is a pull request.
Interface changes:
Provider.PostComment(ctx, *PostCommentOptions) (*Comment, error) to the CI provider interface, along with CommentBehavior (create / update / upsert) and result types.pkg/ci/providers/github/comments.go: upsert via HTML marker <!-- atmos:ci:{command}:{component}:{stack} --> using Issues.ListComments + EditComment / CreateComment. 403/404 errors carry hints directing users to the permissions: pull-requests: write workflow grant. Pagination-aware marker scan.ErrCIOperationNotSupported.Plugin wiring:
pkg/ci/plugins/terraform/comments.go: new postComment() handler reuses the summary rendered by writeSummary() so ci.templates.terraform.plan overrides apply to both the job summary and the PR comment body.onAfterPlan as warn-only (apply/deploy intentionally excluded for this fix — plan-only scope).Schema:
CICommentsConfig.Enabled changed from bool to *bool so nil (unset) can default off without colliding with explicit false. This matches the sibling CIChecksConfig.Enabled and prevents upgrading installations from silently starting to post comments.ATMOS_CI_COMMENTS_ENABLED env override updated for pointer-bool semantics; tests extended to cover the unset-nil path.Errors:
ErrCICommentPostFailed, ErrCICommentListFailed, ErrCICommentUpdateFailed, ErrCICommentNotFound.fmt.Errorf sites in pkg/config/utils.go:GetContextPrefix to wrap a new ErrStackNamePatternPartMissing sentinel; gofumpt reformatted those lines, which pulled them into lint's new-from-rev diff. Error message text is preserved so existing tests still match.Tests:
registry_provider_test and handlers_test mockProvider updated for the new interface method.Docs:
docs/prd/native-ci/providers/github/pr-comments.md: status flipped from Deferred to Shipped with locked-in decisions.implementation-status.md: PR Comments row now Done; v14.0 changelog entry added; totals updated to 148/151.Closes #2367
ci.comments.enabled: true did nothing).Provider.PostComment to the CI provider interface with create/update/upsert semantics.pkg/ci/providers/github/comments.go) using HTML-marker-based upsert (<!-- atmos:ci:{command}:{component}:{stack} -->) so repeat runs update the existing comment instead of stacking new ones.onAfterPlan (plan-only, as agreed) and reuses the already-rendered summary so ci.templates.terraform.plan overrides apply to both the GitHub job summary and the PR comment body.CICommentsConfig.Enabled from bool to *bool so unset (nil) defaults to off and upgrading installations don't silently start posting comments.permissions: pull-requests: write workflow grant.ErrCICommentPostFailed, ErrCICommentListFailed, ErrCICommentUpdateFailed, ErrCICommentNotFound).fmt.Errorf sites in pkg/config/utils.go:GetContextPrefix to a new ErrStackNamePatternPartMissing sentinel — error message text preserved so existing tests still match.ATMOS_CI_COMMENTS_ENABLED env var suggest the feature works, but no code path ever called the GitHub API. Users configuring ci.comments.enabled: true in a pull_request workflow see the job summary render correctly but no comment on the PR.implementation-status.md tracked it as "Not Started". This PR locks in the design decisions and ships the feature.*bool for Enabled matches the pattern already used by CIChecksConfig.Enabled and gives us room to default off without breaking explicit false values — preventing silent behavior change on upgrade.ci.templates.terraform.plan) controls what shows up in both surfaces.checks.go for the commit status API, since the permissions failure mode is identical and common.apply and deploy do not post comments. Review happens on the PR thread for plans; apply/deploy outcomes live in the checks pane. Revisit if users ask.ci.comments.template override is still a follow-up — the comment currently reuses the summary template. The schema field is preserved so this can be wired later without another breaking change.go test -race ./pkg/ci/... ./pkg/config/... ./pkg/schema/... ./errors/... — 2308 tests pass across 19 packages.pkg/ci/providers/github/comments.go cover upsert create/update, create-always, update-returns-not-found, input validation, 403/404 hint propagation, pagination across list pages, and default-behavior fallback.pre-commit run is clean: go-fumpt, go build, go.mod tidy, golangci-lint config verify, golangci-lint, gomodcheck, CLAUDE.md size, trailing whitespace, end-of-files, yaml, large files — all pass.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Providers
Configuration
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth/eks): suppress success line for no-op kubeconfig writes @mtb-xt (#2402)</summary>
WriteClusterConfig now returns (changed bool, err error) and detects no-op writes by comparing the serialized kubeconfig against the on-disk file.EKSIntegration.Execute only emits ui.Success when the kubeconfig actually changed; otherwise it logs at debug.atmos aws eks update-kubeconfig --integration command keeps its unconditional success message — the user asked for it explicitly there.changed flips back to true for real updates).Auto-provisioned EKS integrations re-run on every identity resolution. In a single atmos workflow ... (or template lookup, or !terraform.output evaluation), that can mean hundreds of identity authentications back-to-back, each printing:
✓ EKS kubeconfig: platform-apse2-dev → /home/.../.config/atmos/kube/config
The repeated lines bury real output and errors (one user reported the output completely hiding a credential-chain failure under thousands of identical success lines). The on-disk file was almost always already correct after the first write, so the success line was misleading on top of being noisy.
Now you see the success line once, the first time the kubeconfig is actually written or modified, and quiet debug logs the rest of the time. This also avoids unnecessary mtime / chmod churn on the kubeconfig file.
✓ EKS kubeconfig: ... lines from a single atmos workflow plan/dev -f bedrock invocation.pkg/auth/cloud/kube/config.go — WriteClusterConfig, new writeIfChanged/mergeIfChanged/configsEqual helpers.pkg/auth/integrations/aws/eks.go — EKSIntegration.Execute gate.cmd/aws/eks/update_kubeconfig_sdk.go — caller update (still always prints success for the explicit command).go test ./pkg/auth/cloud/kube/... ./pkg/auth/integrations/aws/... passes.atmos workflow ... against a stack with auto-provisioned aws/eks integrations and confirm the success line appears once instead of per-component.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>refactor: Migrate atmos auth to Command Registry with StandardParser @osterman (#1919)</summary>
Refactors the atmos auth command family from the legacy flat-file structure to the Command Registry pattern with unified flag handling via pkg/flags/StandardParser. As a side-effect of the refactor, this PR also resolves two long-standing flag-precedence bugs (#1973 and #2392) and adds regression tests so they cannot silently regress again.
cmd/auth_*.go to an organised cmd/auth/ package with a CommandProvider interface.viper.BindPFlag() / viper.BindEnv() calls with flags.NewStandardParser(...) + parser.BindToViper(...) (Forbidigo-compliant).DisableFlagParsing with the SeparatedArgs pattern for pass-through commands (auth shell, auth exec).auth user to a real subcommand package (cmd/auth/user/).viper.BindPFlag() / viper.BindEnv() calls.BuildConfigAndStacksInfo(cmd, v) so global flags (--base-path, --config, --config-path, --profile) are honoured uniformly.CommandProvider.cmd/auth rose from 33% → 47% in this PR.--profile not applied for auth exec and auth shellRoot cause: the legacy executeAuthExecCommandCore / executeAuthShellCommandCore loaded the atmos config from cfg.InitCliConfig(newAuthConfigAndStacksInfo(cmd), false) — a helper that only read --base-path / --config / --config-path and dropped --profile on the floor. auth list / auth env / auth whoami happened to call a different helper that did read profile, hence the asymmetric bug.
Fix: both cmd/auth/exec.go and cmd/auth/shell.go now call BuildConfigAndStacksInfo(cmd, v) (a wrapper over flags.BuildConfigAndStacksInfo) which extracts all global flags including --profile into ConfigAndStacksInfo.ProfilesFromArg before cfg.InitCliConfig.
Regression tests:
cmd/auth/exec_test.go::TestAuthExec_ProfileFlagAppliedToConfigcmd/auth/shell_test.go::TestAuthShell_ProfileFlagAppliedToConfigBoth cover single-profile, multi-profile, and no-profile cases.
--identity silently dropped on atmos terraform planRoot cause: the bug as reported at v1.216.0 stemmed from --identity being parsed inconsistently between command families. Terraform commands relied solely on the legacy arg-walker parseIdentityFlag while auth/describe used a Cobra-flag-based path.
Fix: terraform commands now register --identity via the StandardParser (cmd/terraform/flags.go::registerIdentityFlags) and the legacy arg-walker still populates info.Identity for backwards compat — so both paths converge on the same value. setupTerraformAuth (in internal/exec/terraform_execute_helpers.go) passes info.Identity verbatim to the auth manager creator; pkg/auth.resolveIdentityName returns it as-is when non-empty, so the explicit flag value can never be overridden by a profile-default identity.
Regression tests:
internal/exec/cli_utils_test.go::TestProcessCommandLineArgs_TerraformIdentityFlag_Issue2392 — replays the exact arg shape from the bug report (terraform plan account-map -s core-gbl-root --identity core-root/admin) and asserts info.Identity == "core-root/admin".internal/exec/terraform_execute_helpers_auth_test.go::TestSetupTerraformAuth_IdentityFlagPropagatesToAuthCreator — builds a merged auth config with both a default: true identity and a non-default identity and asserts setupTerraformAuth passes the explicit --identity value verbatim.internal/exec/terraform_execute_helpers_auth_test.go::TestSetupTerraformAuth_EmptyIdentity_AllowsAutoDetection — inverse guard: empty info.Identity must still allow auto-detect.go build ./..., go vet ./..., make lint — all clean.go test -short ./cmd/... ./internal/... ./pkg/... — all pass.cmd/auth 33.0% → 47.6%, cmd/auth/user 35.6% → 51.0%.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Improvements
Documentation
<details> <summary>fix(pro): friendlier 4xx error rendering and propagate hints to users @osterman (#2386)</summary>
errorMessage, errorTag, data.validationErrors[]) directly to the CLI user instead of opaque HTTP 500: API response error: API request failed with status N noise.data.validationErrors[] as a bullet list under the headline (with dedupe of trailing server-side concatenations like "failed: A; B").settings.pro.* docs and a drift-detection-specific hint (selected by errorTag == DriftDetectionValidationError or substring match on the message).HTTP <code>: prefix in APIError.Error() for 4xx so output reads UploadInstances: <server message> instead of UploadInstances: HTTP 400: API response error: <server message>.trace_id on all statuses (including 4xx) so support can correlate user-reported issues.errorMessage (current) and legacy error field on responses; new EffectiveErrorMessage() prefers the former.errors.Join(sentinel, cause) with a small wrapErr helper using the existing errUtils.Build(...).WithCause(...) pattern. Stdlib errors.Join and fmt.Errorf("%w: %w", ...) both produce multi-errors that hide cockroach hint annotations from GetAllHints, which is why the existing 401/403/404/5xx hints never actually rendered to users.atmos list instances --upload against a misconfigured stack produced UploadInstances: HTTP 500: API response error: API request failed with status 500 (trace_id: ...) four times in a row. The server actually returned a clean validation message describing the missing drift-detection workflows, but the CLI couldn't surface it (DTO field-name mismatch + lost hints).errorMessage and data.validationErrors[] for user-error conditions; this PR is the CLI side of that contract.errUtils.Build(...).WithHint(...) were silently dropped at the outermost wrap layer because errors.Join doesn't expose its children to cockroachErrors.GetAllHints. Users never saw the lightbulb hints the 401/403/404/5xx code paths were already emitting; this PR makes them visible.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
To view the Atmos Pro deployment status of this release, see #2410.
<!-- [event-id]: wfte_2HJfN8fgWmdhdq2j7eBeeqpZosQg -->
The schema field is preserved so this can be wired later without another breaking change.
<details> <summary>fix(ci): classify output-only plan summaries @osterman (#2407)</summary>
Fixes CI summary classification for output-only Terraform/OpenTofu plans on the stdout fallback path. These plans already had HasChanges=true, but the rendered summary could still use the no-change heading and badge because the template context only inferred output changes from parsed output values.
JSON plan parsing has structured output_changes, but stdout parsing only sees Changes to Outputs:. The parser set the changed-result text but did not preserve an explicit output-change signal for the template context.
TerraformOutputData.HasOutputChanges.Changes to Outputs: detection.after.terraform.plan summary path.docs/fixes.go test ./pkg/ci/plugins/terraform -run TestOnAfterPlan_OutputOnlyStdout_RendersOutputChangeSummary -count=1go test ./pkg/ci/plugins/terraform -run 'OutputOnly|OnAfterPlan|Template' -count=1go test ./pkg/ci/plugins/terraform -count=1<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(profile,auth): list table truncation, alignment, and active-profile indicator @osterman (#2365)</summary>
--profile / ATMOS_PROFILE / profiles.default.atmos auth list --format=table no longer drops rows.terraform: TerraformPreHook now offers the profile-switch fallback (matching atmos auth login/exec/shell/env/console/whoami) when the loaded config has no usable auth, and --profile is propagated to auth subcommand config init so the re-exec re-loads the picked profile's identities.profiles.base_path synced to global viper in LoadConfig so the auth profile fallback can discover profiles in custom locations.cfg.GetActiveProfiles(*schema.AtmosConfiguration) helper centralises the resolution order used by both the renderer and any future callers.pkg/profile/list, pkg/auth/list, pkg/config, pkg/auth, and cmd/auth_config_test.go.bubbles/table reserves one of the configured WithHeight() lines for the header — passing len(rows) rendered len(rows)-1 data rows. With 2 profiles, only 1 was visible. The data layer (--format=json) was always correct, so the bug was purely in the table renderer at three call sites.Selected style. Aliasing s.Selected = s.Cell removed the highlight but re-applied Padding(0,1) to the whole joined row, shifting the cursor row 1 column right of every other row. Using an empty lipgloss.NewStyle() removes the highlight without the double-padding.… in TTY output because bubbles' renderRow calls runewidth.Truncate(value, width, "…"), and runewidth counts ANSI escape bytes as visible width: a pre-styled \x1b[…m●\x1b[0m reports width ~8 and gets truncated to a single …. Putting a plain ● in the cell and post-styling after View() returns sidesteps the bug.profiles.base_path to the global viper, the fallback could not see profiles in user-configured locations and silently returned no candidates.atmos profile list in a directory with multiple profiles displayed only the first one in the table view (JSON output was unaffected).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(ci): use active atmos identity for S3 planfile uploads @calxus (#2372)</summary>
IdentityAwareBackend interface to pkg/ci/artifact so the registry can inject an AuthContextResolver (mirroring the existing pkg/store pattern).ci.createPlanfileStore to propagate info.Identity (the resolved --identity / ATMOS_IDENTITY value) and a resolver built from info.AuthManager.attachIdentity precedence.atmos terraform plan was succeeding in CI (the Terraform subprocess inherits the prepared environment) but the subsequent S3 planfile upload failed with IMDS errors because the upload runs in the parent atmos process, which had no awareness of the active identity.pkg/store/aws_ssm_param_store.go and pkg/store/authbridge/resolver.go.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
<details>
<summary>fix(ci): wire PR comment posting into terraform plan hook @joshAtRula (#2405)</summary>
Resolves the regression reported in #2367 where ci.comments.enabled: true had no effect: the schema field existed and ATMOS_CI_COMMENTS_ENABLED was wired, but no code path ever called the GitHub API to create or update a PR comment. The terraform plugin now posts a PR comment on after.terraform.plan whenever comments are enabled and the event is a pull request.
Interface changes:
Provider.PostComment(ctx, *PostCommentOptions) (*Comment, error) to the CI provider interface, along with CommentBehavior (create / update / upsert) and result types.pkg/ci/providers/github/comments.go: upsert via HTML marker <!-- atmos:ci:{command}:{component}:{stack} --> using Issues.ListComments + EditComment / CreateComment. 403/404 errors carry hints directing users to the permissions: pull-requests: write workflow grant. Pagination-aware marker scan.ErrCIOperationNotSupported.Plugin wiring:
pkg/ci/plugins/terraform/comments.go: new postComment() handler reuses the summary rendered by writeSummary() so ci.templates.terraform.plan overrides apply to both the job summary and the PR comment body.onAfterPlan as warn-only (apply/deploy intentionally excluded for this fix — plan-only scope).Schema:
CICommentsConfig.Enabled changed from bool to *bool so nil (unset) can default off without colliding with explicit false. This matches the sibling CIChecksConfig.Enabled and prevents upgrading installations from silently starting to post comments.ATMOS_CI_COMMENTS_ENABLED env override updated for pointer-bool semantics; tests extended to cover the unset-nil path.Errors:
ErrCICommentPostFailed, ErrCICommentListFailed, ErrCICommentUpdateFailed, ErrCICommentNotFound.fmt.Errorf sites in pkg/config/utils.go:GetContextPrefix to wrap a new ErrStackNamePatternPartMissing sentinel; gofumpt reformatted those lines, which pulled them into lint's new-from-rev diff. Error message text is preserved so existing tests still match.Tests:
registry_provider_test and handlers_test mockProvider updated for the new interface method.Docs:
docs/prd/native-ci/providers/github/pr-comments.md: status flipped from Deferred to Shipped with locked-in decisions.implementation-status.md: PR Comments row now Done; v14.0 changelog entry added; totals updated to 148/151.Closes #2367
ci.comments.enabled: true did nothing).Provider.PostComment to the CI provider interface with create/update/upsert semantics.pkg/ci/providers/github/comments.go) using HTML-marker-based upsert (<!-- atmos:ci:{command}:{component}:{stack} -->) so repeat runs update the existing comment instead of stacking new ones.onAfterPlan (plan-only, as agreed) and reuses the already-rendered summary so ci.templates.terraform.plan overrides apply to both the GitHub job summary and the PR comment body.CICommentsConfig.Enabled from bool to *bool so unset (nil) defaults to off and upgrading installations don't silently start posting comments.permissions: pull-requests: write workflow grant.ErrCICommentPostFailed, ErrCICommentListFailed, ErrCICommentUpdateFailed, ErrCICommentNotFound).fmt.Errorf sites in pkg/config/utils.go:GetContextPrefix to a new ErrStackNamePatternPartMissing sentinel — error message text preserved so existing tests still match.ATMOS_CI_COMMENTS_ENABLED env var suggest the feature works, but no code path ever called the GitHub API. Users configuring ci.comments.enabled: true in a pull_request workflow see the job summary render correctly but no comment on the PR.implementation-status.md tracked it as "Not Started". This PR locks in the design decisions and ships the feature.*bool for Enabled matches the pattern already used by CIChecksConfig.Enabled and gives us room to default off without breaking explicit false values — preventing silent behavior change on upgrade.ci.templates.terraform.plan) controls what shows up in both surfaces.checks.go for the commit status API, since the permissions failure mode is identical and common.apply and deploy do not post comments. Review happens on the PR thread for plans; apply/deploy outcomes live in the checks pane. Revisit if users ask.ci.comments.template override is still a follow-up — the comment currently reuses the summary template. The schema field is preserved so this can be wired later without another breaking change.go test -race ./pkg/ci/... ./pkg/config/... ./pkg/schema/... ./errors/... — 2308 tests pass across 19 packages.pkg/ci/providers/github/comments.go cover upsert create/update, create-always, update-returns-not-found, input validation, 403/404 hint propagation, pagination across list pages, and default-behavior fallback.pre-commit run is clean: go-fumpt, go build, go.mod tidy, golangci-lint config verify, golangci-lint, gomodcheck, CLAUDE.md size, trailing whitespace, end-of-files, yaml, large files — all pass.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Providers
Configuration
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth/eks): suppress success line for no-op kubeconfig writes @mtb-xt (#2402)</summary>
WriteClusterConfig now returns (changed bool, err error) and detects no-op writes by comparing the serialized kubeconfig against the on-disk file.EKSIntegration.Execute only emits ui.Success when the kubeconfig actually changed; otherwise it logs at debug.atmos aws eks update-kubeconfig --integration command keeps its unconditional success message — the user asked for it explicitly there.changed flips back to true for real updates).Auto-provisioned EKS integrations re-run on every identity resolution. In a single atmos workflow ... (or template lookup, or !terraform.output evaluation), that can mean hundreds of identity authentications back-to-back, each printing:
✓ EKS kubeconfig: platform-apse2-dev → /home/.../.config/atmos/kube/config
The repeated lines bury real output and errors (one user reported the output completely hiding a credential-chain failure under thousands of identical success lines). The on-disk file was almost always already correct after the first write, so the success line was misleading on top of being noisy.
Now you see the success line once, the first time the kubeconfig is actually written or modified, and quiet debug logs the rest of the time. This also avoids unnecessary mtime / chmod churn on the kubeconfig file.
✓ EKS kubeconfig: ... lines from a single atmos workflow plan/dev -f bedrock invocation.pkg/auth/cloud/kube/config.go — WriteClusterConfig, new writeIfChanged/mergeIfChanged/configsEqual helpers.pkg/auth/integrations/aws/eks.go — EKSIntegration.Execute gate.cmd/aws/eks/update_kubeconfig_sdk.go — caller update (still always prints success for the explicit command).go test ./pkg/auth/cloud/kube/... ./pkg/auth/integrations/aws/... passes.atmos workflow ... against a stack with auto-provisioned aws/eks integrations and confirm the success line appears once instead of per-component.🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
One column per quarter.