Skip to content

docs(engine): decide atomic vs phased migration for DG-2.a (DG-2.c) - #4782

Merged
oferchen merged 1 commit into
masterfrom
docs/dg-2c-atomic-vs-phased-decision
May 23, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/dg-2c-atomic-vs-phased-decision

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Closes the DG-2 design series with docs/design/dg-2c-atomic-vs-phased-decision.md.
  • Recommendation: adopt the phased seven-step recipe from DG-2.b (PR docs(engine): DG-2.a migration order spec (DG-2.b) #4769) over the atomic single-PR recommendation from DG-2.a s.7 (PR docs(engine): spec Option B SlotBarrier split (DG-2.a) #4748). Bisectability + smaller-review story outweigh the 7x CI cost; race-fix lands in master within 3 PRs (DG-3.a/b/c), which is acceptable for a non-user-visible race already mitigated by the spin-then-yield workaround.
  • Records when atomic would be preferable (beta lockdown, reviewer-bandwidth scarcity, mid-flight contention on parallel_apply.rs, high trust in mechanical-churn assessment) and a 2-stage compromise option that halves the PR count but surrenders the bisectability gain.
  • Open re-evaluation gate: if DG-3.a's review feedback shows the project bias is "land big and fast", switch to the compromise option starting at DG-3.b; if review is bisect-first, stay phased.
  • Unblocks DG-3.a (test: add daemon integration test for xattr preservation on push #2690) to start immediately on the phased plan.

Test plan

  • No source changes; design-only doc.
  • CI will run fmt/clippy/nextest/Windows/macOS/Linux musl on the doc-only diff; no functional risk.

Closes the DG-2 design series. Adopts the phased seven-step recipe
from DG-2.b over the atomic single-PR recommendation from DG-2.a s.7.
Bisectability and smaller-review story outweigh the 7x CI cost for a
non-user-visible race already mitigated by the spin-then-yield
workaround in master. Records when atomic would be preferable
(beta lockdown, reviewer-bandwidth scarcity, mid-flight contention)
and a 2-stage compromise option that halves the PR count but
surrenders the bisectability gain.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 23, 2026
@oferchen
oferchen merged commit b28f9b1 into master May 23, 2026
10 checks passed
@oferchen
oferchen deleted the docs/dg-2c-atomic-vs-phased-decision branch May 28, 2026 03:37
oferchen added a commit that referenced this pull request Aug 24, 2026
…4782)

Closes the DG-2 design series. Adopts the phased seven-step recipe
from DG-2.b over the atomic single-PR recommendation from DG-2.a s.7.
Bisectability and smaller-review story outweigh the 7x CI cost for a
non-user-visible race already mitigated by the spin-then-yield
workaround in master. Records when atomic would be preferable
(beta lockdown, reviewer-bandwidth scarcity, mid-flight contention)
and a 2-stage compromise option that halves the PR count but
surrenders the bisectability gain.
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