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
Commit 317fa31
Browse filesBrowse the repository at this point in the historyBrowse files
return`[test] could not validate --changed=${preflight.comparisonRef}: Bun did not emit a recognizable selection summary for a diff containing ${preflight.changedFiles.length} changed file(s).`;
252
+
return`[test] could not validate --changed=${preflight.comparisonCommit} (${preflight.comparisonRef} merge base): Bun did not emit a recognizable selection summary for a diff containing ${preflight.changedFiles.length} changed file(s).`;
return`[test] --changed=${preflight.comparisonRef} selected 0 tests across 0 files, but the diff contains ${preflight.changedFiles.length} changed file(s). Bun follows only the parsed module graph; run the relevant focused tests for subprocess, read-as-data, or golden-file dependencies, or run the full suite.`;
255
+
return`[test] --changed=${preflight.comparisonCommit} (${preflight.comparisonRef} merge base) selected 0 tests across 0 files, but the diff contains ${preflight.changedFiles.length} changed file(s). Bun follows only the parsed module graph; run the relevant focused tests for subprocess, read-as-data, or golden-file dependencies, or run the full suite.`;
258
256
}
259
257
260
258
/**
@@ -288,12 +286,12 @@ function isFullSuiteRun(requested: string[]): boolean {
288
286
*/
289
287
exportfunctionresolveBunTestArgs(
290
288
requested: string[],
291
-
resolvedChangedRef?: string,
289
+
comparisonCommit?: string,
292
290
): string[]{
293
-
consteffectiveRequested=resolvedChangedRef
291
+
consteffectiveRequested=comparisonCommit
294
292
? requested.map(arg=>(
295
293
arg==="--changed"||arg.startsWith("--changed=")
296
-
? `--changed=${resolvedChangedRef}`
294
+
? `--changed=${comparisonCommit}`
297
295
: arg
298
296
))
299
297
: requested;
@@ -393,15 +391,17 @@ async function main(): Promise<number> {
0 commit comments