Skip to content

docs(engine): DG-2.a migration order spec (DG-2.b) - #4769

Merged
oferchen merged 1 commit into
masterfrom
docs/dg-2b-migration-order
May 23, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/dg-2b-migration-order

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Specs the phased migration order for DG-2.a's Option B restructure (BarrierState + SlotData split) in crates/engine/src/concurrent_delta/parallel_apply.rs.
  • Enumerates 25 call sites that touch SlotBarrier today (T1..T8, C1..C7, F1, W1, U1, S1, B1, H1..H4, N1) with file:line refs and per-step migration mapping.
  • Recommends a seven-step sequence (DG-3.a..e, SPL-38.e, DG-4, DG-2.c), each shippable as its own PR, with risk classification, test-coverage gates, and rollback plans per step.
  • References project_slothandle_decrementguard_release_race, project_finish_file_arc_unwrap_ergonomics, and project_concurrent_dispatch_test_flake for 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

  • Markdown lints cleanly (no broken refs, no banned references).
  • Cross-references to docs/design/dg-2a-option-b-spec.md and docs/design/spl-38-parallel-apply-split.md are accurate.
  • Every cited parallel_apply.rs line number verified against commit 04dc51ef1.
  • CI: docs-only change; relies on standard fmt + clippy + nextest matrices to pass without touching code.

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.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 23, 2026
@oferchen
oferchen merged commit 7206719 into master May 23, 2026
10 checks passed
@oferchen
oferchen deleted the docs/dg-2b-migration-order branch May 28, 2026 03:37
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant