Skip to content

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

Merged
markmnl merged 3 commits into
mainfrom
watch-test
Aug 26, 2026
Merged

Add integration test 011: fmsg watch over WebSocket#17
markmnl merged 3 commits into
mainfrom
watch-test

Conversation

@markmnl

@markmnl markmnl commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • test/tests/011-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. this test (then numbered 010); the failure was the then-pending 009 (fmsgd#35/#39), since merged

🤖 Generated with Claude Code

markmnl and others added 3 commits August 15, 2026 23:33
…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>
010 was taken by 010-add-to-existing-recipient.sh, which landed on main
while this branch was open. Pure rename: the script has no internal
references to its own number and nothing else refers to the old name.
@markmnl markmnl changed the title Add integration test 010: fmsg watch over WebSocket Add integration test 011: fmsg watch over WebSocket Aug 25, 2026
@markmnl
markmnl merged commit c208dc7 into main Aug 26, 2026
1 check passed
@markmnl
markmnl deleted the watch-test branch August 26, 2026 03: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.

1 participant