Skip to content

Preserve tool catalogs when a sync cannot read its source#1335

Merged
RhysSullivan merged 1 commit into
mainfrom
fix/sync-parse-failure-preserves-catalog
Jul 7, 2026
Merged

Preserve tool catalogs when a sync cannot read its source#1335
RhysSullivan merged 1 commit into
mainfrom
fix/sync-parse-failure-preserves-catalog

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

A failed spec/introspection load during the stale tool sync could come back as a normal empty catalog, which the sync then treated as authoritative and used to replace a connection's existing tool rows. The OpenAPI and GraphQL plugins now report those failures as incomplete results (with a reason), and the background sync additionally refuses to replace a nonzero catalog with an empty one — only an explicit refresh can take a catalog to zero. Failed syncs record a degraded health detail on the connection so stale data is explainable, and a later successful sync clears it.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 0bc0711 Jul 07 2026, 08:37 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 0bc0711 Commit Preview URL

Branch Preview URL
Jul 07 2026, 08:38 AM

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Jul 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1335

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1335

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1335

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1335

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1335

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1335

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1335

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1335

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1335

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1335

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1335

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1335

executor

npm i https://pkg.pr.new/executor@1335

commit: 0bc0711

@RhysSullivan RhysSullivan force-pushed the fix/sync-parse-failure-preserves-catalog branch from 3db44dc to 85d438d Compare July 7, 2026 00:03
@RhysSullivan RhysSullivan force-pushed the fix/sync-parse-failure-preserves-catalog branch from 85d438d to 0bc0711 Compare July 7, 2026 08:35
@RhysSullivan RhysSullivan marked this pull request as ready for review July 7, 2026 08:51
@RhysSullivan RhysSullivan merged commit efd09e9 into main Jul 7, 2026
21 checks passed
@RhysSullivan RhysSullivan deleted the fix/sync-parse-failure-preserves-catalog branch July 7, 2026 08:52
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