Skip to content

Fix awsenc auth and profile handling defects#8

Merged
jgowdy-godaddy merged 8 commits intogodaddy:mainfrom
jgowdy:fix/exhaustive-defects-awsenc
Apr 14, 2026
Merged

Fix awsenc auth and profile handling defects#8
jgowdy-godaddy merged 8 commits intogodaddy:mainfrom
jgowdy:fix/exhaustive-defects-awsenc

Conversation

@jgowdy
Copy link
Copy Markdown
Contributor

@jgowdy jgowdy commented Apr 14, 2026

Summary

  • validate profile names and move config/cache writes onto atomic, restricted-permission helpers
  • fix Okta session caching, alias/biometric resolution, installer block editing, and non-interactive exec behavior
  • replace fragile SAML parsing and add regression coverage for the repaired flows

Testing

  • cargo test --workspace --all-targets

jgowdy added 8 commits April 13, 2026 21:34
Tests that modify environment variables (HOME, XDG_CONFIG_HOME,
AWSENC_PROFILE, etc.) were racing with each other when run in
parallel, causing mutex poisoning cascades and spurious failures.

Add TEST_ENV_MUTEX to all tests that read or write env vars across
awsenc-core (config, cache, profile) and awsenc-cli (exec, serve,
main). This was the root cause of the Windows-only CI failures —
the tests happened to schedule in a different order there.
@jgowdy-godaddy jgowdy-godaddy merged commit 50d6c32 into godaddy:main Apr 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants