A failing Windows test job blocks publishing, and every CI test job uploads its results #371

Merged
claude merged 6 commits from feature/366-windows-gate-and-test-results into develop 2026-11-12 04:12:43 -05:00
Owner

A failing Windows test job now blocks publishing, and the CI test jobs upload their results. These are owner decisions Q-REL-19 and Q-REL-20.

Gate

  • A new job windows-gate needs test-windows. It runs only when that job succeeded or was skipped: !cancelled() && inputs.kind != 'verify' && (result == 'success' || result == 'skipped'). image, packages and publish now need windows-gate.
  • On develop and main, a failed or cancelled test-windows skips the gate, and so image, packages and publish. No container image and no NuGet package is pushed, and the release stays a draft, which the hourly clean-up removes after 24 hours.
  • On pull requests, other branches and release runs, test-windows is skipped by design, and publishing behaves as before.
  • draft, the binaries and the Linux packages do not wait, so a green run is not slowed by the single Windows runner; they only attach to the invisible draft.

Test results

  • test-dotnet and test-windows write TRX files to TestResults/ci/main and TestResults/ci/rollover. test-admin-console tees the Karma output to TestResults/ci/karma.log.
  • Each job uploads test-results-<job> with if: always(), kept for 14 days.
  • The action is https://code.forgejo.org/forgejo/upload-artifact v3.1.3, pinned by SHA. Version 4 was tried first: Forgejo 15.0.11 refuses its artifact protocol ("not currently supported on GHES") and the step failed both test jobs in run 1445. bump-pins.sh now maintains that pin inside its major version. lint.sh and actionlint.yaml accept the URL form.

Verified statically:

  • The verifier read the forgejo-runner 13.2.1 source, and the Forgejo server source on its development branch, for the if and needs semantics.
  • The pin SHA matches tag v3.1.3.
  • The bump-pins self-test passes (41 checks).
  • Lint passes in a clean clone.
  • A TRX smoke run lands in the workspace.

To prove on CI

  • This PR run: the upload steps and artifacts on asgard; the gate, image, packages and publish skipped; Pipeline green.
  • The first develop push: the upload on lofnheim, then test-windows and windows-gate before image, packages and publish.
  • Run 1445 also had one unrelated test failure, a shutdown race filed as #373.

Closes #366

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

A failing Windows test job now blocks publishing, and the CI test jobs upload their results. These are owner decisions Q-REL-19 and Q-REL-20. **Gate** - A new job `windows-gate` needs `test-windows`. It runs only when that job succeeded or was skipped: `!cancelled() && inputs.kind != 'verify' && (result == 'success' || result == 'skipped')`. `image`, `packages` and `publish` now need `windows-gate`. - On develop and main, a failed or cancelled `test-windows` skips the gate, and so `image`, `packages` and `publish`. No container image and no NuGet package is pushed, and the release stays a draft, which the hourly clean-up removes after 24 hours. - On pull requests, other branches and release runs, `test-windows` is skipped by design, and publishing behaves as before. - `draft`, the binaries and the Linux packages do not wait, so a green run is not slowed by the single Windows runner; they only attach to the invisible draft. **Test results** - `test-dotnet` and `test-windows` write TRX files to `TestResults/ci/main` and `TestResults/ci/rollover`. `test-admin-console` tees the Karma output to `TestResults/ci/karma.log`. - Each job uploads `test-results-<job>` with `if: always()`, kept for 14 days. - The action is `https://code.forgejo.org/forgejo/upload-artifact` v3.1.3, pinned by SHA. Version 4 was tried first: Forgejo 15.0.11 refuses its artifact protocol ("not currently supported on GHES") and the step failed both test jobs in run 1445. `bump-pins.sh` now maintains that pin inside its major version. `lint.sh` and `actionlint.yaml` accept the URL form. **Verified statically:** - The verifier read the forgejo-runner 13.2.1 source, and the Forgejo server source on its development branch, for the `if` and `needs` semantics. - The pin SHA matches tag v3.1.3. - The bump-pins self-test passes (41 checks). - Lint passes in a clean clone. - A TRX smoke run lands in the workspace. **To prove on CI** - This PR run: the upload steps and artifacts on asgard; the gate, `image`, `packages` and `publish` skipped; `Pipeline` green. - The first develop push: the upload on lofnheim, then `test-windows` and `windows-gate` before `image`, `packages` and `publish`. - Run 1445 also had one unrelated test failure, a shutdown race filed as #373. Closes #366 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #366

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #366

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The weekly pin bump now also moves the upload-artifact action to its newest tag
Some checks failed
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
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Stage Draft Release (push) Has been skipped
Build / Pack and Push NuGet Packages (common) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (push) Has been skipped
Build / Pack and Push NuGet Packages (dhcp) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) 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 / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) Has been skipped
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Failing after 0s
Build / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
19ce13b575
Closes #366

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
A develop or main build whose Windows tests fail no longer pushes its container image or NuGet packages
Some checks failed
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
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (common) (push) Has been skipped
Build / Pack and Push NuGet Packages (dhcp) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-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 / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) 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 / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Failing after 0s
be41d2e220
The image and packages jobs now need windows-gate, like publish, so nothing
of a build is visible outside the run until the Windows tests have passed.

Refs #366

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The NuGet job's comment says it starts after the Windows tests on develop and main, and the README sentence on publishing is wrapped
Some checks failed
Build / Pack and Push NuGet Packages (common) (push) Has been skipped
Build / Pack and Push NuGet Packages (dhcp) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (push) 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-server) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Build Binary (macos-arm64) (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 / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) 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 / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Failing after 0s
b0b1a497c4
Refs #366

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The test jobs upload their results with version 3 of the Forgejo upload action, because the server refuses version 4 and the step failed the job
All checks were successful
Build / Pack and Push NuGet Packages (dhcp) (push) Successful in -1m59s
Build / Pack and Push NuGet Packages (dns-server) (push) Successful in -1m55s
Build / Pack and Push NuGet Packages (dns-core) (push) Successful in -1m55s
Build / Pack and Push NuGet Packages (common) (pull_request) Successful in -2m21s
Build / Stage Draft Release (pull_request) Successful in -2m33s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Successful in -2m3s
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Successful in -2m0s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Successful in -1m54s
Build / Build Binary (linux-amd64) (push) Successful in -36s
Build / Build Binary (linux-arm64) (push) Successful in -33s
Build / Build Binary (macos-amd64) (push) Successful in -40s
Build / Build Binary (macos-arm64) (push) Successful in -44s
Build / Build Binary (windows-amd64) (push) Successful in -40s
Build / Build Binary (linux-amd64) (pull_request) Successful in -46s
Build / Smoke Test the Windows Binary (push) Successful in 15s
Build / Build Binary (linux-arm64) (pull_request) Successful in -49s
Build / Build Binary (macos-amd64) (pull_request) Successful in -48s
Build / Build Binary (macos-arm64) (pull_request) Successful in -49s
Build / Build Binary (windows-amd64) (pull_request) Successful in -42s
Build / Smoke Test the Windows Binary (pull_request) Successful in 15s
Build / Build and Push Image (push) Successful in -2m29s
Build / Build Arch Linux Packages (push) Successful in -2m20s
Build / Build Arch Linux Packages (pull_request) Successful in -1m57s
Build / Build and Push Image (pull_request) Successful in -2m30s
Build / Build and Test Deb and RPM Packages (push) Successful in -4s
Build / Publish Release (push) Successful in -2m33s
Build / Pipeline (push) Successful in 0s
Build / Build and Test Deb and RPM Packages (pull_request) Successful in 13s
Build / Publish Release (pull_request) Successful in -2m23s
Build / Pipeline (pull_request) Successful in 0s
3c59147263
Refs #366

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit c816da55a9 into develop 2026-11-12 04:12:43 -05:00
claude deleted branch feature/366-windows-gate-and-test-results 2026-11-12 04:12:43 -05:00
Sign in to join this conversation.
No reviewers
No project
No assignees
2 participants
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!371
No description provided.