Only develop, main and hotfix pushes build a pre-release; a feature branch runs its pull-request tests only #429

Merged
claude merged 3 commits from feature/427-push-builds-on-long-lived-branches into develop 2026-11-13 14:39:26 -05:00
Owner

Closes #427

build.yml ran the whole pre-release pipeline (about 20 jobs) on every push to any branch that is not a release branch. A feature branch also gets its pull-request run, which is the one a merge waits for, and the Linux runner takes two jobs at a time, so the branch builds filled the queue ahead of other pull requests' tests.

  • build.yml now runs on a push to develop, main and hotfix/**, and by hand on any branch as before. A feature/* or bump/pins-* branch gets its pull-request run only.
  • The workflow and script headers, README and CONTRIBUTING.md say what runs where. In particular: the whole .NET suite on Windows runs only in a build of develop or main; a hand-started build of another branch and a hotfix push run everything else, including the Windows smoke test.

The trigger cannot be proven before it is on the default branches: this pull request's own branch push still builds under the old rule. The hotfix/** pattern follows the GitHub Actions filter syntax the runner uses and is first exercised by the next hotfix branch.

Contributor tooling only, so no CHANGELOG entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Closes #427 `build.yml` ran the whole pre-release pipeline (about 20 jobs) on every push to any branch that is not a release branch. A feature branch also gets its pull-request run, which is the one a merge waits for, and the Linux runner takes two jobs at a time, so the branch builds filled the queue ahead of other pull requests' tests. - `build.yml` now runs on a push to `develop`, `main` and `hotfix/**`, and by hand on any branch as before. A `feature/*` or `bump/pins-*` branch gets its pull-request run only. - The workflow and script headers, README and CONTRIBUTING.md say what runs where. In particular: the whole .NET suite on Windows runs only in a build of `develop` or `main`; a hand-started build of another branch and a hotfix push run everything else, including the Windows smoke test. The trigger cannot be proven before it is on the default branches: this pull request's own branch push still builds under the old rule. The `hotfix/**` pattern follows the GitHub Actions filter syntax the runner uses and is first exercised by the next hotfix branch. Contributor tooling only, so no CHANGELOG entry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
A feature branch can still be built by hand with "Run workflow" on the Build workflow.

Closes #427

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #427

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The pin bump script says its token starts the pull request's run, since a bump branch has no push build
All checks were successful
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
Build / Build and Push Image (pull_request) Has been skipped
Build / Test .NET on Windows (pull_request) Has been skipped
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Successful in 0s
Build / Test Admin Console (pull_request) Successful in -1m55s
Build / Test .NET (pull_request) Successful in 4m14s
Build / Compute Version (pull_request) Has been skipped
Build / Lint and Script Tests (pull_request) Successful in -2m8s
Build / Windows Test Gate (pull_request) Successful in -2m39s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Stage Draft Release (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (common) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
1ee810f52d
Refs #427

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit 7730b358b7 into develop 2026-11-13 14:39:26 -05:00
claude deleted branch feature/427-push-builds-on-long-lived-branches 2026-11-13 14:39:27 -05:00
Sign in to join this conversation.
No reviewers
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!429
No description provided.