Repository navigation
docs(engine): DG-2.a migration order spec (DG-2.b) - #4769
Merged
Merged
Conversation
Specs the phased migration order for the DG-2.a Option B restructure (BarrierState + SlotData split). Enumerates every call site in parallel_apply.rs that touches SlotBarrier today, maps the dependency graph between sites, and recommends a seven-step sequence (DG-3.a..e, SPL-38.e, DG-4, DG-2.c) where each step ships as its own shippable PR with explicit risk classification, test-coverage gates, and rollback plans. Audit-only doc; no source changes. Input for DG-3 implementation work and DG-2.c's atomic-vs-phased decision.
This was referenced May 23, 2026
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Specs the phased migration order for the DG-2.a Option B restructure (BarrierState + SlotData split). Enumerates every call site in parallel_apply.rs that touches SlotBarrier today, maps the dependency graph between sites, and recommends a seven-step sequence (DG-3.a..e, SPL-38.e, DG-4, DG-2.c) where each step ships as its own shippable PR with explicit risk classification, test-coverage gates, and rollback plans. Audit-only doc; no source changes. Input for DG-3 implementation work and DG-2.c's atomic-vs-phased decision.
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
crates/engine/src/concurrent_delta/parallel_apply.rs.SlotBarriertoday (T1..T8, C1..C7, F1, W1, U1, S1, B1, H1..H4, N1) withfile:linerefs and per-step migration mapping.project_slothandle_decrementguard_release_race,project_finish_file_arc_unwrap_ergonomics, andproject_concurrent_dispatch_test_flakefor the bug history each step closes.Scope
Audit-only design document. No source changes. Input for DG-3 implementation work and DG-2.c's atomic-vs-phased decision.
Test plan
docs/design/dg-2a-option-b-spec.mdanddocs/design/spl-38-parallel-apply-split.mdare accurate.parallel_apply.rsline number verified against commit04dc51ef1.