Skip to content

Conversation

ahal
Copy link
Collaborator

@ahal ahal commented Sep 11, 2025

No description provided.

@ahal ahal self-assigned this Sep 11, 2025
@ahal ahal force-pushed the run-task-git branch 3 times, most recently from e4b6b56 to bc5cc0f Compare September 17, 2025 15:58
@ahal ahal force-pushed the run-task-git branch 4 times, most recently from 7cba9a9 to d58fa3c Compare September 23, 2025 15:10
@ahal ahal force-pushed the run-task-git branch 2 times, most recently from edeb769 to 5387210 Compare October 3, 2025 15:27
@ahal ahal added the BREAKING CHANGE Backwards incompatible request that will require major version bump label Oct 3, 2025
@ahal ahal changed the title WIP: Improve git clone speeds in run-task WIP: Support shallow clones with Git Oct 3, 2025
ahal added 8 commits October 3, 2025 12:07
This will allow us to index tasks by pull request which can help testing
changes in external repos.
This requires us to keep deepening the repository. There's likely a more
efficient way to do this, but for this is at least better than an error.
If the condition in the if statement is true, then we've already fetched
ref from head_repo. There's no need to do so again.
BREAKING CHANGE: `base_ref` will no longer be fetched or checked out by
run-task

Taskgraph uses base_rev anyway for computing files changed, so there's
no need to additionally fetch base_ref. Some tasks may need to be
updated to not rely on base_ref being present in the local clone.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGE Backwards incompatible request that will require major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant