@diffci.com/diffci 0.3.50 → 0.3.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist-client/src/client/red-builds.d.ts +5 -0
  2. package/dist-client/src/client/red-builds.js +13 -4
  3. package/dist-client/src/client/verify-savings.d.ts +2 -0
  4. package/dist-client/src/client/verify-savings.js +104 -80
  5. package/node_modules/@diffci.com/core/README.md +6 -5
  6. package/node_modules/@diffci.com/core/dist/ci-inference/evidence.js +2 -1
  7. package/node_modules/@diffci.com/core/dist/ci-inference/evidence.js.map +1 -1
  8. package/node_modules/@diffci.com/core/dist/git/git-diff.js +7 -1
  9. package/node_modules/@diffci.com/core/dist/git/git-diff.js.map +1 -1
  10. package/node_modules/@diffci.com/core/dist/planner/path-baseline.js +2 -1
  11. package/node_modules/@diffci.com/core/dist/planner/path-baseline.js.map +1 -1
  12. package/node_modules/@diffci.com/core/dist/repo/analyzer.js +3 -5
  13. package/node_modules/@diffci.com/core/dist/repo/analyzer.js.map +1 -1
  14. package/node_modules/@diffci.com/core/dist/repo/impact.js +51 -5
  15. package/node_modules/@diffci.com/core/dist/repo/impact.js.map +1 -1
  16. package/node_modules/@diffci.com/core/dist/research/baseline/path-baseline.js +4 -1
  17. package/node_modules/@diffci.com/core/dist/research/baseline/path-baseline.js.map +1 -1
  18. package/node_modules/@diffci.com/core/src/ci-inference/evidence.ts +2 -1
  19. package/node_modules/@diffci.com/core/src/git/git-diff.ts +7 -1
  20. package/node_modules/@diffci.com/core/src/planner/path-baseline.ts +2 -1
  21. package/node_modules/@diffci.com/core/src/repo/analyzer.ts +3 -5
  22. package/node_modules/@diffci.com/core/src/repo/impact.ts +47 -5
  23. package/node_modules/@diffci.com/core/src/research/baseline/path-baseline.ts +3 -1
  24. package/package.json +2 -2
@@ -26,6 +26,11 @@ export interface JobSummary {
26
26
  startedAt: string | null;
27
27
  completedAt: string | null;
28
28
  failedSteps: string[];
29
+ /**
30
+ * False when GitHub returned no step list for the job. It drops step data on old runs (seen on github/gh-aw
31
+ * runs seven months old, 2026-11-16), so "no failed step" then means "unknown", not "cancelled".
32
+ */
33
+ stepsKnown?: boolean;
29
34
  }
