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

@hneiva hneiva commented Jun 11, 2026

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 owner June 11, 2026 21:08
@hneiva hneiva requested a review from jcristau June 11, 2026 21:08
@codecov

codecov Bot 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).

Files with missing lines Patch % Lines
src/taskgraph/util/vcs.py 75.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.

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