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

Closed opened this
Closed without merging

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.

Notes

stopped closed without shipping deploy a86c1fa

opened this

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. main gained test/chaos.test.ts, test/fuzz-found.test.ts and test/fuzz-parsers.test.ts without adding them to scripts/gate.ts. That made "every test/*.test.ts is in exactly one list" fail on any branch built on main. I merged current main and added the three files to GATE, because they pass here (chaos takes about 11 s, the other two under a second).

  • Passing here: test/check-list.test.ts and test/check-tiers.test.ts, 22 tests in all.
  • Not run here: test/vitals.test.ts couldn't run because the sandbox refuses to create the unix socket it listens on, so run it on the forge. I also didn't run test/vitals-degraded.test.ts after the merge, because it was in the same run as test/vitals.test.ts.

I didn't touch any other test or any other file.

Closes #1295

commented

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 are EPERM when 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.
commented

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

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs