🚀 Enhancements
Fail fast on missing component identity @osterman (#2411)
## what- Fail fast when per-component auth resolution fails for components that declare a default identity.
- Stop eager auth-manager error printing so the top-level command emits one formatted error.
- Add regression coverage and document the fix under docs/fixes.
why
- Missing or invalid component identities are fatal because falling back to parent or ambient auth can use the wrong backend or account.
- This prevents
atmos list instances --uploadfrom repeating the same identity error per component and continuing after bad auth.
references
- See
docs/fixes/2026-05-15-list-instances-auth-fail-fast.md.
Summary by CodeRabbit
-
Bug Fixes
atmos list instances --uploadnow 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.- Eager error printing during auth initialization was removed and centralized to avoid repeated initialization messages.
-
Documentation
- Added docs describing the updated authentication failure behavior.
-
Tests
- Updated tests to verify resolver failures are treated as fatal and include component/stack context.