Repository navigation
Conversation
- Opening retold as one bank transfer: happy path, production failures, the retry helper, the plumbing version, then the same two lines on Temporal with a non-retryable InsufficientFundsException. New why snippets and WhyTemporalTest replace the order-fulfilment ones. - Reorder: Design patterns after Activities; "Keep it in the Workflow" moves into 05-workflows; Resumable Activity moves to the end of 11-updates; the idempotency key slide closes the Saga section. - New slides: "What is a Worker?", "Idempotency key best practices", and "A compensation Activity" (sagacompensation snippets and test). - Saga Implementation is now a pseudocode walkthrough; the unwind slide carries the real Java. "An idempotent compensation" and "Related" cut. - Resumable console drops the typo Signal and ends COMPLETED; the Workflow sets the status and ResumableTest queries it. - WorkflowRun captions, 06b step 9, CopyLink on lab slides, all labs behind one invite link, "Foundations" off the cover subtitle. - WalkthroughsTest accepts txt blocks for pseudocode walkthroughs. - ADR 0004 records the sync; cost record in docs/authoring. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
decks/java-master/up to date with the three commits the source Deck has had since it was ported ata61bcf9(ADR 0004).What changed
Opening (
01-why-temporal): one bank transfer runs through the whole segment. Two-line happy path → production failures → the questions → the retry helper → the plumbing version → the same two lines on Temporal. New slides: Where did the failures go?, Retries are configuration, Just the code you already write, And out of the box. The Temporal version usessetDoNotRetry(InsufficientFundsException.class.getName()). Thewhysnippets are rewritten (Bank,BankActivities,TransferWorkflow,HandRolled).WhyTemporalTestchecks two things: a deposit that fails twice still completes with one withdrawal, and insufficient funds fails at once.Reordering
05-workflows.17bto the end of11-updates.17bto17-saga-07.New content
07).17-saga-07.17-saga-04), backed by the newsagacompensationsnippets andSagaCompensationTest. The refund outlasts three failures and refunds once.Sagahelper, and Implementation: the unwind carries the real code and the slide marker.Smaller
ResumableTestqueries it.WorkflowRun.vuehas new captions, and step 9 in06bnow explains the cache and replay.CopyLink.vue. Every lab slide now uses the single Instruqt invite link.WalkthroughsTestacceptstxtblocks.Verification
mvn testindecks/java-master/snippets: 745 tests, 0 failures.npm run check:walkthroughsagainst a dev server: all 193 bubbles on 45 walkthrough slides sit on their lines.slidev buildsucceeds; the new slides were checked by screenshot.scripts/verify-content.shandscripts/check-readme-index.shpass.Cost record:
docs/authoring/java-master-deck-sync.md($13.13, agent tokens only).🤖 Generated with Claude Code