A draft release without a binary now fails the download with a message that says to re-run the whole run #410

Merged
claude merged 4 commits from feature/407-single-job-rerun into develop 2026-11-13 04:11:55 -05:00
Owner

A draft release without a binary now fails the download with a message that says to re-run the whole run, and CONTRIBUTING.md explains that one job of a run must not be re-run alone. CI scripts and documentation only.

  • Failure: after only the failed Test .NET job of run 1520 was re-run, the Arch, Deb/RPM and image jobs failed within seconds with "The draft for ... has no attachment named ninlil-linux-arm64".
  • Cause (from Forgejo's task list, not its source): after a single-job re-run, Forgejo on runner v13.2.1 started only one leg of each matrix job that had not run before (one Build Binary of five) and then treated the matrix job as done. The draft therefore lacked binaries. The cause is outside the repository.
  • Change in release.sh download: the failure names the missing attachment as before and now adds that this happens when one job was re-run alone, and that the remedy is to cancel the run if it is still going and re-run all jobs.
  • CONTRIBUTING.md: a new section, "Re-running one job of a run", with the observation and the steps.
  • Branch history: the first commit changed how the draft is staged; the verifier showed that was not the cause, and the second commit restores it. In the net diff stage is identical to develop, so the release path is unchanged apart from two lines of error text.

Verified

  • release.test.sh 22 checks, 0 failed; against develop's script exactly the new message assertion fails. bash -n, shellcheck and actionlint pass (container lint).
  • Verifier: fix needed on the first round (wrong cause), accepted on the second. The runner version it could not confirm is the one the job log of run 1520 prints.
  • Not done: a single-job re-run still does not work; it now fails with a clear instruction.

Closes #407

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

A draft release without a binary now fails the download with a message that says to re-run the whole run, and CONTRIBUTING.md explains that one job of a run must not be re-run alone. CI scripts and documentation only. - **Failure:** after only the failed `Test .NET` job of run 1520 was re-run, the Arch, Deb/RPM and image jobs failed within seconds with "The draft for ... has no attachment named ninlil-linux-arm64". - **Cause (from Forgejo's task list, not its source):** after a single-job re-run, Forgejo on runner v13.2.1 started only one leg of each matrix job that had not run before (one `Build Binary` of five) and then treated the matrix job as done. The draft therefore lacked binaries. The cause is outside the repository. - **Change in `release.sh download`:** the failure names the missing attachment as before and now adds that this happens when one job was re-run alone, and that the remedy is to cancel the run if it is still going and re-run all jobs. - **CONTRIBUTING.md:** a new section, "Re-running one job of a run", with the observation and the steps. - **Branch history:** the first commit changed how the draft is staged; the verifier showed that was not the cause, and the second commit restores it. In the net diff `stage` is identical to develop, so the release path is unchanged apart from two lines of error text. **Verified** - `release.test.sh` 22 checks, 0 failed; against develop's script exactly the new message assertion fails. `bash -n`, shellcheck and actionlint pass (container lint). - Verifier: fix needed on the first round (wrong cause), accepted on the second. The runner version it could not confirm is the one the job log of run 1520 prints. - Not done: a single-job re-run still does not work; it now fails with a clear instruction. Closes #407 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #407

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

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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
CONTRIBUTING explains that one job of a run must not be re-run alone and what to do instead
All checks were successful
Build / Build Binary (macos-arm64) (push) Successful in -1m3s
Build / Build Binary (windows-amd64) (push) Successful in -49s
Build / Smoke Test the Windows Binary (push) Successful in 17s
Build / Build Arch Linux Packages (push) Successful in -2m14s
Build / Build and Push Image (push) Successful in -2m8s
Build / Build and Test Deb and RPM Packages (push) Successful in 31s
Build / Test .NET on Windows (pull_request) Has been skipped
Build / Publish Release (push) Successful in -2m35s
Build / Pipeline (push) Successful in 0s
Build / Compute Version (pull_request) Successful in -2m32s
Build / Test Admin Console (pull_request) Successful in -59s
Build / Lint and Script Tests (pull_request) Successful in -2m7s
Build / Windows Test Gate (pull_request) Successful in -2m38s
Build / Test .NET (pull_request) Successful in 4m10s
Build / Stage Draft Release (pull_request) Successful in -2m36s
Build / Pack and Push NuGet Packages (common) (pull_request) Successful in -2m20s
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Successful in -1m47s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Successful in -1m53s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Successful in -1m18s
Build / Build Binary (linux-amd64) (pull_request) Successful in 6s
Build / Build Binary (linux-arm64) (pull_request) Successful in -8s
Build / Build Binary (macos-amd64) (pull_request) Successful in -27s
Build / Build Binary (macos-arm64) (pull_request) Successful in -15s
Build / Build Binary (windows-amd64) (pull_request) Successful in -11s
Build / Smoke Test the Windows Binary (pull_request) Successful in 15s
Build / Build Arch Linux Packages (pull_request) Successful in -2m20s
Build / Build and Test Deb and RPM Packages (pull_request) Successful in 12s
Build / Build and Push Image (pull_request) Successful in -2m32s
Build / Publish Release (pull_request) Successful in -2m35s
Build / Pipeline (pull_request) Successful in 0s
3d6dbbc98f
Closes #407

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit cba6cc1e57 into develop 2026-11-13 04:11:55 -05:00
claude deleted branch feature/407-single-job-rerun 2026-11-13 04:11:55 -05:00
Sign in to join this conversation.
No reviewers
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!410
No description provided.