[SLOP(claude-opus-4-8-high)] feat(workflow-engine): add getVersion primitive for workflow versioning#5308
Conversation
…imitive for workflow versioning
|
Stack for rivet-dev/rivet
Get stack: |
|
🚅 Deployed to the rivet-pr-5308 environment in rivet-frontend
|
Code Review: PR #5308Summary: This PR adds a Core LogicCorrectness of the old-in-flight detection heuristic ✓ The central mechanism in Bug: false detection when gate is placed before loop with existing iteration history The Example: v1 has a loop that runs 3 iterations. After iteration 0 completes, iterations 1 and 2 have entries in history. If v2 adds a root-scope Recommendation: Restrict the root-scope scan to entries at exactly depth 1 from the current location rather than all descendants. Performance: O(N) scan over full history on every
Validation gap: no When replaying an existing API design: floor version
Schema & SerializationBARE persistence schema correctly updated ✓ -- Transport BARE schema -- missing exhaustive guard: Frontend
TestsSolid baseline coverage ✓ -- fresh-instance resolution, old-in-flight detection, correct pinning on replay, Gap: per-iteration cutover test hardcodes Gap: no test for root-scope gate with existing loop iteration history -- directly related to the high-severity bug above. Gap: no test for multi-version skip -- no test verifying that Summary
The high-severity false-detection bug is the main blocker. The 🤖 Generated with Claude Code |
No description provided.