Skip to content

[CI] Add path-based triggers for niche workflows#3403

Open
vmoens wants to merge 5 commits intogh/vmoens/206/basefrom
gh/vmoens/206/head
Open

[CI] Add path-based triggers for niche workflows#3403
vmoens wants to merge 5 commits intogh/vmoens/206/basefrom
gh/vmoens/206/head

Conversation

@vmoens
Copy link
Collaborator

@vmoens vmoens commented Jan 28, 2026

Stack from ghstack (oldest at bottom):

Make expensive/niche workflows conditional on labels to reduce CI costs:

  • docs.yml: Only builds docs on PRs when Documentation or tutorials/ label
    is present. Always builds on push to main/nightly/release.

  • benchmarks_pr.yml: Only runs benchmarks when Performance or
    benchmarks/upload label is present. This is expensive (GPU, runs twice).

  • test-linux-sota.yml: Only runs SOTA tests when sota-implementations/
    label is present. Always runs on push to main/nightly/release.

Labels are auto-applied by the file-based labeler (auto-labeler.yml) when
relevant files change, so developers don't need to manually add them.

Core library tests (test-linux.yml) continue to run on all PRs since
components are interconnected (e.g., replay buffers affect collectors).

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 28, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/3403

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 509bf02 with merge base e09ee4f (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@github-actions github-actions bot added the CI Has to do with CI setup (e.g. wheels & builds, tests...) label Jan 28, 2026
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 28, 2026
[ghstack-poisoned]
[ghstack-poisoned]
vmoens added a commit that referenced this pull request Jan 29, 2026
Make expensive/niche workflows conditional on labels to reduce CI costs:

- docs.yml: Only builds docs on PRs when Documentation or tutorials/ label
  is present. Always builds on push to main/nightly/release.

- benchmarks_pr.yml: Only runs benchmarks when Performance or
  benchmarks/upload label is present. This is expensive (GPU, runs twice).

- test-linux-sota.yml: Only runs SOTA tests when sota-implementations/
  label is present. Always runs on push to main/nightly/release.

Labels are auto-applied by the file-based labeler (auto-labeler.yml) when
relevant files change, so developers don't need to manually add them.

Core library tests (test-linux.yml) continue to run on all PRs since
components are interconnected (e.g., replay buffers affect collectors).


ghstack-source-id: c56f047
Pull-Request: #3403
[ghstack-poisoned]
vmoens added a commit that referenced this pull request Jan 29, 2026
Make expensive/niche workflows conditional on labels to reduce CI costs:

- docs.yml: Only builds docs on PRs when Documentation or tutorials/ label
  is present. Always builds on push to main/nightly/release.

- benchmarks_pr.yml: Only runs benchmarks when Performance or
  benchmarks/upload label is present. This is expensive (GPU, runs twice).

- test-linux-sota.yml: Only runs SOTA tests when sota-implementations/
  label is present. Always runs on push to main/nightly/release.

Labels are auto-applied by the file-based labeler (auto-labeler.yml) when
relevant files change, so developers don't need to manually add them.

Core library tests (test-linux.yml) continue to run on all PRs since
components are interconnected (e.g., replay buffers affect collectors).


ghstack-source-id: 9a91e29
Pull-Request: #3403
[ghstack-poisoned]
vmoens added a commit that referenced this pull request Jan 29, 2026
Make expensive/niche workflows conditional on labels to reduce CI costs:

- docs.yml: Only builds docs on PRs when Documentation or tutorials/ label
  is present. Always builds on push to main/nightly/release.

- benchmarks_pr.yml: Only runs benchmarks when Performance or
  benchmarks/upload label is present. This is expensive (GPU, runs twice).

- test-linux-sota.yml: Only runs SOTA tests when sota-implementations/
  label is present. Always runs on push to main/nightly/release.

Labels are auto-applied by the file-based labeler (auto-labeler.yml) when
relevant files change, so developers don't need to manually add them.

Core library tests (test-linux.yml) continue to run on all PRs since
components are interconnected (e.g., replay buffers affect collectors).


ghstack-source-id: cfcd503
Pull-Request: #3403
vmoens added a commit that referenced this pull request Jan 29, 2026
Make expensive/niche workflows conditional on labels to reduce CI costs:

- docs.yml: Only builds docs on PRs when Documentation or tutorials/ label
  is present. Always builds on push to main/nightly/release.

- benchmarks_pr.yml: Only runs benchmarks when Performance or
  benchmarks/upload label is present. This is expensive (GPU, runs twice).

- test-linux-sota.yml: Only runs SOTA tests when sota-implementations/
  label is present. Always runs on push to main/nightly/release.

Labels are auto-applied by the file-based labeler (auto-labeler.yml) when
relevant files change, so developers don't need to manually add them.

Core library tests (test-linux.yml) continue to run on all PRs since
components are interconnected (e.g., replay buffers affect collectors).


ghstack-source-id: cfcd503
Pull-Request: #3403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Has to do with CI setup (e.g. wheels & builds, tests...) CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant