Skip to content

fix(cli): preserve safe external MySQL preflight diagnostics - #2598

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-2597-wp-codebox
Nov 26, 2026
Merged

chubes4 merged 1 commit into
mainfrom
fix/issue-2597-wp-codebox

Conversation

@chubes4

@chubes4 chubes4 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Committed as 0b3b16a8. External MySQL preflight failures now retain typed, secret-free diagnostics.

What changed

  • Added stable reason codes and safe messages to evidence.diagnostic.reason and provision errors.
  • Added tests covering every refusal reason, environment fields, and secret redaction.

Verification

  • 1-verify-011933d3056b7e7f303b92a3e45ac06e508f70a0fc4cc4aed8c33a89dcc9aeaf.txt (npm run build && npx tsx tests/external-mysql-runtime-service.test.ts && npx tsx tests/managed-database-diagnostics.tes…): passed on 0b3b16a. Base main@9fce8a7 unchanged. 1983 ms; retained gate metadata.

  • HOMEBOY_LINT_BASE=9fce8a758b44109b86da22db68a1b6c801bdd6bb homeboy --placement l (HOMEBOY_LINT_BASE=9fce8a758b44109b86da22db68a1b6c801bdd6bb homeboy --placement local review lint wp-codebox --path . --…): passed on 0b3b16a. Base main@9fce8a7 unchanged. 3088 ms; retained gate metadata.

  • repro: none (no repro gate was declared, so these gates do not prove the issue).

  • CI: pending

Cook run
  • Gate 1: tree 6a17465a074fe8607db31c19e136ad358e14d201
  • Gate 2: tree 6a17465a074fe8607db31c19e136ad358e14d201

Delivery

Evidence

  • CLI TypeScript build and git diff --check passed. Full verification gates left to Homeboy.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.1-sol. Cook time: 9m18s.

Implementation and reviewer documentation were written by the AI, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Refs #2597

@chubes4
chubes4 marked this pull request as ready for review November 26, 2026 22:04
@chubes4

chubes4 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

CI: the browser failure (tests/service-worker-preview-proxy.browser.test.ts, a postMessage origin mismatch) also fails on main at f9ff194, so it predates this change. Integration, fast contracts, package check and workflow-lint pass.

@chubes4
chubes4 merged commit 2cb51c5 into main Nov 26, 2026
4 of 5 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.

1 participant