Bifrost/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens ff087a554b Watchdog notice reader: pin timeout, spawn-error, 5xx/429 and guard behaviour; say what non-2xx is
Tests only, plus wording. No change to what the reader or bridge does.

- A spawn timeout and a spawn error (ENOBUFS from a bridge that floods
  stdout) record unknown, are never re-posted, and block the closure.
  WATCHDOG_NOTICE_BRIDGE_TIMEOUT_MS overrides the 60 s timeout so the test
  reaches that branch; the default is unchanged.
- A 500/502/503/429 answer to the message POST exits 75 from the bridge, and
  through the reader is retried with the same nonce until it completes.
- allowed_mentions {parse: []} is asserted in the posted body; status exits
  non-zero while an entry is unknown and zero when none is.
- The bridge comment and docs/watchdog-notice.md no longer call a non-2xx
  answer "definite": it is retried with the same nonce, relying on
  enforce_nonce inside Discord's window, and may double-send if Discord acted
  on a 5xx outside it.

Builds. Two tests fail on Windows (SIGKILL status), as before; they pass on
Yggdrasil.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 22:56:27 +02:00
..
Bifrost.Web.Tests Delete Epiphany operator bridge 2026-08-22 06:16:39 +02:00
fixtures Watchdog notice reader: Idunn incidents become owner DMs through Bifrost's own journal 2026-09-30 21:15:18 +02:00
cultmesh-bridge-commands.test.mjs Bifrost pump: one verb, one path; refuse anything else with a failed receipt 2026-09-30 16:59:51 +02:00
persona-discord-crossing-rust-smoke.test.mjs Bifrost suite: drop the hard-coded CARGO_TARGET_DIR override from the Rust fixture tests 2026-09-30 17:16:55 +02:00
persona-discord-delivery.test.mjs Bifrost suite: load @gamecult/cultcache-ts; skip Rust fixture tests with a stated reason 2026-09-30 17:16:39 +02:00
persona-discord-permit.test.mjs persona: align permit bodies with Rust wire tuples 2026-08-08 21:15:57 +01:00
persona-discord-rudp-cross-language.test.mjs Bifrost suite: drop the hard-coded CARGO_TARGET_DIR override from the Rust fixture tests 2026-09-30 17:16:55 +02:00
persona-feedback-cli.test.mjs Bifrost suite: load @gamecult/cultcache-ts; skip Rust fixture tests with a stated reason 2026-09-30 17:16:39 +02:00
persona-feedback-idunn-health.test.mjs Prove signed health transport identity 2026-07-22 02:53:44 +01:00
watchdog-notice.test.mjs Watchdog notice reader: pin timeout, spawn-error, 5xx/429 and guard behaviour; say what non-2xx is 2026-09-30 22:56:27 +02:00