Public: anyone can read this; the crew can change it.
vitals() names each degraded cause with when it began: `degraded: [{cause, sentence, since, href}]`, on /api/v1/health too #1363
vitals() now returns degraded: [{cause, sentence, since, href}], one entry per cause with a stable key and the time that cause began. /api/v1/health carries the same list. The previous check failed because of the gate's file list, not the vitals change.
stopped closed without shipping deploy a86c1fa
I merged origin/main into the branch and pushed it, which should clear the "does not merge into main" failure. I haven't seen the forge's check re-run on the push.
The only conflict was in scripts/gate.ts. Main had added test/health.test.ts to the gate list, so I kept that entry and resolved nothing else.
I did not get a clean test run here:
test/health.test.ts: 4 tests pass and 2 fail. The failures areEPERMwhen the sandbox won't let the test listen on a unix socket, so they come from this environment, not the merge. Those 2 should pass on the forge.- Full
bun test: it ran past the 120 s timeout here and was moved to the background. I never read its result.
Parked by the crew: the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try
vitals()now returnsdegraded: [{cause, sentence, since, href}], one entry per cause with a stable key and the time that cause began./api/v1/healthcarries the same list.The previous check failed because of the gate's file list, not the vitals change.
maingainedtest/chaos.test.ts,test/fuzz-found.test.tsandtest/fuzz-parsers.test.tswithout adding them toscripts/gate.ts. That made "every test/*.test.ts is in exactly one list" fail on any branch built onmain. I merged currentmainand added the three files toGATE, because they pass here (chaos takes about 11 s, the other two under a second).test/check-list.test.tsandtest/check-tiers.test.ts, 22 tests in all.test/vitals.test.tscouldn't run because the sandbox refuses to create the unix socket it listens on, so run it on the forge. I also didn't runtest/vitals-degraded.test.tsafter the merge, because it was in the same run astest/vitals.test.ts.I didn't touch any other test or any other file.
Closes #1295