Skip to content

feat(decision): add opt-in --vcs-bundle option to decision task - #987

Open
hneiva wants to merge 1 commit into
mainfrom
hneiva/vcs-bundle
Open

feat(decision): add opt-in --vcs-bundle option to decision task#987
hneiva wants to merge 1 commit into
mainfrom
hneiva/vcs-bundle

Conversation

@hneiva

Copy link
Copy Markdown
Contributor

Add a --vcs-bundle flag to taskgraph decision that writes a native git/hg bundle of the checkout (full history, all refs) to public/vcs.bundle, letting downstream tasks seed a checkout from it instead of re-cloning. The flag is off by default. Bundle creation lives on the Repository abstraction via a new create_bundle method.

Add a `--vcs-bundle` flag to `taskgraph decision` that writes a native
git/hg bundle of the checkout (full history, all refs) to
`public/vcs.bundle`, letting downstream tasks seed a checkout from it
instead of re-cloning. The flag is off by default. Bundle
creation lives on the `Repository` abstraction via a new `create_bundle`
method.
@hneiva
hneiva requested a review from a team as a code ownerJune 11, 2026 21:08
@hneiva
hneiva requested a review from jcristauJune 11, 2026 21:08
@codecov

codecovBot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.59459% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.57%. Comparing base (a8a3f4d) to head (b05c197).
⚠️ Report is 32 commits behind head on main.

Files with missing linesPatch %Lines
src/taskgraph/util/vcs.py75.00%1 Missing and 1 partial ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #987 +/- ##
==========================================
+ Coverage 78.42% 78.57% +0.15% 
==========================================
Files 132 132 Lines 12370 12407 +37 Branches 1491 1494 +3 ==========================================
+ Hits 9701 9749 +48 + Misses 2281 2266 -15 - Partials 388 392 +4 

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jcristaujcristau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Before reviewing this we should experiment and find out whether/how much it improves things, and play with different methods to select the most useful.

Sign up for freeto 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

@hneiva@jcristau