Skip to content

fix: handle AggregateError in global error handler#10

Merged
broediger merged 8 commits intomainfrom
feat/topology-rules-flag
Apr 13, 2026
Merged

fix: handle AggregateError in global error handler#10
broediger merged 8 commits intomainfrom
feat/topology-rules-flag

Conversation

@broediger
Copy link
Copy Markdown
Owner

Summary

  • Fix blank error messages when Azure SDK throws AggregateError (e.g. after retry exhaustion on auth failures)
  • Extract and deduplicate inner error messages so the CLI shows actionable output
  • Includes topology --rules flag, linting/formatting setup, and prior fixes (0.1.1–0.1.3)

Test plan

  • Triggered AggregateError by sending to a namespace without Send claims — error now displays the actual unauthorized message
  • Verified send and import commands work against dev namespace
  • All 6 unit tests pass
  • Build, lint, and format checks pass

Björn Rödiger and others added 7 commits March 29, 2026 16:11
CI runs lint, format check, tests, and build on PRs and pushes to main.
Publish workflow triggers on v* tags and publishes to npm with provenance.
Azure SDK wraps retry failures in an AggregateError with an empty
message, causing the CLI to print "Error:" with no details. Extract
and deduplicate inner error messages instead.
Comment thread .github/workflows/ci.yml Fixed
@sonarqubecloud
Copy link
Copy Markdown

@broediger broediger merged commit ccb17d4 into main Apr 13, 2026
4 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