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 50d10cd
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).`;
254
+
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.`;
257
+
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.`;
260
258
}
261
259
262
260
/**
@@ -290,12 +288,12 @@ function isFullSuiteRun(requested: string[]): boolean {
290
288
*/
291
289
exportfunctionresolveBunTestArgs(
292
290
requested: string[],
293
-
resolvedChangedRef?: string,
291
+
comparisonCommit?: string,
294
292
): string[]{
295
-
consteffectiveRequested=resolvedChangedRef
293
+
consteffectiveRequested=comparisonCommit
296
294
? requested.map(arg=>(
297
295
arg==="--changed"||arg.startsWith("--changed=")
298
-
? `--changed=${resolvedChangedRef}`
296
+
? `--changed=${comparisonCommit}`
299
297
: arg
300
298
))
301
299
: requested;
@@ -395,15 +393,17 @@ async function main(): Promise<number> {
0 commit comments