Skip to content

control-plane-api: surface per-store health diagnostics in storage-mapping mutations#3181

Open
GregorShear wants to merge 1 commit into
masterfrom
greg/storage-health-diagnostics
Open

control-plane-api: surface per-store health diagnostics in storage-mapping mutations#3181
GregorShear wants to merge 1 commit into
masterfrom
greg/storage-health-diagnostics

Conversation

@GregorShear

@GregorShear GregorShear commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Storage mapping mutations run a health check to verify reachability between dataplanes and storage buckets, but until recently the journal client was swallowing diagnostic info on failed tests.

This PR plumbs the new Error::FragmentStoreUnhealthy through to the gql mutation errors so the UI can surface it to users.

@GregorShear
GregorShear force-pushed the greg/storage-health-diagnostics branch from bd549fa to e7b7dc4 Compare July 17, 2026 15:59
@GregorShear
GregorShear changed the base branch from johnny/gazette-fragment-store-errors-057e0d to master July 17, 2026 16:00
@github-actions

Copy link
Copy Markdown

🚀 Preview deployed to https://docs.estuary.dev/pr-preview/pr-3181/

…pping mutations

createStorageMapping and updateStorageMapping ran per-store fragment-store health checks but collapsed any failure into a generic "Storage health checks failed" error, discarding the per-store diagnostics that run_all_health_checks had already collected. Building on the gazette change that surfaces the store's real error string, thread those diagnostics into both mutation errors: a new describe_health_failures helper renders each failing check as its store URL, data-plane name, and the store's own error. testConnectionHealth already returned full per-store results and is unchanged.
@GregorShear
GregorShear force-pushed the greg/storage-health-diagnostics branch from e7b7dc4 to 641c91d Compare July 17, 2026 23:58
@GregorShear
GregorShear marked this pull request as ready for review July 18, 2026 00:06
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