Skip to content

ci: support optional jobs - #143274

Merged
bors merged 1 commit into
rust-lang:masterfrom
marcoieni:optional-jobs
Jul 2, 2025
Merged

ci: support optional jobs#143274
bors merged 1 commit into
rust-lang:masterfrom
marcoieni:optional-jobs

Conversation

@marcoieni

@marcoienimarcoieni commented Jul 1, 2025

Copy link
Copy Markdown
Member

As discussed in #t-infra > Testing for T2/T3 targets @ 💬.

Add support for jobs running only on-demand (not part of the auto build or pr jobs).

r? @Kobzol

try-job: optional-mingw-check-1

@rustbotrustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jul 1, 2025
@marcoieni

Copy link
Copy Markdown
MemberAuthor

@bors try

bors added a commit that referenced this pull request Jul 1, 2025
ci: support optional jobs
try-job: optional-mingw-check-1
@bors

bors commented Jul 1, 2025

Copy link
Copy Markdown
Collaborator

⌛ Trying commit cee1069 with merge 0e1edb2...

Comment threadsrc/ci/citool/tests/test-jobs.yml Outdated
@marcoieni
marcoieni marked this pull request as ready for review July 1, 2025 09:29
@rustbotrustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 1, 2025
@marcoieni

Copy link
Copy Markdown
MemberAuthor

looks like it's working

@rustbot ready

@Kobzol

Copy link
Copy Markdown
Member

Thanks! You can r=me once PR CI and the try build are green.

@marcoieni

Copy link
Copy Markdown
MemberAuthor

@bors r=Kobzol

@bors

bors commented Jul 1, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 311a99c has been approved by Kobzol

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 1, 2025

@jieyouxujieyouxu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hm, could we write this down somewhere in contributing docs, just so other contributors might actually discover this is a thing 😁 (Doesn't have to be in this PR)

@marcoienimarcoieni mentioned this pull request Jul 1, 2025
@marcoieni

Copy link
Copy Markdown
MemberAuthor

done in #143283 👍

jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 1, 2025
ci: support optional jobs
try-job: optional-mingw-check-1
@jhprattjhpratt mentioned this pull request Jul 1, 2025
bors added a commit that referenced this pull request Jul 2, 2025
Rollup of 12 pull requests
Successful merges:
- #141829 (Specialize sleep_until implementation for unix (except mac))
- #141847 (Explain `TOCTOU` on the top of `std::fs`, and reference it in functions)
- #142138 (Add `Vec::into_chunks`)
- #142321 (Expose elf abi on ppc64 targets)
- #142568 (Use the .drectve section for exporting symbols from dlls on Windows)
- #142886 (ci: aarch64-gnu: Stop skipping `panic_abort_doc_tests`)
- #143038 (avoid suggesting traits from private dependencies)
- #143194 (fix bitcast of single-element SIMD vectors)
- #143206 (Align attr fixes)
- #143258 (Don't recompute `DisambiguatorState` for every RPITIT in trait definition)
- #143260 (Use the correct export kind for __rust_alloc_error_handler_should_panic)
- #143274 (ci: support optional jobs)
r? `@ghost`
`@rustbot` modify labels: rollup
jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 2, 2025
ci: support optional jobs
try-job: optional-mingw-check-1
@jhprattjhpratt mentioned this pull request Jul 2, 2025
bors added a commit that referenced this pull request Jul 2, 2025
Rollup of 11 pull requests
Successful merges:
- #141829 (Specialize sleep_until implementation for unix (except mac))
- #141847 (Explain `TOCTOU` on the top of `std::fs`, and reference it in functions)
- #142138 (Add `Vec::into_chunks`)
- #142321 (Expose elf abi on ppc64 targets)
- #142886 (ci: aarch64-gnu: Stop skipping `panic_abort_doc_tests`)
- #143038 (avoid suggesting traits from private dependencies)
- #143194 (fix bitcast of single-element SIMD vectors)
- #143206 (Align attr fixes)
- #143258 (Don't recompute `DisambiguatorState` for every RPITIT in trait definition)
- #143260 (Use the correct export kind for __rust_alloc_error_handler_should_panic)
- #143274 (ci: support optional jobs)
r? `@ghost`
`@rustbot` modify labels: rollup
jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 2, 2025
ci: support optional jobs
try-job: optional-mingw-check-1
@jhprattjhpratt mentioned this pull request Jul 2, 2025
bors added a commit that referenced this pull request Jul 2, 2025
Rollup of 12 pull requests
Successful merges:
- #141847 (Explain `TOCTOU` on the top of `std::fs`, and reference it in functions)
- #142138 (Add `Vec::into_chunks`)
- #142321 (Expose elf abi on ppc64 targets)
- #142886 (ci: aarch64-gnu: Stop skipping `panic_abort_doc_tests`)
- #143038 (avoid suggesting traits from private dependencies)
- #143194 (fix bitcast of single-element SIMD vectors)
- #143206 (Align attr fixes)
- #143231 (Suggest use another lifetime specifier instead of underscore lifetime)
- #143232 ([COMPILETEST-UNTANGLE 3/N] Use "directives" consistently within compiletest)
- #143258 (Don't recompute `DisambiguatorState` for every RPITIT in trait definition)
- #143260 (Use the correct export kind for __rust_alloc_error_handler_should_panic)
- #143274 (ci: support optional jobs)
r? `@ghost`
`@rustbot` modify labels: rollup
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jul 2, 2025
ci: support optional jobs
try-job: optional-mingw-check-1
bors added a commit that referenced this pull request Jul 2, 2025
Rollup of 11 pull requests
Successful merges:
- #141847 (Explain `TOCTOU` on the top of `std::fs`, and reference it in functions)
- #142138 (Add `Vec::into_chunks`)
- #142321 (Expose elf abi on ppc64 targets)
- #142886 (ci: aarch64-gnu: Stop skipping `panic_abort_doc_tests`)
- #143038 (avoid suggesting traits from private dependencies)
- #143194 (fix bitcast of single-element SIMD vectors)
- #143231 (Suggest use another lifetime specifier instead of underscore lifetime)
- #143232 ([COMPILETEST-UNTANGLE 3/N] Use "directives" consistently within compiletest)
- #143258 (Don't recompute `DisambiguatorState` for every RPITIT in trait definition)
- #143260 (Use the correct export kind for __rust_alloc_error_handler_should_panic)
- #143274 (ci: support optional jobs)
r? `@ghost`
`@rustbot` modify labels: rollup
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jul 2, 2025
ci: support optional jobs
try-job: optional-mingw-check-1
bors added a commit that referenced this pull request Jul 2, 2025
Rollup of 10 pull requests
Successful merges:
- #141847 (Explain `TOCTOU` on the top of `std::fs`, and reference it in functions)
- #142138 (Add `Vec::into_chunks`)
- #142321 (Expose elf abi on ppc64 targets)
- #142886 (ci: aarch64-gnu: Stop skipping `panic_abort_doc_tests`)
- #143194 (fix bitcast of single-element SIMD vectors)
- #143231 (Suggest use another lifetime specifier instead of underscore lifetime)
- #143232 ([COMPILETEST-UNTANGLE 3/N] Use "directives" consistently within compiletest)
- #143258 (Don't recompute `DisambiguatorState` for every RPITIT in trait definition)
- #143260 (Use the correct export kind for __rust_alloc_error_handler_should_panic)
- #143274 (ci: support optional jobs)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Jul 2, 2025
Rollup of 9 pull requests
Successful merges:
- #141847 (Explain `TOCTOU` on the top of `std::fs`, and reference it in functions)
- #142138 (Add `Vec::into_chunks`)
- #142321 (Expose elf abi on ppc64 targets)
- #142886 (ci: aarch64-gnu: Stop skipping `panic_abort_doc_tests`)
- #143194 (fix bitcast of single-element SIMD vectors)
- #143231 (Suggest use another lifetime specifier instead of underscore lifetime)
- #143232 ([COMPILETEST-UNTANGLE 3/N] Use "directives" consistently within compiletest)
- #143258 (Don't recompute `DisambiguatorState` for every RPITIT in trait definition)
- #143274 (ci: support optional jobs)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit c572231 into rust-lang:masterJul 2, 2025
rust-timer added a commit that referenced this pull request Jul 2, 2025
Rollup merge of #143274 - marcoieni:optional-jobs, r=Kobzol
ci: support optional jobs
try-job: optional-mingw-check-1
@rustbotrustbot added this to the 1.90.0 milestone Jul 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@marcoieni@bors@Kobzol@jieyouxu@rustbot