Skip to content

fix(release): preserve the bundled MDI native overlay - #2612

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-2611-wp-codebox
Dec 2, 2026
Merged

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

Conversation

@chubes4

@chubes4 chubes4 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixed #2611 in commit 7af062f2. The release packager now removes only the two relocated PHP-WASM overlay directories, preserving the MDI native archive and provenance.

What changed

  • The CLI and release packager share the archive path. Packaging fails before writing the artifact if the archive is missing or empty, or if provenance is missing.
  • Release coverage checks the archive checksum and confirms the relocated PHP-WASM directories are absent from both the CLI tarball and the WordPress plugin bundle.
  • The runtime-services test checks that CLI archive resolution and the recipe builder's revision and checksum agree with provenance.

Verification

All gates passed on 7af062f. Base main@27c50a5 unchanged.

  • HOMEBOY_LINT_BASE=27c50a58c9759dd030313d7ba3f3655147bf96fa homeboy --placement local review lint wp-codebox --path . --…: passed, 230118 ms; retained gate metadata.
  • npm run build: passed, 4965 ms; retained gate metadata.
  • npm run test:release-package-coverage: passed, 293095 ms; retained gate metadata.
  • repro: none (no repro gate was declared, so these gates do not prove the issue).
  • CI: pending

Cook run
  • Cook ID: agent-task-31621115-e0a6-4c7b-953b-f8949c0e1ae2
  • Attempt run ID: retry-3945fca8-4d8c-5c0f-a6d7-e19adb904902
  • Gate 1: tree 4e5db14cdb71e5b54bd37af5124d39aed760d700
  • Gate 2: tree 4e5db14cdb71e5b54bd37af5124d39aed760d700
  • Gate 3: tree 4e5db14cdb71e5b54bd37af5124d39aed760d700

Evidence

  • The full build, release-package coverage, and lint gates were left to Homeboy. No downstream PHPUnit run was verified locally.
  • The targeted runtime-services test ran locally and passed, including the MDI pin checks and local archive preparation. The working tree is clean.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.2-sol. Cook time: 1h54m.

Implementation and reviewer documentation were written by the AI, under the direction of the Cook requester. Homeboy reports controller verification separately from this account of the AI's work. A human reviews before merge.

Refs #2611

@chubes4
chubes4 marked this pull request as ready for review December 2, 2026 16:53
@chubes4
chubes4 merged commit 7355016 into main Dec 2, 2026
4 of 5 checks passed
@chubes4
chubes4 deleted the fix/issue-2611-wp-codebox branch December 2, 2026 16:53
chubes4 added a commit to Extra-Chill/homeboy that referenced this pull request Dec 2, 2026
## Why
WP Codebox v0.34.7 (Automattic/wp-codebox#2612, fixing #2611) restores
`runtime-overlays/mdi-native/` in the release CLI artifact. Up to
v0.34.6 the packager deleted the whole `runtime-overlays` directory, so
every recipe using `database-type: mdi-native` failed validation
(`missing-path …/mdi-native/markdown-database-integration-4cf0a57.zip`).
Downstream, `data-machine-events` CI ran 0 of its 197 test files
(`PHPUNIT_ZERO_TESTS cause=recipe_validation_failed`), for example in
Extra-Chill/data-machine run 46939749268, which ran against v0.34.5.

## Changes
- Pin WP Codebox `v0.34.7`.
- Update the doctor smoke test's expected pin.

## Verification
- `wp-codebox-doctor-smoke.sh` passes.
- `tar tzf wp-codebox-cli-linux-x64.tar.gz` for v0.34.7 lists
`runtime-overlays/mdi-native/markdown-database-integration-4cf0a57.zip`
and `provenance.json`.

AI disclosure: Claude (Anthropic) in the Pi coding agent, via a Roadie
session at the maintainer's direction, wrote this.
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.

Release CLI artifact deletes runtime-overlays/mdi-native, so every mdi-native recipe fails missing-path

1 participant