Repository navigation
Add demo GIF and video to the README - #6
Merged
Merged
Conversation
A 49s demo replaying real terminal sessions from this repo: 1. catalog-api, orders-api and notifier-worker running against Redis: placing an order, the worker sending the confirmation, a 422 for an unknown product. 2. scripts/ci/affected.py selecting only the members a change can break. 3. Scaffolding a new service with the new-service skill and passing ruff, mypy and pytest. docs/demo/player.html replays the captured output on a fixed timeline; docs/demo/record.mjs renders it frame by frame with Playwright and encodes docs/demo.gif and docs/demo.mp4 with ffmpeg. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SE2PhHbNwAr33LePyqTcyc
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.
Summary
Adds a 49-second demo to the top of the README that shows what the repo is for. It replays real terminal sessions captured from this repo:
catalog-api,orders-apiandnotifier-workerrun as separate processes, connected through Redis. An order is priced by callingcatalog-api, thennotifier-workerlogs the confirmation it sends. An unknown product is rejected with a 422.scripts/ci/affected.pypicksmessagingplus its 2 dependent services for a library change, onlyorders-apifor a change to that service, and nothing for a README change.new-servicescaffold createsinventory-api, then ruff, mypy and pytest pass.Files
docs/demo.gif: 960px wide, 494 KiB. Embedded in the README.docs/demo.mp4: 1280px wide, 420 KiB. Linked from the README, since GitHub doesn't play a video stored in the repo inside the README.docs/demo/player.html: replays the captured output on a fixed timeline. You can also open it in a browser to watch it play.docs/demo/record.mjs: renders the player frame by frame with Playwright and encodes both files with ffmpeg. Regenerate withnode docs/demo/record.mjs.The only edit to the captured output is the line wrapping of the long order command. I re-ran it in that form against the live services and it gives the same result.
Testing
redis-server,affected.py, and the scaffold followed by ruff, mypy and pytest), and checked frames from the rendered GIF and MP4.pre-commitpasses on the changed files, includingcheck-added-large-fileswith the files staged.affected.pyignoresdocs/*and*.md. Lint still runs.Generated by Claude Code