Repository navigation
fix(release): drop missing bundled runtime deps pack entry - #80117
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. from source inspection: current main lists and requires Real behavior proof Next step before merge Security Review detailsBest possible solution: Merge the focused deletion through the normal maintainer release gate so package validation no longer expects an absent helper. Do we have a high-confidence way to reproduce the issue? Yes, from source inspection: current main lists and requires Is this the best way to solve the issue? Yes. Removing the dead path from the package manifest, release-check required-path list, and matching tests is the narrow maintainable fix because the active postinstall path is Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against d580ec474cc9. |
8c6e8aa to
a1793e4
Compare
a1793e4 to
d7394d3
Compare
Summary
Fixes the release packaging regression from #74430. That PR added
scripts/lib/bundled-runtime-deps-install.mjsto bothscripts/release-check.tsrequired pack paths andpackage.json#files, but the script does not exist in the repo and is not generated by build. The release/package gate therefore required an impossible npm pack entry.This removes the dead path from:
package.jsonpackage filesscripts/release-check.tsrequired pack pathstest/release-check.test.tsexpected release-check pathsVerification
pnpm test test/release-check.test.tspnpm exec oxfmt --check --threads=1 package.json scripts/release-check.ts test/release-check.test.tspackage.json#files:package files entries existtbx_01kr87j7wet04hw8v90htssege:env CI=1 NODE_OPTIONS=--max-old-space-size=4096 pnpm build && pnpm ui:build && pnpm release:checkReal behavior proof
scripts/lib/bundled-runtime-deps-install.mjs, but that file does not exist and is not generated, so npm pack validation could never satisfy the new required path.maint/drop-missing-runtime-deps-pack-entry.env CI=1 NODE_OPTIONS=--max-old-space-size=4096 pnpm build && pnpm ui:build && pnpm release:check.release-check: npm pack contents and bundled channel entrypoints look OK.