A pull request builds and publishes a whole pre-release although the pipeline is meant to run only its tests #409
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#409
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
build.ymlsays a pull request intodevelopormainruns the tests only: it callspipeline.ymlwithkind: verify, and every build, package, image and publish job there hasif: inputs.kind != 'verify'.In practice every pull-request run does the whole pre-release build. Evidence from 2026-11-12 and 2026-11-13:
event=pull_requestin the task list, and in each one the fiveBuild Binarylegs, the NuGet legs, the Arch, Deb and RPM packages,Build and Push Image, the Windows smoke test andPublish Releaseall ran and succeeded. None of them was re-run.v2026.11.13.1R404+84bac97,v2026.11.13.1R405+6d1e34a,v2026.11.13.2R400+185b7ae,v2026.11.12.1R385+3de8f0cand about fifteen more.So
kindreaches the pipeline asprereleasefor a pull request. Why is not known. The expression is:The concurrency group two lines above uses the same test.
Why it matters
--filter "Category!=RequiresDocker") and publishes nothing. As it runs today, pull-request code builds and pushes a container image, NuGet packages and a pre-release with the inherited secrets. The repository is private and has one contributor today; this must be right before it goes public.Wanted
kinda pull-request run gets and why (whatforgejo.event_nameholds in awith:of a reusable-workflow call on the runner version in use, v13.2.1; whether the folded scalar or the&&/||form is at fault; whether the test job'sBUILD_KINDcheck seesverify).Pipelinestatus of a pull request covers lint, Test .NET and Test Admin Console only; the develop push run after the merge covers the rest.The pull request that fixes this shows the result in its own run: its build jobs must be skipped.