Skip to content

refactor(file-references): use the shared lockfile list - #118

Merged
adityankale190895 merged 1 commit into
DiffCI:mainfrom
sarankumar1325:refactor/file-references-shared-lockfiles
Nov 11, 2026
Merged

adityankale190895 merged 1 commit into
DiffCI:mainfrom
sarankumar1325:refactor/file-references-shared-lockfiles

Conversation

@sarankumar1325

Copy link
Copy Markdown
Contributor

Part of #97 (this PR covers src/repo/file-references.ts; the issue says one PR per file is fine)

file-references.ts kept its own LOCKFILES set of lockfile names. It is used to skip lockfiles as readers during reference resolution and to decide which root files a Dockerfile only copies. The set matched the shared list today, but it was a separate copy that could drift.

impact.ts (isLockfile) and git-diff.ts (PACKAGE_LOCKFILES) follow in their own PRs. CONFIG_PATTERNS is not touched.

Tests

  • New tests/repo/file-references-lockfiles.test.ts (listed in release-files.json). For every name in LOCKFILE_NAMES, at the root and in packages/web/, a lockfile that names the changed file is not reported as a reader. A control case checks that a non-lockfile naming the file is still followed. Mutation check: dropping npm-shrinkwrap.json from the set fails 2 cases.
  • npm test: 931 pass, 0 fail. npm run typecheck and npm run audit:boundary are clean.

AI assistance was used to prepare this change; I reviewed and tested it.

file-references.ts kept its own set of lockfile names. Build it from
LOCKFILE_NAMES in src/repo/lockfiles.ts so it can't drift from the other
lockfile signals.

Part of DiffCI#97

Signed-off-by: sarankumar1325 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T09:53:59.226140Z fcefbbb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@adityankale190895
adityankale190895 merged commit f49165b into DiffCI:main Nov 11, 2026
11 checks passed
adityankale190895 added a commit that referenced this pull request Nov 11, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityankale190895 <[email protected]>
adityankale190895 added a commit that referenced this pull request Nov 11, 2026
Engine pin moves from a50b0ef to 8b8c5f5, picking up the Core engine
changes since 0.3.38: path-literal edges and narrowed computed-load
selections, relative imports of build output followed to source, Jest
confined to its sub-package, tsd/tstyche scoped to their own tests, Go
replace targets under root-module scope, every lockfile hashed and
reported (bun.lock included), and a babel.config-only change running
every test (#105-#110, #118-#120).

Descriptions across npm, the MCP registry, plugins and the Action now
read "verification for AI coding agents".
Records the Muse marketplace digest for the 0.3.39 package tree, computed
by the pinned Muse 1.4.11-R6667.1 build from an LF archive (the same
method reproduces 0.3.38's recorded digest).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityankale190895 <[email protected]>
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.

2 participants