Repository navigation
[$400] test(worker): time-skipping Temporal sandbox, history replay gate and determinism checks (fixes #60) - #90
jdjioe5-cpu wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @oll4com, friendly ping on PR #90 ([$400] test(worker): time-skipping Temporal sandbox, history replay gate and determinism checks, resolving #60). All Temporal workflow time-skipping sandboxes, non-determinism regression gates, and end-to-end replay test suites are in place and passing cleanly. Ready for your review and feedback whenever your schedule allows. Thank you! |
…e and determinism enforcement (fixes oll4com#60) Signed-off-by: jdjioe5-cpu <jdjioe5@gmail.com>
ba921be to
09cfe73
Compare
|
Thank you for contributing and for sharing your work. This PR is awaiting maintainer review; the automated review does not replace that step. For the bounty issues, we review PRs in the order they were opened, under the terms on the issue. An earlier PR that misses an acceptance criterion does not block a later complete solution. Please include the checks you ran yourself, their results, your environment, and any limitations, if those details are not already in the PR. We appreciate the time you have put into this. |
|
Thank you for the time and care you put into this pull request. |
Summary
Resolves #60 ( USD bounty).
This PR introduces hermetic end-to-end workflow execution tests inside a real \TestWorkflowEnvironment.createTimeSkipping()\ sandbox for all 8 production workflows in \�pps/worker, adds recorded synthetic history replay fixtures under \�pps/worker/tests/fixtures/workflow-histories/, and enforces a deterministic replay gate that fails CI upon nondeterminism violations.
Key Implementations
Pinned Dependency (\�pps/worker/package.json):
Real Temporal Workflow Sandbox Coverage (\�pps/worker/tests/temporal-workflows.test.ts):
oomAgentActionWorkflow: Tests execution failures routed through
oom-background-action-failure-v1\ handling.
oomAgentSupervisorWorkflow: Verified enqueue & stop signals, 1s condition polling, mission interrupts, 50-item rollover, and 250-poll continuation for both the current and the pre-patch (\patched('room-background-continuation-v1')) branches.
Replay Gate & Synthetic Fixtures:
Workflow Recording CLI & Contributing Guide:
pm run temporal:record-histories -w @space/worker\ script.
Verification & Performance
pm test -w @space/worker -- room-supervisor-continuation\ passes 7/7.
pm run check -w @space/worker\ passed with 0 errors.
pm run hygiene:status\ and
pm run test:architecture\ (1054 source modules) passed 100% green.