Skip to content

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Jun 8, 2025

This is not a fully general solution, but the GCC submodule checkout is so slow that I think it's worth it to special-case it. This brings down the time required to checkout submodules from ~1.5 minute to ~0.5 minute.

@rustbot rustbot 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 Jun 8, 2025
@rust-log-analyzer

This comment has been minimized.

@Kobzol Kobzol force-pushed the try-fast-submodule-checkout branch from b3b6f8e to 579c553 Compare June 8, 2025 19:37
@rust-log-analyzer

This comment has been minimized.

@Kobzol Kobzol force-pushed the try-fast-submodule-checkout branch 2 times, most recently from 02cda66 to e2f3c4c Compare June 8, 2025 19:57
@Kobzol Kobzol changed the title Speed up submodule checkouts for the tidy job Do not checkout GCC submodule for the tidy job Jun 8, 2025
@Kobzol Kobzol force-pushed the try-fast-submodule-checkout branch from e2f3c4c to 224bad9 Compare June 8, 2025 20:17
@Kobzol
Copy link
Member Author

Kobzol commented Jun 8, 2025

r? @Mark-Simulacrum

@Kobzol Kobzol marked this pull request as ready for review June 8, 2025 20:17
@rustbot
Copy link
Collaborator

rustbot commented Jun 8, 2025

r? @marcoieni

rustbot has assigned @marcoieni.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 8, 2025
@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 8, 2025

📌 Commit 224bad9 has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@bors bors 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 Jun 8, 2025
@Kobzol Kobzol force-pushed the try-fast-submodule-checkout branch from 224bad9 to cb99801 Compare June 9, 2025 06:18
@Kobzol
Copy link
Member Author

Kobzol commented Jun 9, 2025

Rebased.

@bors r=Mark-Simulacrum

@bors
Copy link
Collaborator

bors commented Jun 9, 2025

📌 Commit cb99801 has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@Kobzol
Copy link
Member Author

Kobzol commented Jun 9, 2025

@bors rollup=always

bors added a commit that referenced this pull request Jun 9, 2025
Rollup of 6 pull requests

Successful merges:

 - #141751 (Remap compiler vs non-compiler sources differently (bootstrap side))
 - #142160 (Only allow `bootstrap` cfg in rustc & related)
 - #142191 (early return in trait detection for non-trait item)
 - #142211 (Do not checkout GCC submodule for the tidy job)
 - #142218 (CI: rfl: move job forward to Linux v6.16-rc1)
 - #142224 (Avoid a gratuitous 10s wait in a stress test)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 5d0a3ab into rust-lang:master Jun 9, 2025
10 checks passed
@rustbot rustbot added this to the 1.89.0 milestone Jun 9, 2025
rust-timer added a commit that referenced this pull request Jun 9, 2025
Rollup merge of #142211 - Kobzol:try-fast-submodule-checkout, r=Mark-Simulacrum

Do not checkout GCC submodule for the tidy job

This is not a fully general solution, but the GCC submodule checkout is so slow that I think it's worth it to special-case it. This brings down the time required to checkout submodules from ~1.5 minute to ~0.5 minute.
@Kobzol Kobzol deleted the try-fast-submodule-checkout branch June 9, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant 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.

6 participants