commit f115d2e8038c0686d0f6202011e9efbeafbda7c0
parent 1032003ae035b0bf934781ec6253d2757507cbb7
Author: Erich Gubler <erichdongubler@gmail.com>
Date: Wed, 8 Oct 2025 16:27:12 +0000
Bug 1992509 - test(rust): specify `--vcs-diff …/vcs-diff.diff` for Rust vendoring r=supply-chain-reviewers
Upload a new artifact, called `vcs-diff.diff`, with the contents of
a VCS diff after `mach vendor rust` has finished its main vendoring
operation. Contributors can use this to fix their patches and avoid
being stuck on (likely toolchain-related) issues they may not
understand.
N.B. that this file will be present for _all_ instances of this job
going forward. When checks are successful, `vcs-diff.diff` will be
empty. This is the same behavior as the existing `issues.json` file,
which is emitted unconditionally.
Differential Revision: https://phabricator.services.mozilla.com/D267479
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/taskcluster/kinds/source-test/vendor.yml b/taskcluster/kinds/source-test/vendor.yml
@@ -13,6 +13,9 @@ task-defaults:
- type: file
name: public/code-review/issues.json
path: /builds/worker/issues.json
+ - type: file
+ name: public/code-review/vcs-diff.diff
+ path: /builds/worker/vcs-diff.diff
treeherder:
kind: test
tier: 1
@@ -30,7 +33,7 @@ rust:
run:
cwd: '{checkout}'
command: >-
- ./mach vendor rust --issues-json /builds/worker/issues.json
+ ./mach vendor rust --issues-json /builds/worker/issues.json --vcs-diff /builds/worker/vcs-diff.diff
fetches:
toolchain:
- linux64-cargo-vet