30
35
  export interface Annotation {
31
36
  path: string | null;
@@ -52,11 +52,16 @@ const AGENT_BRANCH = /^(claude|codex|copilot|cursor|devin|jules)[/-]/i;
52
52
  export const VERDICTS = ["preventable", "partly", "likely", "shared", "ci-only", "flaky", "infra"];
53
53
  export const DEFAULT_PATTERNS = { checkJob: CHECK_JOB, ciOnlyJob: CI_ONLY_JOB };
54
54
  export function bucketJob(job, patterns = DEFAULT_PATTERNS, workflowName = "") {
55
- if (job.failedSteps.length === 0)
55
+ if (job.stepsKnown === false) {
56
+ // No step data: a failed job is judged by its name alone; a cancelled or timed-out one stays infra.
57
+ if (job.conclusion !== "failure")
58
+ return "infra";
59
+ }
60
+ else if (job.failedSteps.length === 0)
56
61
  return "infra"; // cancelled, timed out or runner lost: no step failed
57
- if (job.failedSteps.every((step) => INFRA_STEP.test(step)))
62
+ if (job.failedSteps.length > 0 && job.failedSteps.every((step) => INFRA_STEP.test(step)))
58
63
  return "infra";
59
- if (job.failedSteps.every((step) => CI_ONLY_STEP.test(step)))
64
+ if (job.failedSteps.length > 0 && job.failedSteps.every((step) => CI_ONLY_STEP.test(step)))
60
65
  return "ci-only";
61
66
  // The job's own name, without a "Workflow / " prefix, decides. CI-only wins so "e2e tests" is not a check.
62
67
  const name = jobName(job);
@@ -76,8 +81,11 @@ function jobName(job) {
76
81
  }
77
82
  export function isAggregateJob(job) {
78
83
  const name = jobName(job).replace(/[()]/g, "").trim();
79
- return AGGREGATE_JOB.test(name) || AGGREGATE_SUFFIX.test(name);
84
+ return AGGREGATE_JOB.test(name) || AGGREGATE_SUFFIX.test(name) || GATE_JOB.test(name);
80
85
  }
86
+ /** Gate jobs named "PR Gate", "CI Gate" (microsoft/vscode, microsoft/typespec, 2026-11-16): they only report
87
+ * that another job failed. Read as CI-only, they made every red run on those repositories CI-only. */
88
+ const GATE_JOB = /^(pr|ci|merge|build|test|checks?)[- ]?gate$/i;
81
89
  /** Failure signatures of one job: annotation path, title and first message line, with volatile parts blurred. */
82
90
  export function signatures(annotations) {
83
91
  const out = new Set();
@@ -559,6 +567,7 @@ export async function collectRedBuilds(options) {
559
567
  list.push({
560
568
  id: j.id, name: String(j.name ?? ""), conclusion: j.conclusion ?? null, startedAt: j.started_at ?? null, completedAt: j.completed_at ?? null,
561
569
  failedSteps: (j.steps ?? []).filter((s) => s.conclusion === "failure").map((s) => String(s.name ?? "")),
570
+ stepsKnown: Array.isArray(j.steps) && j.steps.length > 0,
562
571
  });
563
572
  }
564
573
  if (batch.length < 100)
@@ -190,5 +190,7 @@ export declare function writeVerifySavingsReport(report: VerifySavingsReport, pa
190
190
  out: string;
191
191
  markdown?: string;
192
192
  }): void;
193
+ /** Whether a failed arm looks like a missing runner or dependency rather than a test failure. */
194
+ export declare function looksLikeMissingDependencies(measurement: CommandMeasurement): boolean;
193
195
  export declare function formatVerifySavingsSummary(report: VerifySavingsReport): string;
194
196
  export {};
@@ -278,10 +278,10 @@ export function measureCommand(command, options) {
278
278
  env: launch.pathEntry ? withPathEntry(env, launch.pathEntry) : env,
279
279
  });
280
280
  const finishedAt = new Date().toISOString();
281
- const failingTests = result.status === 0 ? [] : failingTestNames(`${result.stdout ?? ""}
281
+ const failingTests = result.status === 0 ? [] : failingTestNames(`${result.stdout ?? ""}
282
282
  ${result.stderr ?? ""}`);
283
283
  const testCount = runnerTestCount(result.stdout ?? "");
284
- const testResults = parseTestFileResults(`${result.stdout ?? ""}
284
+ const testResults = parseTestFileResults(`${result.stdout ?? ""}
285
285
  ${result.stderr ?? ""}`);
286
286
  return {
287
287
  command,
@@ -434,84 +434,84 @@ export function renderVerifySavingsMarkdown(report) {
434
434
  : report.comparison.performanceEvidence === "CONTROLLED"
435
435
  ? "Review the repeated-run distribution and failure assessment before considering a production trial."
436
436
  : "Repeat at least three times with alternating order and a cache-preparation command to establish controlled cache state before making a production-savings claim.";
437
- return `${title}
438
-
439
- Produced at: ${report.producedAt}
440
- Repository label: ${report.label ?? "not provided"}
441
- Selection source: ${report.selectionSource}
442
- ${selectionCounts}${warning}
443
-
444
- This report compares a full command with a selected command on the same checkout. It is measured pilot evidence, not a production-savings claim.
445
-
446
- ## Result
447
-
448
- ${!report.comparison.fullCommandSucceeded || !report.comparison.selectedCommandSucceeded ? "Comparison invalid: command failure. Do not interpret the timing difference as savings.\n" : !report.comparison.evidenceValid ? "Comparison invalid: checkout identity changed or could not be verified. Do not interpret the timing difference as savings.\n" : ""}
449
- | Measure | Value |
450
- | --- | ---: |
451
- | Full runtime | ${formatMs(report.comparison.fullWallMs)} |
452
- | Selected runtime | ${formatMs(report.comparison.selectedWallMs)} |
453
- | Test execution change vs full | ${formatPercent(report.comparison.grossPercentChange)} |
454
- | DiffCI analysis overhead | ${overhead} |
455
- | Net selected runtime | ${formatMs(report.comparison.netSelectedMs)} |
456
- | Delta vs full | ${formatMs(report.comparison.deltaMs)} ${deltaLabel} |
457
- | Percent change vs full | ${formatPercent(report.comparison.percentChange)} |
458
- | Runtime evidence | ${report.comparison.performanceEvidence.toLowerCase()} |
459
- | Repetitions | ${report.comparison.repetitions} |
460
- | Full runtime range | ${formatMs(report.comparison.fullWallMsRange.min)} / ${formatMs(report.comparison.fullWallMsRange.median)} / ${formatMs(report.comparison.fullWallMsRange.max)} (min/median/max) |
461
- | Selected runtime range | ${formatMs(report.comparison.selectedWallMsRange.min)} / ${formatMs(report.comparison.selectedWallMsRange.median)} / ${formatMs(report.comparison.selectedWallMsRange.max)} (min/median/max) |
462
-
463
- ## Measurement Protocol
464
-
465
- | Field | Value |
466
- | --- | --- |
467
- | Alternating arm order | ${report.protocol.alternatingOrder ? "yes" : "no"} |
468
- | Declared cache state | ${report.protocol.declaredCacheState} |
469
- | Cache preparation command | ${report.protocol.cachePreparationCommand ? `\`${report.protocol.cachePreparationCommand.replaceAll("|", "\\|")}\`` : "not provided"} |
470
- | Cache state controlled | ${report.protocol.cacheStateControlled ? "yes" : "no"} |
471
-
472
- ## Failure Assessment
473
-
474
- | Field | Value |
475
- | --- | --- |
476
- | Classification | ${report.failureAssessment.kind} |
477
- | Confidence | ${report.failureAssessment.confidence} |
478
- | Explanation | ${report.failureAssessment.explanation} |
479
-
480
- ## Provenance
481
-
482
- | Field | Value |
483
- | --- | --- |
484
- | Base SHA | \`${report.provenance.baseSha ?? "unavailable"}\` |
485
- | Head SHA | \`${report.provenance.headSha ?? "unavailable"}\` |
486
- | Observation SHA-256 | \`${report.provenance.observationSha256 ?? "unavailable"}\` |
487
- | DiffCI observer version | ${report.provenance.observerVersion ?? "unavailable"} |
488
- | Checkout stable across both arms | ${report.provenance.checkoutStable ? "yes" : "no"} |
489
- | Dependency inputs SHA-256 | \`${report.provenance.beforeFull.dependencyInputsSha256 ?? "unavailable"}\` |
490
- | Resolved dependency markers SHA-256 | \`${report.provenance.beforeFull.resolvedDependencySha256 ?? "unavailable"}\` |
491
- | Runner identity SHA-256 | \`${report.runnerIdentity.fingerprintSha256}\` |
492
-
493
- ## Commands
494
-
495
- | Arm | Exit | Timed out | Command |
496
- | --- | ---: | --- | --- |
497
- | Full | ${report.full.exitCode ?? "signal"} | ${report.full.timedOut ? "yes" : "no"} | \`${report.full.command.replaceAll("|", "\\|")}\` |
498
- | Selected | ${report.selected.exitCode ?? "signal"} | ${report.selected.timedOut ? "yes" : "no"} | \`${report.selected.command.replaceAll("|", "\\|")}\` |
499
-
500
- ## Maintainer Review
501
-
502
- | Question | Answer |
503
- | --- | --- |
504
- | Command coverage | ${commandCoverage} |
505
- | Cache state | ${report.protocol.cacheStateControlled ? `${report.protocol.declaredCacheState}; reset/preparation applied before each arm.` : `${report.protocol.declaredCacheState}; not independently controlled.`} |
506
- | Invalid evidence handling | Failed commands or unstable checkout provenance are labelled diagnostic only above. |
507
- | Next step | ${nextStep} |
508
-
509
- ## Interpretation Notes
510
-
511
- ${report.notes.map((note) => `- ${note}`).join("\n")}
512
-
513
- Open-source engine: [DiffCI/core](https://github.com/DiffCI/core).
514
- ${formatGrowthPrompt(report) ? "\nUseful? [Star DiffCI](https://github.com/DiffCI/core) or [volunteer a pilot repository](https://diffci.com/#pilot).\n" : ""}
437
+ return `${title}
438
+
439
+ Produced at: ${report.producedAt}
440
+ Repository label: ${report.label ?? "not provided"}
441
+ Selection source: ${report.selectionSource}
442
+ ${selectionCounts}${warning}
443
+
444
+ This report compares a full command with a selected command on the same checkout. It is measured pilot evidence, not a production-savings claim.
445
+
446
+ ## Result
447
+
448
+ ${!report.comparison.fullCommandSucceeded || !report.comparison.selectedCommandSucceeded ? "Comparison invalid: command failure. Do not interpret the timing difference as savings.\n" : !report.comparison.evidenceValid ? "Comparison invalid: checkout identity changed or could not be verified. Do not interpret the timing difference as savings.\n" : ""}
449
+ | Measure | Value |
450
+ | --- | ---: |
451
+ | Full runtime | ${formatMs(report.comparison.fullWallMs)} |
452
+ | Selected runtime | ${formatMs(report.comparison.selectedWallMs)} |
453
+ | Test execution change vs full | ${formatPercent(report.comparison.grossPercentChange)} |
454
+ | DiffCI analysis overhead | ${overhead} |
455
+ | Net selected runtime | ${formatMs(report.comparison.netSelectedMs)} |
456
+ | Delta vs full | ${formatMs(report.comparison.deltaMs)} ${deltaLabel} |
457
+ | Percent change vs full | ${formatPercent(report.comparison.percentChange)} |
458
+ | Runtime evidence | ${report.comparison.performanceEvidence.toLowerCase()} |
459
+ | Repetitions | ${report.comparison.repetitions} |
460
+ | Full runtime range | ${formatMs(report.comparison.fullWallMsRange.min)} / ${formatMs(report.comparison.fullWallMsRange.median)} / ${formatMs(report.comparison.fullWallMsRange.max)} (min/median/max) |
461
+ | Selected runtime range | ${formatMs(report.comparison.selectedWallMsRange.min)} / ${formatMs(report.comparison.selectedWallMsRange.median)} / ${formatMs(report.comparison.selectedWallMsRange.max)} (min/median/max) |
462
+
463
+ ## Measurement Protocol
464
+
465
+ | Field | Value |
466
+ | --- | --- |
467
+ | Alternating arm order | ${report.protocol.alternatingOrder ? "yes" : "no"} |
468
+ | Declared cache state | ${report.protocol.declaredCacheState} |
469
+ | Cache preparation command | ${report.protocol.cachePreparationCommand ? `\`${report.protocol.cachePreparationCommand.replaceAll("|", "\\|")}\`` : "not provided"} |
470
+ | Cache state controlled | ${report.protocol.cacheStateControlled ? "yes" : "no"} |
471
+
472
+ ## Failure Assessment
473
+
474
+ | Field | Value |
475
+ | --- | --- |
476
+ | Classification | ${report.failureAssessment.kind} |
477
+ | Confidence | ${report.failureAssessment.confidence} |
478
+ | Explanation | ${report.failureAssessment.explanation} |
479
+
480
+ ## Provenance
481
+
482
+ | Field | Value |
483
+ | --- | --- |
484
+ | Base SHA | \`${report.provenance.baseSha ?? "unavailable"}\` |
485
+ | Head SHA | \`${report.provenance.headSha ?? "unavailable"}\` |
486
+ | Observation SHA-256 | \`${report.provenance.observationSha256 ?? "unavailable"}\` |
487
+ | DiffCI observer version | ${report.provenance.observerVersion ?? "unavailable"} |
488
+ | Checkout stable across both arms | ${report.provenance.checkoutStable ? "yes" : "no"} |
489
+ | Dependency inputs SHA-256 | \`${report.provenance.beforeFull.dependencyInputsSha256 ?? "unavailable"}\` |
490
+ | Resolved dependency markers SHA-256 | \`${report.provenance.beforeFull.resolvedDependencySha256 ?? "unavailable"}\` |
491
+ | Runner identity SHA-256 | \`${report.runnerIdentity.fingerprintSha256}\` |
492
+
493
+ ## Commands
494
+
495
+ | Arm | Exit | Timed out | Command |
496
+ | --- | ---: | --- | --- |
497
+ | Full | ${report.full.exitCode ?? "signal"} | ${report.full.timedOut ? "yes" : "no"} | \`${report.full.command.replaceAll("|", "\\|")}\` |
498
+ | Selected | ${report.selected.exitCode ?? "signal"} | ${report.selected.timedOut ? "yes" : "no"} | \`${report.selected.command.replaceAll("|", "\\|")}\` |
499
+
500
+ ## Maintainer Review
501
+
502
+ | Question | Answer |
503
+ | --- | --- |
504
+ | Command coverage | ${commandCoverage} |
505
+ | Cache state | ${report.protocol.cacheStateControlled ? `${report.protocol.declaredCacheState}; reset/preparation applied before each arm.` : `${report.protocol.declaredCacheState}; not independently controlled.`} |
506
+ | Invalid evidence handling | Failed commands or unstable checkout provenance are labelled diagnostic only above. |
507
+ | Next step | ${nextStep} |
508
+
509
+ ## Interpretation Notes
510
+
511
+ ${report.notes.map((note) => `- ${note}`).join("\n")}
512
+
513
+ Open-source engine: [DiffCI/core](https://github.com/DiffCI/core).
514
+ ${formatGrowthPrompt(report) ? "\nUseful? [Star DiffCI](https://github.com/DiffCI/core) or [volunteer a pilot repository](https://diffci.com/#pilot).\n" : ""}
515
515
  `;
516
516
  }
517
517
  function writeText(path, value) {
@@ -595,10 +595,34 @@ export function writeVerifySavingsReport(report, paths) {
595
595
  if (paths.markdown)
596
596
  writeText(paths.markdown, renderVerifySavingsMarkdown(report));
597
597
  }
598
+ /** Output that means the test runner or a module could not be found, the usual sign of a fresh
599
+ * clone whose dependencies were never installed (2026-11-16: a first `check` on an un-installed
600
+ * Core clone printed only "inconclusive", with no hint why). */
601
+ const MISSING_TOOL_PATTERNS = [
602
+ /is not recognized as an internal or external command/i,
603
+ /command not found/i,
604
+ /^(?:\/bin\/)?(?:ba|da)?sh: (?:line \d+: |\d+: )?\S+: not found/im,
605
+ /npx canceled due to missing packages/i,
606
+ /could not determine executable to run/i,
607
+ /Cannot find module/,
608
+ /Cannot find package/,
609
+ /ERR_MODULE_NOT_FOUND/,
610
+ ];
611
+ /** Whether a failed arm looks like a missing runner or dependency rather than a test failure. */
612
+ export function looksLikeMissingDependencies(measurement) {
613
+ if (measurement.exitCode === 0 || measurement.timedOut)
614
+ return false;
615
+ if (measurement.exitCode === 127)
616
+ return true;
617
+ const output = `${measurement.stderrTail}\n${measurement.stdoutTail}`;
618
+ return MISSING_TOOL_PATTERNS.some((pattern) => pattern.test(output));
619
+ }
598
620
  export function formatVerifySavingsSummary(report) {
599
621
  if (!report.comparison.fullCommandSucceeded || !report.comparison.selectedCommandSucceeded) {
622
+ const missing = [report.full, report.selected].some(looksLikeMissingDependencies);
600
623
  return "DiffCI verify-savings: comparison invalid because one or both commands failed" +
601
624
  `\n failure assessment: ${report.failureAssessment.kind} (${report.failureAssessment.confidence}) - ${report.failureAssessment.explanation}` +
625
+ (missing ? "\n hint: the test runner or a module was not found. Install the repository's dependencies (for example `npm ci` or `pnpm install`), then run this again." : "") +
602
626
  (report.comparison.missedFailureSignal ? "\n warning: full failed while selected passed; inspect outputs before claiming safety" : "");
603
627
  }
604
628
  if (!report.comparison.evidenceValid) {
@@ -21,7 +21,7 @@ If DiffCI saves you CI time, a ⭐ helps others find it.
21
21
 
22
22
  ```yaml
23
23
  - uses: actions/checkout@v7
24
- - uses: DiffCI/core@v0.3.48
24
+ - uses: DiffCI/core@v0.3.50
25
25
  ```
26
26
 
27
27
  Add `with: comment: "true"` (and `pull-requests: write` on the job) and the same answer appears on the pull request itself, updated in place on each push:
@@ -164,7 +164,7 @@ Each study is a replay on real repositories, with its method, raw data and limit
164
164
  [Star Core](https://github.com/DiffCI/core) · [Volunteer a pilot repository](https://diffci.com/#pilot) · [Find a first contribution](https://github.com/DiffCI/core/issues?q=is%3Aopen+label%3A%22good+first+issue%22).
165
165
  Watch → Custom → Releases and Discussions for benchmark results and support updates. [Public roadmap](docs/roadmap.md).
166
166
 
167
- This is the standalone Core engine. It analyzes local JavaScript/TypeScript repositories, supported Vue components, root Go modules, conventional Maven reactors and Python projects tested with pytest, traces dependency impact, infers GitHub Actions structure and proposes test selections with evidence and full-run fallbacks. It works without a DiffCI account, hosted service or API key. See [the release boundary](docs/release-boundary.md) for support limits.
167
+ This is the standalone Core engine. It analyzes local JavaScript/TypeScript repositories, supported Vue components, root Go modules, conventional Maven reactors, Python projects tested with pytest and, experimentally, Cargo workspaces (Rust support is new and has not yet narrowed a real project's history, so expect full runs there for now), traces dependency impact, infers GitHub Actions structure and proposes test selections with evidence and full-run fallbacks. It works without a DiffCI account, hosted service or API key. See [the release boundary](docs/release-boundary.md) for support limits.
168
168
 
169
169
  **Want to try DiffCI in an existing repository?** Use the published CLI: `npx @diffci.com/diffci@latest check`. See [the CLI quickstart](docs/using-diffci.md) for a no-execution analysis option, prerequisites, and result interpretation. To get help setting it up and have the cases that matter to your repository fixed first, [join as a design partner](https://github.com/DiffCI/core/issues/86). Tried it already? [Share your result](https://github.com/DiffCI/core/issues/new?template=community-result.yml), including fallbacks, refusals and misses, and choose whether we may publish it. The commands below build the standalone engine from source.
170
170
 
@@ -269,20 +269,21 @@ What stays in Core, and never moves to Cloud, is set out in [STEWARDSHIP.md](STE
269
269
 
270
270
  ## Contributing
271
271
 
272
- Most open work is teaching DiffCI to narrow changes it currently treats as "run everything": config files, `package.json` edits and lockfiles. Each case is small and comes with a synthetic fixture, so you don't need to learn the whole engine. Django, Rust and PHP support are next and split into one-PR steps: see the [Django](https://github.com/DiffCI/core/issues/87), [Rust](https://github.com/DiffCI/core/issues/62) and [PHP](https://github.com/DiffCI/core/issues/88) tracking issues, or the [Go](https://github.com/DiffCI/core/issues/76) and [Maven](https://github.com/DiffCI/core/issues/89) ones for fewer full-suite fallbacks. Pick a [good first issue](https://github.com/DiffCI/core/issues?q=is%3Aopen+label%3A%22good+first+issue%22) and see [CONTRIBUTING.md](CONTRIBUTING.md); a dev container is included.
272
+ Most open work is teaching DiffCI to narrow changes it currently treats as "run everything": config files, `package.json` edits and lockfiles. Each case is small and comes with a synthetic fixture, so you don't need to learn the whole engine. Django and PHP support are next and split into one-PR steps: see the [Django](https://github.com/DiffCI/core/issues/87) and [PHP](https://github.com/DiffCI/core/issues/88) tracking issues, or the [Go](https://github.com/DiffCI/core/issues/76), [Maven](https://github.com/DiffCI/core/issues/89) and [Rust](https://github.com/DiffCI/core/issues/131) ones for fewer full-suite fallbacks. Pick a [good first issue](https://github.com/DiffCI/core/issues?q=is%3Aopen+label%3A%22good+first+issue%22) and see [CONTRIBUTING.md](CONTRIBUTING.md); a dev container is included.
273
273
 
274
274
  ### Contributors
275
275
 
276
276
  Thank you to everyone who has improved DiffCI:
277
277
 
278
278
  - <a href="https://github.com/KingEmma7"><img src="https://github.com/KingEmma7.png?size=80" width="40" height="40" alt="@KingEmma7"></a> **[Emmanuel Mawulolo Tagbor](https://github.com/KingEmma7)**: [`diffci check-plan`](docs/using-diffci.md#compare-a-plan-with-a-full-suite-junit-report) for comparing a saved plan with full-suite JUnit results ([#74](https://github.com/DiffCI/core/pull/74)), Yarn Classic lockfile narrowing ([#63](https://github.com/DiffCI/core/pull/63)), and follow-ups ([#67](https://github.com/DiffCI/core/pull/67), [#70](https://github.com/DiffCI/core/pull/70)).
279
- - <a href="https://github.com/FredApps"><img src="https://github.com/FredApps.png?size=80" width="40" height="40" alt="@FredApps"></a> **[@FredApps](https://github.com/FredApps)**, **[Area maintainer: Rust](CONTRIBUTING.md#contributor-tiers)**: Cargo package and test-target mapping, the foundation for [Rust support](https://github.com/DiffCI/core/issues/62) ([#91](https://github.com/DiffCI/core/pull/91)), and five safety fixes for runtime module dependencies, Maven module resources, runner suites, deleted assets and Go runtime inputs ([#32](https://github.com/DiffCI/core/pull/32)–[#36](https://github.com/DiffCI/core/pull/36)).
279
+ - <a href="https://github.com/FredApps"><img src="https://github.com/FredApps.png?size=80" width="40" height="40" alt="@FredApps"></a> **[@FredApps](https://github.com/FredApps)**, **[Area maintainer: Rust](CONTRIBUTING.md#contributor-tiers)**: the [Rust (Cargo) adapter](https://github.com/DiffCI/core/issues/62), from Cargo package and test-target mapping ([#91](https://github.com/DiffCI/core/pull/91)) through crate-dependency selection ([#92](https://github.com/DiffCI/core/pull/92)), conservative `cargo test` commands ([#93](https://github.com/DiffCI/core/pull/93)), registration inside the release boundary ([#94](https://github.com/DiffCI/core/pull/94)) and a pinned public replay on hosted CI ([#95](https://github.com/DiffCI/core/pull/95)), and five safety fixes for runtime module dependencies, Maven module resources, runner suites, deleted assets and Go runtime inputs ([#32](https://github.com/DiffCI/core/pull/32)–[#36](https://github.com/DiffCI/core/pull/36)).
280
280
  - <a href="https://github.com/shounakjoshi88-a11y"><img src="https://github.com/shounakjoshi88-a11y.png?size=80" width="40" height="40" alt="@shounakjoshi88-a11y"></a> **[Shounak Joshi](https://github.com/shounakjoshi88-a11y)**: Go package-owned `testdata` selection, so a golden-file edit runs the owning package's tests instead of the full suite ([#85](https://github.com/DiffCI/core/pull/85)).
281
281
  - <a href="https://github.com/bfs2021"><img src="https://github.com/bfs2021.png?size=80" width="40" height="40" alt="@bfs2021"></a> **[@bfs2021](https://github.com/bfs2021)**: `bun.lock` and `npm-shrinkwrap.json` recognition in the lockfile signal ([#64](https://github.com/DiffCI/core/pull/64)).
282
- - <a href="https://github.com/sarankumar1325"><img src="https://github.com/sarankumar1325.png?size=80" width="40" height="40" alt="@sarankumar1325"></a> **[@sarankumar1325](https://github.com/sarankumar1325)**: `bun.lock` detection in CI inference ([#105](https://github.com/DiffCI/core/pull/105)), removal of dead config-file patterns with a test for every entry ([#106](https://github.com/DiffCI/core/pull/106)), a shared lockfile list so every lockfile invalidates the Vue analysis cache ([#107](https://github.com/DiffCI/core/pull/107)), a regression test for `vite.config`-only changes in Vitest projects ([#109](https://github.com/DiffCI/core/pull/109)), Go `replace` targets inside the repository modelled under root-module scope instead of forcing the full suite ([#110](https://github.com/DiffCI/core/pull/110)), a full run when only `babel.config.*` or `.babelrc*` changes, where these files used to select no tests ([#108](https://github.com/DiffCI/core/pull/108)), and the shared lockfile names in reference resolution, impact analysis and the lockfile-free dependency check, replacing three hand-written copies ([#118](https://github.com/DiffCI/core/pull/118)–[#120](https://github.com/DiffCI/core/pull/120)), and a full-suite fallback when a package's Jest, Vitest or Babel config changes ([#121](https://github.com/DiffCI/core/pull/121)).
282
+ - <a href="https://github.com/sarankumar1325"><img src="https://github.com/sarankumar1325.png?size=80" width="40" height="40" alt="@sarankumar1325"></a> **[@sarankumar1325](https://github.com/sarankumar1325)**: lockfile and config-file signals. One shared lockfile list replaced every hand-written copy in `src/` ([#97](https://github.com/DiffCI/core/issues/97)): reference resolution, impact analysis and the lockfile-free dependency check ([#118](https://github.com/DiffCI/core/pull/118)–[#120](https://github.com/DiffCI/core/pull/120)), config-file discovery and impact classification, where `npm-shrinkwrap.json` is now a config change like every other lockfile ([#151](https://github.com/DiffCI/core/pull/151), [#152](https://github.com/DiffCI/core/pull/152)), the Vue analysis cache ([#107](https://github.com/DiffCI/core/pull/107)), CI inference ([#105](https://github.com/DiffCI/core/pull/105), [#146](https://github.com/DiffCI/core/pull/146)) and both path baselines, which now also fall back on `npm-shrinkwrap.json` ([#147](https://github.com/DiffCI/core/pull/147), [#148](https://github.com/DiffCI/core/pull/148)). A full run when only `babel.config.*` or `.babelrc*` changes ([#108](https://github.com/DiffCI/core/pull/108)) or a package's Jest, Vitest or Babel config changes ([#121](https://github.com/DiffCI/core/pull/121)), where these files used to select no tests. Regression tests for `vite.config`-only changes in Vitest projects ([#109](https://github.com/DiffCI/core/pull/109)) and for a root Vitest config that turns isolation off ([#149](https://github.com/DiffCI/core/pull/149)), and removal of dead config-file patterns with a test for every entry ([#106](https://github.com/DiffCI/core/pull/106)). Go `replace` targets inside the repository modelled under root-module scope instead of forcing the full suite ([#110](https://github.com/DiffCI/core/pull/110)). The [no-runnable-command reasons](docs/using-diffci.md#no-runnable-command), documented with a test that keeps the table complete ([#150](https://github.com/DiffCI/core/pull/150)), and `"\0"` escapes in place of raw NUL bytes, so git and ripgrep can search those source files again ([#145](https://github.com/DiffCI/core/pull/145)).
283
283
  - <a href="https://github.com/robertwmccarty-caelum"><img src="https://github.com/robertwmccarty-caelum.png?size=80" width="40" height="40" alt="@robertwmccarty-caelum"></a> **[@robertwmccarty-caelum](https://github.com/robertwmccarty-caelum)**: the Vitest reporter/timeout config fixture and its narrowing conditions ([#53](https://github.com/DiffCI/core/issues/53#issuecomment-6514436312), landed in [#65](https://github.com/DiffCI/core/pull/65)).
284
284
  - <a href="https://github.com/varshith84"><img src="https://github.com/varshith84.png?size=80" width="40" height="40" alt="@varshith84"></a> **[Varshith Sai Pasupuleti](https://github.com/varshith84)**: tests for transitive Vue selection and full fallback ([#16](https://github.com/DiffCI/core/pull/16)).
285
285
  - <a href="https://github.com/aniKet0753"><img src="https://github.com/aniKet0753.png?size=80" width="40" height="40" alt="@aniKet0753"></a> **[@aniKet0753](https://github.com/aniKet0753)**: a `diffci help` command list and `USAGE` text that match the commands the CLI runs, with a test that fails when a command is missing ([#130](https://github.com/DiffCI/core/pull/130)).
286
+ - <a href="https://github.com/tyza66"><img src="https://github.com/tyza66.png?size=80" width="40" height="40" alt="@tyza66"></a> **[@tyza66](https://github.com/tyza66)**: name the tool configuration behind a fallback instead of "Unknown changed file" ([#144](https://github.com/DiffCI/core/pull/144)).
286
287
 
287
288
  Every merged contribution is credited in the release notes, here, on [diffci.com/contributors](https://diffci.com/contributors), and next to the feature in the docs. The README and website entries are added automatically when a pull request merges. A [contributor tier](CONTRIBUTING.md#contributor-tiers) above Contributor is written after the name, as in **[Area maintainer: Rust](CONTRIBUTING.md#contributor-tiers)**, and diffci.com copies it from here.
288
289
 
@@ -12,6 +12,7 @@
12
12
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
13
13
  import { join } from "node:path";
14
14
  import { parse as parseYaml } from "yaml";
15
+ import { LOCKFILE_NAMES } from "../repo/lockfiles.js";
15
16
  /** Finds the 1-indexed line of the first occurrence of `needle`, for citable evidence. */
16
17
  function lineOf(source, needle) {
17
18
  const index = source.indexOf(needle);
@@ -60,7 +61,7 @@ export function packageFacts(repoPath) {
60
61
  /** Which lockfile is committed. The repository's own statement about its package manager. */
61
62
  export function lockfileFacts(repoPath) {
62
63
  const facts = [];
63
- for (const name of ["pnpm-lock.yaml", "yarn.lock", "package-lock.json", "bun.lock", "bun.lockb", "npm-shrinkwrap.json"]) {
64
+ for (const name of LOCKFILE_NAMES) {
64
65
  if (existsSync(join(repoPath, name))) {
65
66
  facts.push({ kind: "lockfile.present", value: name, evidence: { file: name, text: name } });
66
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"evidence.js","sourceRoot":"","sources":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$/,
187
+ // Node version and package-manager settings (issue #142). Each decides how the suite is installed,
188
+ // so a change falls back to the full suite; the entries make the reason name the file instead of
189
+ // reporting it as unknown.
190
+ /^\.nvmrc$/,
191
+ /^\.node-version$/,
192
+ /^\.npmrc$/,
187
193
  ];
188
194
  // Stage 1B fix (2026-08-21, docs/research/2026-08-21-stage1b-*.md): root-caused in Stage 1A's fallback-
189
195
  // composition analysis - dependencyManifestChanged previously fired on ANY change to the root
@@ -491,7 +497,7 @@ function listFilesAtSha(sha, repoPath) {
491
497
  const result = runGit(["ls-tree", "-r", "--full-tree", "--name-only", "-z", sha], repoPath);
492
498
  if (result.status !== 0)
493
499
  return [];
494
- return result.stdout.split("").filter(Boolean);
500
+ return result.stdout.split("\0").filter(Boolean);
495
501
  }
496
502
  /** Root entries include directories and gitlinks, which recursive file inventories can omit. */
497
503
  function readRootPathsAtSha(sha, repoPath) {