You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build(dist): committed bundle is stale — undici 6.27.0 -> 6.28.0 never rebundled #130
The committed bundle dist/index.js on dev is stale: it no longer matches src/ built against the current package-lock.json. A local just sync && just bundle produces a 146-insertion / 15-deletion diff.
Cause
The scheduled lock-file maintenance PRs (#109, #116, #120) moved the transitive
dependency undici from 6.27.0 to 6.28.0. undici is a runtime
dependency, not a dev one — it reaches the shipped bundle through both direct
dependencies:
ncc inlines it, so the bundle content changes even though src/ did not.
Why nothing caught it
dist-check.yml triggers only on pull_request to release/** and main:
on:
pull_request:
branches:
- 'release/**'
- main
Every Renovate PR targets dev, so Dist Check never ran on any of them and
the drift accumulated silently. The next release PR (release/X.Y.Z -> main)
is the first thing that would run it — and it would fail there, mid-release.
Impact
Two things, one of them consumer-visible:
The v0.3.2 release PR fails its required Dist Check gate.
Consumers pinning a released tag are running the older bundled undici
than the lockfile claims. 6.28.0 carries request-path hardening: header-value
validation before coercion (rejecting values from a crafted toString / Symbol.toPrimitive, and invalid content-type from a blob body) and Content-Length-mismatch detection on partial/ranged responses.
Acceptance criteria
just sync && just bundle leaves dist/index.js unchanged
CHANGELOG.md records the bundle refresh and the runtime movement it carries
The ## Unreleased lock-file-maintenance entry no longer claims the
movement was dev-dependency-only
Out of scope
Widening the dist-check.yml trigger to dev (managed by devkit; would need
an upstream change) — worth filing separately.
The tracked-but-gitignored dist/src/** declaration byproducts, which carry
absolute CI sourceRoot paths from the v0.3.0 finalize commit.
All three acceptance criteria verified on merged dev (7b0f4dc):
just sync && just bundle leaves dist/index.js unchanged — re-verified after merge; only the gitignored-but-tracked dist/src/**.d.ts.map byproducts churn, and that is the expected absolute-sourceRoot difference between a local build and the CI runner path, so Dist Check sees a clean tree.
CHANGELOG.md records the rebuild under ### Fixed, naming the runtime movement it carries: undici 6.28.0 plus @octokit/request 10.0.13 / @octokit/core 7.0.7.
The lock-file-maintenance entry no longer claims dev-dependency-only movement.
Scope note: the bundle diff turned out wider than this issue's title. #129 merged while the fix was in flight and moved @octokit/* as well, so the rebuild covers that too and the changelog entry was written against the full set rather than undici alone.
E2E Smoke on #132 executed the refreshed bundle against the live API, so the artifact is validated end to end, not merely diff-clean.
Both out-of-scope items above remain open work and are being filed separately.
Activity
build(dist): rebuild the committed bundle and correct the lock-file c…
c-vigo commentedon Aug 5, 2026
Resolved by #132 (merged as
17098c7).All three acceptance criteria verified on merged
dev(7b0f4dc):just sync && just bundleleavesdist/index.jsunchanged — re-verified after merge; only the gitignored-but-trackeddist/src/**.d.ts.mapbyproducts churn, and that is the expected absolute-sourceRootdifference between a local build and the CI runner path, soDist Checksees a clean tree.CHANGELOG.mdrecords the rebuild under### Fixed, naming the runtime movement it carries:undici6.28.0 plus@octokit/request10.0.13 /@octokit/core7.0.7.Scope note: the bundle diff turned out wider than this issue's title. #129 merged while the fix was in flight and moved
@octokit/*as well, so the rebuild covers that too and the changelog entry was written against the full set rather than undici alone.E2E Smokeon #132 executed the refreshed bundle against the live API, so the artifact is validated end to end, not merely diff-clean.Both out-of-scope items above remain open work and are being filed separately.
chore: release 0.3.2 (#136)
ci(release): rebuild the ncc bundle in prepare-release-extension.yml (#…
chore: release 0.3.3 (#159)