File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
website/static/js/page/contributor-guide Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -373,10 +373,14 @@ document.addEventListener("DOMContentLoaded", () => {
373373 targetIndex = startIndex - boundaryOffset ;
374374 }
375375
376- // If we've hit the oldest commit and it's already marked bad, we can't narrow further
376+ // If we've hit the oldest commit and it's still marked bad, we've exhausted history
377377 if ( targetIndex <= 0 && badIndex === 0 ) {
378- goodIndex = 0 ;
379378 showResult ( ) ;
379+ // Override the result message — we never confirmed a good baseline, so we can't pinpoint the introducing commit
380+ if ( elements . progressInfo ) {
381+ const label = mode === "regression" ? "regression" : "feature" ;
382+ elements . progressInfo . innerHTML = `<em>The ${ label } was already present in the oldest available commit</em>` ;
383+ }
380384 return ;
381385 }
382386
You can’t perform that action at this time.
0 commit comments