Skip to content

feat(ci): run heavy tests only if PR is labeled with ready#11263

Closed
muXxer wants to merge 9 commits into
developfrom
feat/ci-trigger-heavy-tests-with-ready-label
Closed

feat(ci): run heavy tests only if PR is labeled with ready#11263
muXxer wants to merge 9 commits into
developfrom
feat/ci-trigger-heavy-tests-with-ready-label

Conversation

@muXxer
Copy link
Copy Markdown
Contributor

@muXxer muXxer commented Apr 20, 2026

Description of change

To reduce the load on our CI runners, we will run heavy tests like rust-tests, rust-simtests, split-cluster, split-cluster-sync-check or e2e (turbo-hierarchy.yml) only if a PR is marked with ready label.

What changed

  • hierarchy.yml: split-cluster and split-cluster-sync-check jobs now require the "ready" label on PRs
  • turbo_hierarchy.yml: e2e job now requires the "ready" label on PRs
  • _rust_tests.yml: rust-tests, rust-simtests jobs now require the "ready" label on PRs

How it works

  • PR opened/pushed → cheap jobs run normally, expensive jobs skip (no "ready" label)
  • Developer adds "ready" label → clicks "Re-run all jobs" → expensive jobs now run
  • Subsequent pushes with "ready" present → expensive jobs run automatically
  • Nightly / push to main branches → everything runs, label check bypassed
  • No trigger changes, no concurrency group changes, no interference with the labeler bot

Links to any relevant issues

#11253

How the change has been tested

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

5 Skipped Deployments
Project Deployment Actions Updated (UTC)
apps-backend Ignored Ignored Preview Apr 20, 2026 2:12pm
apps-ui-kit Ignored Ignored Preview, Comment Apr 20, 2026 2:12pm
iota-evm-bridge Ignored Ignored Preview Apr 20, 2026 2:12pm
iota-multisig-toolkit Ignored Ignored Preview Apr 20, 2026 2:12pm
rebased-explorer Ignored Ignored Preview Apr 20, 2026 2:12pm

Request Review

@iota-ci iota-ci added core-protocol node Issues related to the Core Node team labels Apr 20, 2026
@github-actions github-actions Bot added ci Issues related to our CI pipeline and removed node Issues related to the Core Node team core-protocol labels Apr 20, 2026
@muXxer muXxer marked this pull request as draft April 20, 2026 13:54
@muXxer muXxer force-pushed the feat/ci-trigger-heavy-tests-with-ready-label branch from 7dab1e7 to 46a885f Compare April 20, 2026 14:11
@iota-ci iota-ci added core-protocol node Issues related to the Core Node team labels Apr 20, 2026
@muXxer muXxer marked this pull request as ready for review April 20, 2026 14:12
@muXxer muXxer added the ready PR is ready (trigger heavy test runs) label Apr 20, 2026
@muXxer muXxer marked this pull request as draft April 20, 2026 14:34
…"ready"; not running light tests on labeling, but still running couple of them required for heavy tests; checking SHA before running heavy tests to not run them twice if we got already success
@chriscandless chriscandless removed the ready PR is ready (trigger heavy test runs) label May 12, 2026
@chriscandless chriscandless marked this pull request as ready for review May 12, 2026 13:03
@chriscandless chriscandless marked this pull request as draft May 12, 2026 13:04
@chriscandless chriscandless marked this pull request as ready for review May 12, 2026 13:05
@chriscandless chriscandless added the ready PR is ready (trigger heavy test runs) label May 12, 2026
@chriscandless chriscandless marked this pull request as draft May 12, 2026 14:25
@chriscandless chriscandless marked this pull request as ready for review May 12, 2026 15:08
Chris McCandless added 2 commits May 12, 2026 17:24
@muXxer
Copy link
Copy Markdown
Contributor Author

muXxer commented May 18, 2026

Superseeded by #11540

@muXxer muXxer closed this May 18, 2026
@muXxer muXxer deleted the feat/ci-trigger-heavy-tests-with-ready-label branch May 20, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Issues related to our CI pipeline core-protocol node Issues related to the Core Node team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants