Skip to content

workstreams: Fold keeps the destination saved plan - #2786

Merged
santoshkumarradha merged 3 commits into
santosh/workfrom
wave-n-fold-plans
Nov 17, 2026
Merged

santoshkumarradha merged 3 commits into
santosh/workfrom
wave-n-fold-plans

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Summary

Fold → move work; keep destination plan
Undo → restore source work and its saved plan

Two workstreams' singleton plan rows collided when Fold moved every part. Fold now keeps each plan under its original key: the destination plan stays active and the source plan remains in the Undo receipt. Other parts still move. The manual states this behavior.

Evidence

  • Before: the new HTTP regression returned 500 on the parts table's unique key.
    After: focused Fold/import tests pass; the destination plan is unchanged and Undo returns the source plan.
  • Follow-up to workstreams: Bring along files into organizations and Fold with Undo #2778, found during the final post-merge check. Build and focused proof are being refreshed after clean rebase onto the merged trunk.

Merge Danger

Door: two-way

Blast Radius: workstreams

No new schema. The existing receipt retains both plans, and refuses Undo after intervening work.

@santoshkumarradha

Copy link
Copy Markdown
Member Author

Local proof after clean rebase onto merged trunk bba7e6b:

  • make build: pass.
  • Fresh focused HTTP Fold/import tests: pass (TEST_FLAGS=-count=1).
  • New saved-plan regression was red with a parts-table unique-key failure; now verifies the destination plan stays and Undo restores the source plan.
  • make changelog-check: 935 entries, all well formed. This PR corrects both workstreams: Bring along files into organizations and Fold with Undo #2778's and this entry's surface from unsupported desk to app.
  • Manual updated; local standards/spec review complete.

Using the lane owner's clean-rebase build-plus-focused-proof exception. Full pr-ready did not run.

@santoshkumarradha
santoshkumarradha marked this pull request as ready for review November 17, 2026 21:56
@santoshkumarradha
santoshkumarradha merged commit 2ba78ef into santosh/work Nov 17, 2026
1 check passed
@santoshkumarradha
santoshkumarradha deleted the wave-n-fold-plans branch November 17, 2026 21:56
ZeroPoint95 pushed a commit that referenced this pull request Nov 24, 2026
Fold no longer collides when both workstreams have saved launch plans. It keeps the destination plan, retains the source plan for Undo, and moves other parts normally. Correct the change-entry surface labels to app.

Local proof: build, fresh focused HTTP tests and changelog-check pass after clean rebase onto moved trunk, under the owner's explicit exception. Full pr-ready did not run.

Assisted-by: CodeAF
Co-Authored-By: CodeAF <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant