Skip to content

Fail closed on unusable WordPress CLI transports - #513

Merged
chubes4 merged 1 commit into
mainfrom
fix/512-wp-cli-transport-fail-closed
Aug 30, 2026
Merged

Fail closed on unusable WordPress CLI transports#513
chubes4 merged 1 commit into
mainfrom
fix/512-wp-cli-transport-fail-closed

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • select only WordPress CLI transports whose executable and runtime probe succeed
  • report bounded, candidate-specific discovery failures instead of synthesizing bare wp
  • preserve successful Studio selection and authoritative explicit transport configuration

Verification

  • bash -n lib/common.sh
  • bash -n tests/wp-cli-transport-resolution.sh
  • bash tests/wp-cli-transport-resolution.sh
  • bash tests/homeboy-dmc-provider.sh
  • bash tests/cli-transport-install.sh
  • bash tests/ci-coverage.sh

Closes #512.

AI Assistance

OpenAI GPT-5.6 Sol through OpenCode reproduced the Studio fallback failure, implemented bounded candidate diagnostics and fail-closed selection, and added portable regression coverage under Chris Huber's direction.

@chubes4
chubes4 merged commit dc27dc9 into main Aug 30, 2026
63 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.

Fail closed when no WordPress CLI transport candidate is usable

1 participant