Only develop, main and hotfix branches build a pre-release on push; a feature branch runs its pull-request tests only #427

Closed
opened 2026-11-13 13:23:39 -05:00 by claude · 0 comments
Owner

Why

build.yml runs the whole pre-release pipeline (about 20 jobs: five binaries, the Arch, Deb and RPM packages, the image, four NuGet pushes, the Windows tests and smoke test, a published pre-release) on every push to any branch that is not a release branch. A feature branch also gets its pull-request run (pull-request.yml, about 4 jobs), which is the one the merge waits for. The Linux runner takes two jobs at a time, so the branch builds of several feature branches fill the queue ahead of other pull requests' tests. On 2026-11-13 seven feature branches caused about 140 jobs of pre-release builds against about 28 jobs of pull-request tests.

What changes

  • build.yml runs on a push to develop, main and hotfix/** only, and by hand ("Run workflow") on any branch as today. hotfix/** stays because the release procedure checks the hotfix branch's own pipeline run.
  • A feature branch gets its pull-request run only. Its packaging, image and Windows results come with the develop build after the merge.
  • The header of build.yml, the README (the pipeline section: the workflow table, the version table row "Any push to a branch", and any sentence that says every branch push publishes a pre-release) and CONTRIBUTING.md (the paragraph "A push to any branch other than a release branch runs …") describe this, including how to start a branch build by hand when a pre-release of a feature branch is wanted.

Acceptance

  • A push to a feature/* branch starts no Build run of event push; its pull request still gets Build / Pipeline (pull_request).
  • A push to develop still runs the full pre-release build.
  • lint.sh and the script tests pass; no document says that every branch push builds a pre-release.

Owner decision 2026-11-13.

**Why** `build.yml` runs the whole pre-release pipeline (about 20 jobs: five binaries, the Arch, Deb and RPM packages, the image, four NuGet pushes, the Windows tests and smoke test, a published pre-release) on every push to any branch that is not a release branch. A feature branch also gets its pull-request run (`pull-request.yml`, about 4 jobs), which is the one the merge waits for. The Linux runner takes two jobs at a time, so the branch builds of several feature branches fill the queue ahead of other pull requests' tests. On 2026-11-13 seven feature branches caused about 140 jobs of pre-release builds against about 28 jobs of pull-request tests. **What changes** - `build.yml` runs on a push to `develop`, `main` and `hotfix/**` only, and by hand ("Run workflow") on any branch as today. `hotfix/**` stays because the release procedure checks the hotfix branch's own pipeline run. - A feature branch gets its pull-request run only. Its packaging, image and Windows results come with the `develop` build after the merge. - The header of `build.yml`, the README (the pipeline section: the workflow table, the version table row "Any push to a branch", and any sentence that says every branch push publishes a pre-release) and CONTRIBUTING.md (the paragraph "A push to any branch other than a release branch runs …") describe this, including how to start a branch build by hand when a pre-release of a feature branch is wanted. **Acceptance** - [ ] A push to a `feature/*` branch starts no `Build` run of event `push`; its pull request still gets `Build / Pipeline (pull_request)`. - [ ] A push to `develop` still runs the full pre-release build. - [ ] `lint.sh` and the script tests pass; no document says that every branch push builds a pre-release. Owner decision 2026-11-13.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#427
No description provided.