Repository navigation
Port Temporal Essentials to Java (decks/java-master) - #2
Merged
Merged
Conversation
Copies the Deck's theme, layouts, components and segments as the starting point for the Java Port, and adds the snippets Maven project with the drift, parts, parse and walkthrough tests. Adds Segment and Temporal Essentials to CONTEXT.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Points the Deck's labs at the Java Tracks, adds the java-master Deck CI workflow, records why the Deck is java-master ported from the newest Deck (ADR 0004), adds the Essentials README row and points each Java Workshop's Deck column at its Segment. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…epts to Java Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ava-essentials-deck
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ies, 11-updates and 12-quiz to Java Co-Authored-By: Claude Opus 5.5 <[email protected]>
…patterns-and-anti-patterns to Java Co-Authored-By: Claude Opus 5.5 <[email protected]>
…o Java Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…java-essentials-deck # Conflicts: # decks/java-master/snippets/pom.xml
temporal-aws-lambda pulls in slf4j-api 1.7, which cannot load the slf4j-simple 2 provider and falls back to NOP, so the observability logging test saw no log lines once both branches were merged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…story to Java Rewrites the four segments and the ReplayFlow component for the Java SDK, with every code slide proven by a snippet under essentials.patterns4, .workflows, .activities and .history, and runtime tests on TestWorkflowEnvironment for what the slides and notes claim. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…into port-java-essentials-deck
- One bank app across Segments 03, 05, 07, 07b and 17b: TransferWorkflow with BankActivities on the transfers Task Queue - The demo divider types a Maven command; setMaximumAttempts in 17b - Split the custom payload converter slide in two; the encryption codec is a record, so its slide loses the constructor - Workflow IDs stop duplicates only while the first run is open; the Update validator claim says what the SDK actually enforces - Event History panels use the capitalised Activity Type, checked against the recorded history - Drop porting chatter from speaker notes; no slide numbers or wrong ordering words; timelines match the ticket flow; labs in teaching order - Workflow retry reasoning on the Retry Policies slide; a Design patterns divider for Segment 04 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Adds Temporal Essentials: Java, the Foundations Deck that holds every Segment, at
decks/java-master/. It is ported Segment for Segment from the newest Essentials Deck (ADR 0004). This is a Deck only: it has no Track, Exercise or Solution.What's in it
35 Segments in the source Deck's order, from Why Temporal through Worker tuning, plus a new "Design patterns" divider. Each was rewritten as idiomatic Java 21 against SDK 1.40.0: Workflow interfaces and their implementations,
Workflow.*determinism rules, theSagahelper (using the same names as the Saga Workshop),getVersion, Jackson andPayloadCodec,WorkerTuner, and so on.Lab slides point at the Java Tracks:
first-workflow-java,child-workflows-java,continue-as-new-java,heartbeats-javaandsaga-java. A speaker note says to swap in the Dev Day's short link before delivering.Proof package
decks/java-master/snippets/(Maven). Every code slide's code sits in a compiling snippet between// slide:and// part:markers. JUnit tests cover:javablock (JavaParser)TestWorkflowEnvironment, asserting what the speaker notes claimSchedules and Worker Deployments start a local dev server.
CI:
.github/workflows/java-master-deck.ymlrunsmvn testand the rendered walkthrough check (Playwright againstslidev).Docs:
CONTEXT.mdgains Segment and Temporal Essentialsdocs/authoring/Verified locally
mvn testindecks/java-master/snippets: 747 tests, 0 failuresscripts/check-walkthroughs.mjsagainst the dev server: 188 bubbles on 45 walkthrough slides sit on their linesscripts/verify-content.shandscripts/check-readme-index.sh: passWorth a reviewer's eye
temporal-aws-lambda), Priority, and External Storage (@Experimental).Longcoming back asInteger,Instantcoming back as a string), all testedtemporal-testingis compile scope in the snippets project, because the replay slide'sWorkflowReplayerlives insrc/main.slf4j-apiis pinned to 2.0.17, becausetemporal-aws-lambdapulls in 1.7, which silently disables logging.🤖 Generated with Claude Code