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
fix: stop the nightly crying wolf, and prove the deny is actually armed
Three from the final whole-diff review.
The worst was self-inflicted and would have shipped as a recurring 4am alarm.
WEBJS_REQUIRE_NETWORK did double duty: it selected the live files AND promoted
every upstream-trouble skip into a failure. The nightly always sets it, and the
runners only select those files under it, so the transport-level skip that
#1219 built was unreachable everywhere automated. A single jspm 503 or DNS blip
would have redded the job and filed a bug issue, which is exactly the cry-wolf
outcome the workflow's own header argues against. The two concerns are separate
variables now: WEBJS_REQUIRE_NETWORK selects and lifts the deny,
WEBJS_FAIL_ON_SKIP promotes, and the nightly sets only the first. A skip
becomes a warning annotation instead, so a permanently skipping test is still
visible without waking anyone for an outage.
The live pin test had a wider version of the same trap. Its skip fired only on
a non-zero exit, but a hiccup on the bundle GET leaves pin exiting 0 with the
entry pinned and no hash, so the integrity assertion hard-failed on an outage
the exit code had already forgiven. It skips there too now.
withJspmDouble threw from a finally, which REPLACES an in-flight error. A
refused request usually travels with the assertion it broke, so that discarded
the message explaining what went wrong, in the case where it matters most. The
restore stays in the finally; the report moved to the success path.
And the guard file claimed to assert both enforcement mechanisms while never
checking the deny was armed in a running process. Its other tests exercise a
pure function and grep runner sources, so an inverted self-install would leave
them all green while the required job went back to reaching jspm. It now spawns
a preloaded child and asserts both branches of the switch.
0 commit comments