feat: Matrix notification delivery #2

Merged
troed merged 4 commits from devel into main 2026-08-31 20:10:02 +02:00
Owner

Matrix notification delivery: send job results to a Matrix room (m.notice, auto-login + token cache), ad-hoc notify via API/MCP/CLI, and auto-join on send when the bot is invited to a room. Includes setup docs.

Matrix notification delivery: send job results to a Matrix room (m.notice, auto-login + token cache), ad-hoc notify via API/MCP/CLI, and auto-join on send when the bot is invited to a room. Includes setup docs.
fix: surface API error details in client, CLI and MCP
All checks were successful
CI / Sanity check (ubuntu-latest) (push) Successful in 31s
CI / Sanity check (ubuntu-latest) (pull_request) Successful in 23s
b0fd5e1e7c
- client: raise RosterAPIError with the API's detail body instead of
  httpx.HTTPStatusError (which dropped it)
- cli: print 'error: roster API <status>: <detail>' and clean
  cannot-reach messages instead of raw tracebacks
- mcp_server: schedule description documents that jobs run on the
  roster API host and script paths must live in its [scripts] dir
- README: new 'Where jobs run' section; toml.example allowlist note
- test: regression test for 422 detail propagation
feat: Matrix delivery target + ad-hoc notify (API, MCP, CLI)
All checks were successful
CI / Sanity check (ubuntu-latest) (push) Successful in 26s
970ff7c5d0
- in-house httpx client (login m.login.password, token cache, 401 re-login)
- matrix delivery target with per-job matrix_room override, 1500-char cap
- store migration adds jobs.matrix_room (ALTER TABLE on legacy DBs)
- POST /notify, MCP notify tool, roster notify
- docs + config example updated
feat: auto-join Matrix room on send (403) + setup docs
Some checks failed
CI / Sanity check (ubuntu-latest) (push) Failing after 20s
CI / Sanity check (ubuntu-latest) (pull_request) Successful in 23s
5604ab8eb5
Merge remote-tracking branch 'origin/main' into devel
All checks were successful
CI / Sanity check (ubuntu-latest) (push) Successful in 23s
CI / Sanity check (ubuntu-latest) (pull_request) Successful in 23s
d06b951a14
# Conflicts:
#	src/roster/client.py
#	tests/test_client.py
troed merged commit 9d1a9a9124 into main 2026-08-31 20:10:02 +02:00
troed deleted branch devel 2026-08-31 20:10:02 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starfleet/roster!2
No description provided.