Skip to content

taskcluster: Turn on shallow clone option#10905

Open
oskirby wants to merge 1 commit intomainfrom
taskcluster-shallow-clone
Open

taskcluster: Turn on shallow clone option#10905
oskirby wants to merge 1 commit intomainfrom
taskcluster-shallow-clone

Conversation

@oskirby
Copy link
Collaborator

@oskirby oskirby commented Dec 10, 2025

Description

I was having difficulty with some windows build tasks running out of disk space, and in searching for ways to save on disk it turns out that taskcluster now supports a shallow clone option as of version 17.0.

Let's turn it on and see what happens!

Reference

Feature added by: taskcluster/taskgraph#772

Checklist

  • My code follows the style guidelines for this project
  • I have not added any packages that contain high risk or unknown licenses (GPL, LGPL, MPL, etc. consult with DevOps if in question)
  • I have performed a self review of my own code
  • I have commented my code PARTICULARLY in hard to understand areas
  • I have added thorough tests where needed

@oskirby oskirby force-pushed the taskcluster-shallow-clone branch 3 times, most recently from 1f42e1f to 42a1a17 Compare December 10, 2025 21:34
@oskirby
Copy link
Collaborator Author

oskirby commented Dec 10, 2025

Well, it seems that only affected the decision task and it didn't propagate to any of the run-task invocations for the builds. So, it didn't really affect much of anything.

@oskirby oskirby marked this pull request as ready for review December 15, 2025 17:05
@oskirby oskirby requested a review from a team as a code owner December 15, 2025 17:05
@oskirby oskirby requested review from abhishekmadan30 and ahal and removed request for a team December 15, 2025 17:05
Copy link
Collaborator

@ahal ahal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, .taskcluster.yml only governs the Decision task. I still need to update the run transforms to support this better in other run-task based tasks as well. You could probably hack a --shallow-clone argument in locally in the meantime if you wanted..

But thanks, this was a good reminder for me :p

# Note: This task is built server side without the context or tooling that
# exist in tree so we must hard code the hash
image: mozillareleases/taskgraph:decision-v14.2.1@sha256:f4e3a22df9ec0017a2534b3a7b4cd9b60318f86619e0c2156c12c1ec1a0e32cb
image: mozillareleases/taskgraph:decision-v18.0.1@sha256:0657e6a6e2ed2272a2ba7c8cbb1df5860a608e97af431e6f32e5106804d236f0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to peruse https://taskcluster-taskgraph.readthedocs.io/en/latest/reference/migrations.html just to see if there's anything that jumps out.

@abhishekmadan30 abhishekmadan30 removed their request for review January 12, 2026 19:19
@oskirby oskirby force-pushed the taskcluster-shallow-clone branch from 42a1a17 to 561161d Compare February 5, 2026 22:37
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.

2 participants