Skip to content

feat(alerts): simlock alerts test sends one sample to a destination - #746

Merged
V3RON merged 27 commits into
task/720from
task/721
Oct 20, 2026
Merged

V3RON merged 27 commits into
task/720from
task/721

Conversation

@V3RON

@V3RON V3RON commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Closes #721

Status

Implement: done (13/13 green) Review: round 1 with 3 claims fixes, fix-check clean Hardware: n/a Gate: waiting for the stack
Next: none until the stack merges

Done when

  • CI is green with the Tests lines of the issue.
  • In gateway-fleet.e2e.test.ts, alerts.test over the gateway's unix socket with a generic destination on a loopback receiver answers status 200, and the receiver gets the signed sample (alerts.test over the gateway's real unix socket reaches a loopback receiver with the signed sample).
  • docs/CLI.md has the command, its output and both exit-code rows; docs/CLIENT.md has testAlertDestination (docs/CLI.md, docs/CLIENT.md, docs/CONFIGURATION.md, src/alerts/AGENTS.md).

Assumptions

  • Assumption: the sample's destination name goes through the Slack part() cut and escape like every variable part — it matches the rest of the message table and a configured name is plain anyway.
  • Assumption: alerts.test is only listed on the gateway dispatcher when the gateway has destinations (main.ts passes testDestination then), else UNKNOWN_ALERT_DESTINATION — as the issue says.

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 1 blocking, 1 fixed, 0 notes. Claims review: 2 blocking, 2 fixed, 0 notes.
Rounds: 1. Tokens: 9.5M.
Runs: 9. Cost USD: 5.8695. Agent seconds: 2567.

Assessment: complete

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 20, 2026 08:20
@V3RON
V3RON added this pull request to stack #743 October 20, 2026 08:20
@V3RON

V3RON commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • claims: src/alerts/AGENTS.md:6 still omits TimerHandle, which src/alerts/queue.ts:3 imports from ports; the list has the same omission as before.

Written by an agent.

V3RON added 27 commits October 20, 2026 10:24
… rejection and no answer within 10 s, and tries once (#721)
…nfigured and on a gateway with no destinations (#721)
…d refuses a missing name or an unknown subcommand (#721)
@V3RON
V3RON merged commit f2a60e9 into main Oct 20, 2026
36 of 38 checks passed
@V3RON
V3RON deleted the task/721 branch October 20, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

simlock alerts test checks a destination

1 participant