Skip to content

chore(distilled): bump to main (typed failures, #958-#975) - #2596

Merged
Mkassabov merged 1 commit into
mainfrom
chore/distilled-typed-failures
Oct 26, 2026
Merged

Mkassabov merged 1 commit into
mainfrom
chore/distilled-typed-failures

Conversation

@Mkassabov

Copy link
Copy Markdown
Contributor

Bump submodules/distilled to main (09a9abcf9, distilled #958–#975): failures that used to die are typed now, so a few Alchemy types follow.

  • AMP, OpenSearch and OSIS signed-HTTP bindings read Region, which can now fail with SourceError (a ConfigProvider that cannot read its source). Their error unions add it:
- PrometheusApiError | Credentials.CredentialsError | SigV4.SigningError
+ PrometheusApiError | Credentials.CredentialsError | SourceError | SigV4.SigningError
  • Chatbot / IoT FleetWise: no region configured (MissingRegion) falls back to the home region, as a missing Region service already did.
  • StepFunctions StartSyncExecution: no region means no sync-states endpoint pin; the call then fails with MissingRegion.
  • Credentials services are Effect<Config, ConfigError> now:
    • axiom Dataset reads apiBaseUrl per call instead of at provider construction
    • fly bindFlyApiToken reports a failed resolution through orDieCredentialsUnavailable("Fly")
    • hetzner HetznerEnvironment and stripe makeStripeAuth carry ConfigError
  • buildRequest returns an Effect (InvalidInput for a ./.. label); the WfP asset test runs it with Effect.runSync.

@Mkassabov
Mkassabov merged commit 9cb2c7a into main Oct 26, 2026
5 of 6 checks passed
@Mkassabov
Mkassabov deleted the chore/distilled-typed-failures branch October 26, 2026 08:48
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.

1 participant