ci: restore --keep-lane in bit_pr - #10586
Conversation
The GVS PR dropped --keep-lane to dodge the lane-reuse artifact mixing tracked in teambit#10583. Restore lane reuse so a PR keeps one lane on Bit Cloud and each push re-snaps only what changed; the comment now records the hazard and how to recognize it instead of the workaround. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
PR Summary by QodoCI: restore --keep-lane for bit_pr job
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Stale artifacts via keep-lane
|
Restores
--keep-lanein thebit_prCircleCI job, reverting the workaround introduced with the global-virtual-store PR (#10582).What changes
With
--keep-lane, a PR keeps a single lane on Bit Cloud named after the branch, and each push re-snaps only the components that actually changed instead of rebuilding everything from a throwaway lane.Why it was dropped, and what that means now
The reusing flow (
snapAndExportReusingLane) serves components unchanged since an earlier export from the lane, with artifacts built from older commits of the branch. Capsules can then mix generations of@teambitpackages, and cross-copyinstanceofchecks break in capsule spec runs — on a PR that snaps core components,bit_prfails deterministically from the second push onward.That underlying bug is still open (#10583); this PR restores the flag rather than fixing it. The inline comment now documents the hazard and the escape hatches (rename the branch for a fresh lane, or drop the flag on the affected PR) instead of documenting the workaround.
🤖 Generated with Claude Code