Skip to content

fix(ingestion): re-vendor web-tree-sitter 0.26.9 runtime wasm#147

Merged
theagenticguy merged 2 commits into
mainfrom
fix/revendor-web-tree-sitter-0.26.9
May 28, 2026
Merged

fix(ingestion): re-vendor web-tree-sitter 0.26.9 runtime wasm#147
theagenticguy merged 2 commits into
mainfrom
fix/revendor-web-tree-sitter-0.26.9

Conversation

@theagenticguy
Copy link
Copy Markdown
Owner

Summary

Fixes the v0.6.2 release-publish abort. PR #137 bumped web-tree-sitter 0.26.8 → 0.26.9 in package.json but did not re-run scripts/build-vendor-wasms.sh, so:

  • vendor/wasms/manifest.json still recorded 0.26.8
  • the vendored web-tree-sitter.wasm was still the 0.26.8 blob

The prepublishOnly guard (verify-vendor-wasms.mjs) correctly caught the drift and blocked pnpm publish of @opencodehub/ingestion. Because pnpm -r publish runs in dependency order and ingestion is upstream of cli/mcp/pack, that abort left the v0.6.2 npm release half-published.

Fix

  • Re-copied the real 0.26.9 runtime wasm from the installed package (sha 1ed02fe…, was 082795b…).
  • Bumped the manifest string to 0.26.9.

The 14 grammar wasms are unchanged (their pins didn't move), so no docker/emcc rebuild was needed — just the runtime blob the bump actually touched.

Test plan

  • node verify-vendor-wasms.mjs — OK (16 wasm files, manifest matches pins)
  • pnpm -F @opencodehub/ingestion test — 602/602 pass against the new runtime wasm
  • full pnpm run check — green, 0 failures across 16 packages
  • CI green

Release recovery (after merge)

v0.6.2 partially published before the abort (analysis, scanners, scip-ingest, search, storage, wiki). This fix unblocks ingestion so the remaining 10 packages (cli, mcp, pack, core-types, embedder, frameworks, policy, sarif, summarizer, cobol-proleap) can publish — completing the release and resolving the currently-broken cross-package dep graph on npm. Will be cut as the next release-please version.

theagenticguy and others added 2 commits May 28, 2026 21:05
PR #137 bumped web-tree-sitter 0.26.8 → 0.26.9 in package.json but did
not re-run scripts/build-vendor-wasms.sh, so vendor/wasms/manifest.json
still recorded 0.26.8 and the vendored web-tree-sitter.wasm was the old
0.26.8 blob. The prepublishOnly guard (verify-vendor-wasms.mjs) caught
the drift and blocked `pnpm publish` of @opencodehub/ingestion during the
v0.6.2 release — which aborted the rest of the dependency-ordered publish.

Re-copies the 0.26.9 runtime wasm from the installed package and bumps
the manifest string to match. The 14 grammar wasms are unchanged (their
pinned versions did not move), so no toolchain rebuild was needed.

Validation: verify-vendor-wasms.mjs OK; ingestion 602/602 tests pass
against the new runtime wasm; full `pnpm run check` green.
@theagenticguy theagenticguy enabled auto-merge (squash) May 28, 2026 21:10
@theagenticguy theagenticguy merged commit 9a146a5 into main May 28, 2026
29 of 34 checks passed
@theagenticguy theagenticguy deleted the fix/revendor-web-tree-sitter-0.26.9 branch May 28, 2026 21:11
@github-actions github-actions Bot mentioned this pull request May 28, 2026
theagenticguy pushed a commit that referenced this pull request May 28, 2026
🤖 Automated release via release-please
---


<details><summary>cli: 0.5.3</summary>

##
[0.5.3](cli-v0.5.2...cli-v0.5.3)
(2026-05-28)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @opencodehub/ingestion bumped to 0.4.3
    * @opencodehub/mcp bumped to 0.4.2
    * @opencodehub/pack bumped to 0.2.2
</details>

<details><summary>cobol-proleap: 0.1.7</summary>

##
[0.1.7](cobol-proleap-v0.1.6...cobol-proleap-v0.1.7)
(2026-05-28)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @opencodehub/ingestion bumped to 0.4.3
</details>

<details><summary>ingestion: 0.4.3</summary>

##
[0.4.3](ingestion-v0.4.2...ingestion-v0.4.3)
(2026-05-28)


### Bug Fixes

* **ingestion:** re-vendor web-tree-sitter 0.26.9 runtime wasm
([#147](#147))
([9a146a5](9a146a5))
</details>

<details><summary>mcp: 0.4.2</summary>

##
[0.4.2](mcp-v0.4.1...mcp-v0.4.2)
(2026-05-28)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @opencodehub/pack bumped to 0.2.2
</details>

<details><summary>pack: 0.2.2</summary>

##
[0.2.2](pack-v0.2.1...pack-v0.2.2)
(2026-05-28)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @opencodehub/ingestion bumped to 0.4.3
</details>

<details><summary>root: 0.6.3</summary>

##
[0.6.3](root-v0.6.2...root-v0.6.3)
(2026-05-28)


### Bug Fixes

* **ingestion:** re-vendor web-tree-sitter 0.26.9 runtime wasm
([#147](#147))
([9a146a5](9a146a5))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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