Commit 05d7545
test(scoring): pin the unpinned-fallback and languages-fetch-failed warnings
refreshScoringModelSnapshot pushes two operator-facing warnings that nothing
asserted. The unpinned-ref warning was already triggered by the SHA-failure
test but never checked, and it is the only signal that scoring is running
against a mutable ref. The languages-fetch-failed branch had never executed at
all: tests reaching constantsUsable === true always stubbed
programming_languages.json to succeed, and tests where it failed had
constants.py fail first, short-circuiting earlier.
Adds the missing assertion and a constants-succeed/languages-fail case
covering the warning and the empty programmingLanguages fallback. Verified
both fail when their warning push is removed.
Closes #83271 parent a20ddd8 commit 05d7545
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
503 | 528 | | |
504 | 529 | | |
505 | 530 | | |
| |||
0 commit comments