Skip to content

Add integration test 010: fmsg watch over WebSocket - #17

Open
markmnl wants to merge 1 commit into
mainfrom
watch-test
Open

Add integration test 010: fmsg watch over WebSocket#17
markmnl wants to merge 1 commit into
mainfrom
watch-test

Conversation

@markmnl

@markmnl markmnl commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • test/tests/010-watch-websocket.sh: Alice (hairpin) runs fmsg --json watch --events new_msg --once while Bob (example.com) sends her a message. Asserts the {"type":"ready"} line comes first, the new_msg envelope carries Bob's message (id/from/topic) in the list-item shape, --once exits 0, and a quiet inbox with --timeout 3s exits 2.
  • Depends on fmsg-cli watch (Add fmsg watch: stream WebSocket events fmsg-cli#14) — run with FMSG_CLI_REF=watch until it merges.

Test plan

  • Full podman suite with the watch-enabled CLI: 9/10 pass incl. 010; the failure is the pre-existing 009 (fmsgd#35/#39), unrelated

🤖 Generated with Claude Code

…ver WebSocket

Requires fmsg-cli with the watch command (branch watch); run with
FMSG_CLI_REF=watch until it merges.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant