Repository navigation
fix(ci): pin light-my-request in the consumer fixture - #89
Merged
Merged
Conversation
The package-consumer fixture pins fastify@5.8.5 but left its transitive dependencies floating. light-my-request@6.8.0 (2026-10-10) moved to cookie@^2, which is ESM-only and requires Node >= 22, so the Fastify fixture fails with ERR_REQUIRE_ESM on the Node 20.11.1 compatibility job. Pin light-my-request@6.6.0, the last release on cookie@^1. The fixture then resolves cookie@1.1.1 (engines: node >= 18) instead of cookie@2.0.2. No runtime, type, or export change in @workit/core. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
8 tasks done
8 tasks done
AdmilsonCossa
added a commit
that referenced
this pull request
Nov 14, 2026
Bump the workspace and package version to 1.0.1 and record the changelog entry. Maintenance release: the runtime, public exports and TypeScript declarations are unchanged from 1.0.0. 1.0.1 publishes the declared agent tool authority documentation and the corrected CORR-006 title (#88), the Node 20.11 consumer fixture pin (#89), and the release-line evaluation of REL-012 and REL-014 with the 1.0.0 compatibility baseline (#90). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Node 20.11.1 compatibility job fails with
ERR_REQUIRE_ESMin the Fastify consumer fixture ofcheck:package-consumer:node.The fixture pins
fastify@5.8.5but leaves its transitive dependencies floating.fastify@5.8.5acceptslight-my-request@^6.0.0, andlight-my-request@6.8.0(published 2026-10-10) moved tocookie@^2, which is ESM-only and declaresnode >= 22. Node 20.11.1 cannotrequire()it.The last CI run on
main(2026-09-28) predates that release, so the failure is latent onmainand first surfaced on #88.Change
packages/core/scripts/check-package-consumer.mjspinslight-my-request@6.6.0, the last release oncookie@^1, in the framework fixture install list. One file, four lines. No runtime, type, or export change in@workit/core.Ownership boundary
check-package-consumer.mjsremains the only owner of the installed-package consumer fixtures. No new script, gate, or public surface.Evidence
npm install --package-lock-only fastify@5.8.5): resolveslight-my-request@6.8.0andcookie@2.0.2(enginesnode >= 22). Withlight-my-request@6.6.0added:light-my-request@6.6.0andcookie@1.1.1(enginesnode >= 18).npm --workspace @workit/core run check:package-consumer:nodeon this branch, Windows, Node 24.19.0:{"packageConsumer":"ok","runtimeFixtures":"node-only","frameworkFixtures":"ok", ...}.8007d76withnpm run test:coverageat 100% statements, branches, functions and lines (425 tests).Limitations
Verify packagejob.light-my-requestrelease that supports Node 20. It does not change theenginesrange of@workit/core.Checklist
npm run test:coveragepasses with 100% statements, branches, functions, and lines.npm run verifypasses, or an environmental limitation is documented. (Bun fixture, see Limitations.)🤖 Generated with Claude Code