Repository navigation
ci(rpm): build the RPM on pull requests only for packaging changes - #2798
Merged
Merged
Conversation
A full RPM build takes about 20 minutes and ran on every dependency bump. Pushes to main keep the broad path filter, so Cargo and metadata breakage still surfaces before a release. Refs #2797
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The RPM packaging check compiles Strata from scratch in a Fedora container, which takes 18–30 minutes. It ran on every PR that touched
Cargo.toml,Cargo.lock,README.md, crate manifests, licenses or desktop metadata, so dependency bumps and unrelated PRs waited on it.Pull requests now run it only when they change the packaging itself:
packaging/rpm/**,scripts/build_srpm.py,scripts/update_aur.py(whichbuild_srpm.pyimports), and therpm.ymlandpublish-copr.ymlworkflows. Pushes tomainkeep the full path filter, so a Cargo or metadata change that breaks the RPM, such as a crate under a license COPR rejects, still fails one merge later and before a release.docs/packaging.mddescribes the new split.Visual evidence
N/A: CI configuration and documentation only.
How to test
Cargo.lockorREADME.md.packaging/rpm/strata.spec.in.Cargo.lockintomain.Expected result: The "RPM packaging" check doesn't appear on the first PR. It runs on the second PR and on the push to
main.Related issue
Closes #2797