Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Updates to CI directives #539

Merged
merged 3 commits into from
Apr 18, 2025
Merged

Updates to CI directives #539

merged 3 commits into from
Apr 18, 2025

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Apr 18, 2025

Split the following from #533:

  • Allow skipping extensive tests with ci: skip-extensive
  • Require ci: allow-many-extensive if a threshold is exceeded
  • Increase the timeout for extensive tests

More detail is in the commit messages.

@tgross35 tgross35 changed the title Ci updates Various CI updates: Apr 18, 2025
@tgross35 tgross35 changed the title Various CI updates: Updates to CI directives Apr 18, 2025
@tgross35 tgross35 enabled auto-merge (rebase) April 18, 2025 03:59
@tgross35 tgross35 disabled auto-merge April 18, 2025 03:59
Sometimes we do refactoring that moves things around and triggers an
extensive test, even though the implementation didn't change. There
isn't any need to run full extensive CI in these cases, so add a way to
skip it from the PR message.
Error out when too many extensive tests would be run unless `ci:
allow-many-extensive` is in the PR description. This allows us to set a
much higher CI timeout with less risk that a 4+ hour job gets started by
accident.
The reorganization PR has caused this to fail once before because every
file shows up as changed. Increase the timeout so this doesn't happen.

We now cancel the job if too many extensive tests are run unless `ci:
allow-many-extensive` is in the PR description, so this helps prevent
the limit being hit by accident.
@tgross35 tgross35 enabled auto-merge (rebase) April 18, 2025 04:00
@tgross35 tgross35 merged commit 932898e into rust-lang:master Apr 18, 2025
35 checks passed
@tgross35 tgross35 deleted the ci-updates branch April 18, 2025 07:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant