A failing Windows test job blocks publishing, and every CI test job uploads its results #366
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#366
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?
Why
test-windows(#18) runs on pushes to develop and main, butdraftandpublishdo not wait for it. A Windows-only regression therefore still ships a prerelease. The owner decided it must block publishing (Q-REL-19).What changes
publish(anddraft, if it should) liststest-windowsinneeds.test-windowsis skipped on pull requests (verify), on release runs (release) and on pushes to other branches. A plainneedson a skipped job would skippublishtoo. So the condition must letpublishrun whentest-windowssucceeded or was skipped, and stop it when it failed or was cancelled. For example:!cancelled() && needs.test-windows.result != 'failure', plus the existing conditions, and a check that every otherneedssucceeded, because!cancelled()drops the implicit success check. Prove the condition for eachinputs.kindand branch.test-dotnet,test-windowsand the admin-console test job write results (for example--logger trxinto one results folder, or JUnit for Karma) and upload them as an artifact. Upload even when the tests fail (if: always())./api/v1/version). Forgejo supportsactions/upload-artifactv4 only from a certain release; otherwise use v3 orhttps://code.forgejo.org/forgejo/upload-artifact. Pin it by commit SHA like every other action, and add the pin to whateverbump-pins.ymlmaintains, if it maintains action pins.Acceptance
test-windows(scratch commit) stopspublish. A green one lets it run.Pipelinestatus and the draft/publish behaviour are unchanged.Ghost referenced this issue2026-11-11 23:33:56 -05:00