Skip to content

V2.3.0 features#1411

Merged
synfinatic merged 23 commits into
mainfrom
v2.3.0-dev
Jun 20, 2026
Merged

V2.3.0 features#1411
synfinatic merged 23 commits into
mainfrom
v2.3.0-dev

Conversation

@synfinatic

Copy link
Copy Markdown
Owner

No description provided.

synfinatic and others added 22 commits June 6, 2026 20:30
Normally we refuse to overwrite AWS_ environment variables if they are
already set in the current shell and exit with an error. This flag
will allow overwrites.

Fixes: #1095
Threads context.Context through SecureStorage so lock-wait loops
honour cancellation. A signal.NotifyContext in main() cancels on
SIGINT/SIGTERM; a goroutine calls os.Exit(1) when that fires,
releasing storage.lock even if a D-Bus call is blocking.

Fixes #1379
JSON SecureStore now uses the context and performs locking to prevent
multiple aws-sso instances from read/writing the file at the sametime.
Normally we refuse to overwrite AWS_ environment variables if they are
already set in the current shell and exit with an error. This flag
will allow overwrites.

Fixes: #1095
Allow k8s/docker compose to perform health check to see if the
necessary API creds are loaded.

Refs: #1356
* --default flag now loads the default profile AWS credentials
* bump version to 2.3.0
* fix docker image build tag

Fixes: #1356
I prefer the e2e tests so deleting the integration tests,
moving awsmock to internal and porting the role chaining
test to e2e.  Also rename the integration target to be e2e.
Normally we refuse to overwrite AWS_ environment variables if they are
already set in the current shell and exit with an error. This flag
will allow overwrites.

Fixes: #1095
* add support for eval command
* Update documentation
* fix make target for docs/default-region.png
* remove bogus entry for --ignore-env

Refs: #1390, #1095
* update changelog
* fix `make e2e` target
* break up e2e test file into one per command
* make test: no longer generates coverage.out for codecov/etc
* make coverage: generates coverage.out (unit tests + e2e)
ignore interactive files
Supports both biometric/desktop app and auth token.

Fixes: #1369
You can now choose `Profile` from the interactive mode (exec, console)
and directly search for the profile if you'd like.

Refs: #800
Copilot AI review requested due to automatic review settings June 8, 2026 19:59
@synfinatic synfinatic removed the request for review from Copilot June 8, 2026 19:59
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.21965% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.91%. Comparing base (dbc436c) to head (43e9036).

Files with missing lines Patch % Lines
internal/storage/onepassword.go 96.24% 5 Missing and 2 partials ⚠️
cmd/aws-sso/main.go 33.34% 6 Missing ⚠️
cmd/aws-sso/ecs_server_cmd.go 83.34% 2 Missing and 2 partials ⚠️
cmd/aws-sso/exec_cmd.go 83.34% 1 Missing and 1 partial ⚠️
internal/ecs/server/healthcheck.go 97.78% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1411      +/-   ##
==========================================
- Coverage   88.31%   85.91%   -2.40%     
==========================================
  Files          56       77      +21     
  Lines        3781     4946    +1165     
==========================================
+ Hits         3339     4249     +910     
- Misses        303      472     +169     
- Partials      139      225      +86     
Flag Coverage Δ
unittests 85.91% <94.22%> (-2.40%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cmd/aws-sso/eval_cmd.go 72.35% <100.00%> (ø)
internal/awsendpoint/endpoint.go 100.00% <100.00%> (ø)
internal/awsendpoint/logger.go 100.00% <100.00%> (ø)
internal/ecs/server/server.go 93.34% <100.00%> (+0.40%) ⬆️
internal/sso/auth/awssso.go 86.84% <100.00%> (+12.56%) ⬆️
internal/sso/oidc/endpoint.go 100.00% <100.00%> (+20.00%) ⬆️
internal/sso/settings.go 79.70% <100.00%> (+0.11%) ⬆️
internal/ecs/server/healthcheck.go 97.78% <97.78%> (ø)
cmd/aws-sso/exec_cmd.go 75.65% <83.34%> (ø)
cmd/aws-sso/ecs_server_cmd.go 53.34% <83.34%> (ø)
... and 2 more

... and 13 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbc436c...43e9036. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@synfinatic

Copy link
Copy Markdown
Owner Author

@copilot resolve conflicts

Copilot AI commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve conflicts

Addressed in 43e9036.

@synfinatic synfinatic merged commit 42610bd into main Jun 20, 2026
9 of 10 checks passed
@synfinatic synfinatic deleted the v2.3.0-dev branch June 20, 2026 02:38
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