Skip to content

fix(plugins): deduplicate recovery warnings and restore baseline coverage - #217

Merged
kingsword09 merged 1 commit into
mainfrom
codex/fix-207-recovery-followups
Oct 15, 2026
Merged

kingsword09 merged 1 commit into
mainfrom
codex/fix-207-recovery-followups

Conversation

@kingsword09

Copy link
Copy Markdown
Owner

When ZCODE_BUILTIN_PROVIDER_CONFIG_FILE points to an unavailable file, zcode plugins validate <name>@<marketplace> starts two app-server processes and prints the same recovery warning twice. Deduplicate identical recovery warnings within each CLI invocation, with regression coverage for both normal and JSON output.

The runtime test also skipped its failure control after every normal sync because the recovery patch is required. Generate a temporary baseline with only that patch removed, verify that reapplying it restores the patched runtime, and run the unavailable-override failure assertion unconditionally.

Addresses the two follow-up findings in #207 after #213.

Validation:

  • bun test test/launcher.test.ts test/app-server-client.test.ts test/plugin-cli.test.ts test/runtime-provider-env-patches.test.ts test/runtime/builtin-provider-env.test.ts — 65 passed, using the locally synced 3.15.1 runtime.
  • bun run typecheck — passed.
  • bun run build:launcher — passed.
  • git diff --check — passed.

@kingsword09
kingsword09 merged commit 2351fb1 into main Oct 15, 2026
5 checks passed
@kingsword09
kingsword09 deleted the codex/fix-207-recovery-followups branch October 15, 2026 03:04
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