Repository navigation
Update architecture diagrams and demo videos for the pluggable transport - #9
Merged
Merged
Conversation
ARCHITECTURE.md:
- Repository layout shows .claude/skills/new-service and docs/.
- New work-queue scaling diagram (two worker replicas sharing a queue).
- New TCP broker section with a wire-protocol sequence diagram.
- Running the stack without Docker, and the fail-fast error for unknown schemes.
- CI diagram includes the tcp-broker test job; new-service notes on broker wiring.
Demo player renders several videos (?demo=overview|brokers); record.mjs
renders all of them, or the ones named. The overview gains a "swap the
broker" scene, and its CI and scaffold scenes use current output (tcp-broker
is now affected by messaging changes; scaffold --broker). A new brokers video
covers Redis, the TCP broker, scaling workers and the contract tests. All
output is from real runs.
Fix new-service scaffold picking host port 15673: it counted RabbitMQ's
management UI port. It now only counts app ports ("N:8000").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SE2PhLQ67hkYEbYoc2znFq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SE2PhLQ67hkYEbYoc2znFq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SE2PhLQ67hkYEbYoc2znFq
…jm78l4 # Conflicts: # README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the docs and demo videos in line with the pluggable messaging transport (Redis / RabbitMQ / TCP / in-memory). Also fixes a scaffold bug that change introduced.
Docs
ARCHITECTURE.md
.claude/skills/new-service/anddocs/.notifier-workerreplicas share one queue. It matches a real run, where 4 orders were split 2/2 and nobody was notified twice.tcp-brokertest job, so the "left out of the picture" note is gone.--brokerwiring works and how app ports are picked.README.md: new demo caption, a link to the second video,
docs/and.claude/added to the layout tree, and a "without Docker" snippet.I rendered all 12 Mermaid diagrams with mermaid 11 to check they parse.
Videos
docs/demo.gif/.mp4(overview, 68s, now 4 scenes):BROKER_URL, plus the error for an unknown scheme.tcp-brokeris now affected bymessagingchanges).scaffold.py --broker.docs/brokers.gif/.mp4(64s), embedded in the Messaging section:tcp-broker.docs/demo/player.htmlcan now play several demos (?demo=overview|brokers).record.mjsrenders all of them, or only the ones you name.All output in the videos comes from real local runs (
uv runservices,redis-server,apps/tcp-broker). RabbitMQ shows as skipped in the contract tests because no server was available locally. CI'sbrokersjob covers it.Fix: new-service scaffold port
next_host_port()took the highest host port incompose.yaml. That is now RabbitMQ's management UI port, so a new service got port15673. It now counts only app mappings ("N:8000") and gives8003again. I checked by scaffoldinginventory-api --brokerin a scratch worktree: ruff, mypy and pytest all pass.Checks
ruff check .,ruff format --check .andmypyall pass.Generated by Claude Code