demo: java-hotpatch polish, React Native crash demo, Slidev deck#12
Merged
demo: java-hotpatch polish, React Native crash demo, Slidev deck#12
Conversation
05d32fe to
881ad2c
Compare
- **java-hotpatch/record.sh** + asciinema cast + skills lockfile: iterative polish on the existing demo (continues 135e733 / a5ef031 / 1509d82) for reproducibility. `PricingController.java` is intentionally left with the VAT-on-discount bug — that's what the demo teaches. - **Slidev deck** (`demo/slides/`) used at the Dev With AI meetup. Media committed except `demo-java.mp4` (32 MB), which is uploaded to the [demo-assets-v1](https://github.com/theodo-group/debug-that/releases/tag/demo-assets-v1) release and referenced by URL from `slides.md`. - **GitHub Pages site deploy** (`.github/workflows/deploy-site.yml`): assembles a single artifact combining the existing landing page in `docs/` with the Slidev build under `/slides/`. Triggered by push to `main` under `docs/**` or `demo/slides/**`, plus manual dispatch. Landing page preserved — the existing Pages deploy at https://theodo-group.github.io/debug-that/ keeps working, just gets a new nav link to https://theodo-group.github.io/debug-that/slides/. **One-time repo setting change required**: switch Pages source from "Branch: main / /docs" to "GitHub Actions" (Settings → Pages → Source: GitHub Actions). After that, this workflow owns every deploy. - `docs/index.html`: added "Slides" link to the top nav and footer. .gitignore additions: - `demo/**/target/`, `demo/**/.agents/`, `demo/**/.claude/` (build output + local tooling) - `demo/slides/public/demo-java.mp4` (hosted on GH Releases) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
881ad2c to
7858d60
Compare
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
PricingController.javakept with the bug — that's what the hotpatch demo teaches you to find.demo/slides/) used at the Dev With AI meetup./slides/.Current site preserved
What's currently deployed at https://theodo-group.github.io/debug-that/ is the landing page from
docs/index.html(hero, install bar, demo gif, features, runtimes, commands, architecture). The legacy Pages config points atmain:/docs.This PR keeps the landing page unchanged and adds the slides under a subpath:
/→ existing landing (unchanged)/slides/→ Slidev deckdocs/index.htmlget a new "Slides" linkHow it works
The workflow at
.github/workflows/deploy-site.ymlassembles one artifact:Both served from the same domain. Triggers: push to
mainunderdocs/**ordemo/slides/**, plusworkflow_dispatch.The current Pages source is "Branch:
main//docs" (legacy mode). This workflow needs "Source: GitHub Actions". Switch it once at:Settings → Pages → Source: GitHub ActionsAfter that, this workflow owns every deploy. Without flipping the setting, the workflow runs but
deploy-pagesfails.To verify after merge
workflow_dispatchfrom the Actions tab before merging to preview).Deploy site to GitHub Pagesjob shows apage_url.Asset hosting
The Slidev deck references one 32 MB video (
demo-java.mp4). Rather than bloat git history with binary media, it's uploaded to thedemo-assets-v1release and referenced by URL fromslides.md. Smaller PNGs/SVGs/GIFs (~7 MB total) are committed directly — fine for git..gitignore additions
demo/**/target/— Maven build outputdemo/**/.agents/,demo/**/.claude/— local Claude Code tool cachesdemo/slides/public/demo-java.mp4— hosted on GH Releases insteadTest plan
slides.mdreferences the release asset URLdemo-assets-v1release exists withdemo-java.mp4attacheddocs/+ built slides into one artifactdocs/index.htmllink to./slides/PricingController.javakept buggy (demo intent)/slides/🤖 Generated with Claude Code