Skip to content

Verify committed diffs from remote checkout bases and document fallback - #5907

Merged
ymichael merged 1 commit into
mainfrom
test/project-checkout-origin-diff
Oct 20, 2026
Merged

ymichael merged 1 commit into
mainfrom
test/project-checkout-origin-diff

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

#5855 fixed fresh-clone branch resolution, but its integration test only checked an empty initial diff. That could not prove committed thread changes remain visible. The README also still described the selected name as the recorded base rather than the resolved ref.

What changed

Bring over the remaining test and documentation coverage from #5885:

  • Extend the fresh-clone integration test to commit thread.txt and assert that the diff contains exactly that file.
  • Extend the existing provider contract test table to verify that selecting dev records the host-resolved origin/dev.
  • Document local-first branch lookup, origin fallback, tracking behavior, and the resolved diff base.

No production code or wire contracts change.

How you verified

  • Turbo plugin server tests: 27 passed.
  • Turbo project-checkout integration tests: 3 passed.
  • Turbo lint/typecheck for the plugin and integration packages completed successfully.
  • Temporarily changed the server to record the requested dev instead of origin/dev: the provider test failed and the integration test failed with an empty diff instead of A\tthread.txt\n. Restored production code byte for byte and reran both suites successfully.
  • Formatted all three changed files and ran git diff --check.

Follow-up to #5855; carries over coverage and documentation from #5885.

AGENT GENERATED

@ymichael
ymichael merged commit bb336d3 into main Oct 20, 2026
25 checks passed
@ymichael
ymichael deleted the test/project-checkout-origin-diff branch October 20, 2026 20:42
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