You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(auth): add regression tests from the Atmos Auth pre-release review - #3724
Expanded coverage for auth exec argument handling and exit-code reporting.
Added checks for AWS, Azure, and GCP authentication flows, credential refresh and storage, and error handling.
Added tests for Kubernetes configuration merging and cleanup, including preservation of user-managed settings.
Added coverage for identity status and expiration display, operation-scoped credential isolation, and device-code authentication through the plugin transport.
Latest completed GitHub Actions runs for f195b2960356.
PR wall-clock time: 11h 54m 26s
Aggregate runner time: 16h 51m 31s
Included: 14 workflows, 141 jobs (including matrix jobs)
Wall-clock time spans the earliest included workflow creation through the latest completion. Aggregate runner time adds each job's execution time, so concurrent jobs are counted separately.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
This test-only PR is skipped by automatic review because its title contains "test". It holds the general Atmos Auth regression tests that were moved out of #3722 to keep that PR under the 149-file limit.
Reviewing files that changed from the base of the PR and between 91a5c43 and f195b29.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
This PR adds tests for auth command execution, AWS and GCP credential flows, Azure credential paths, kubeconfig handling, auth manager operations, status formatting, and plugin device-code interactions.
Changes: Auth exec subprocess
Layer / File(s)
Summary
Child process setup and execution cmd/auth/exec_child_process_test.go, cmd/auth/testmain_test.go
A subprocess test checks argument preservation, the child’s ATMOS_IDENTITY, and successful or nonzero exit-code handling. TestMain routes the configured child process to its test runner.
cloudposse/atmos#3722: This PR is stacked on #3722 and adds auth tests outside the vendored AWS SAML code changed there.
Suggested reviewers:osterman
Merge Risk: Minimal · previous review 91a5c
This change adds regression tests for authentication paths and leaves production behavior unchanged. No concrete merge-blocking issue remains after review.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names a test-only change and the 'auth' scope. It matches the main change: regression tests for Atmos Auth paths. It does not list every area, which is expected. The title is specific enough…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check
Explanation
The title names a test-only change and the 'auth' scope. It matches the main change: regression tests for Atmos Auth paths. It does not list every area, which is expected. The title is specific enough to convey the primary change.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.
Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
Cover auth paths reviewed before the 1.235.0 release that sit outside the
vendored SAML code: the auth exec child process and exit codes, ECR token
retrieval, kubeconfig drift detection, permission set authentication, GCP
service account environment preparation, EKS kubeconfig merging, list
status formatting, concurrent isolated identity operations, the SSO token
polling flow, Azure device code paths, and plugin provider interactions.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no-releaseDo not create a new release (wait for additional code changes)quality:readyAll Quality Gate requirements pass for the current PR headsize/lLarge size PR
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
auth execchild process and exit-code propagationauth liststatus formattingcmd/auth/testmain_test.go,pkg/plugin/adapter/auth/main_test.go).Test-only change. No production code is modified.
why
aknysh/vendor-saml2aws).references
Summary by CodeRabbit
auth execargument handling and exit-code reporting.