fix: link the run on its public host and web run number #3

Merged
dozken merged 1 commit from fix/run-link into main 2026-11-14 08:39:02 +01:00
Owner

The run link in reports pointed at http://forgejo:3000/nanoya-biz/rkd/actions/runs/11665: an internal host, and run 11665 is the global API id. The web UI routes on the run number, so the right link was https://git.rkd.nanoya.biz/nanoya-biz/rkd/actions/runs/11181.

  • Forgejo/Gitea runs (FORGEJO_ACTIONS / GITEA_ACTIONS) link by GITHUB_RUN_NUMBER; GitHub keeps GITHUB_RUN_ID.
  • New server-url input overrides GITHUB_SERVER_URL, which the Forgejo runner sets to its registration address (internal/app/run/runner.go, cli.Address()).
  • Version 1.1.0; v1 moves after merge. rkd passes server-url in deps-watch.yml.

Before: http://forgejo:3000/nanoya-biz/rkd/actions/runs/11665
After (unit test with the same env): https://git.rkd.nanoya.biz/nanoya-biz/rkd/actions/runs/11181

pnpm verify: 12 files, 110 tests passed; dist rebuilt.

https://claude.ai/code/session_018rGNvQsaYCAAfTAJLdosQY

The run link in reports pointed at `http://forgejo:3000/nanoya-biz/rkd/actions/runs/11665`: an internal host, and run 11665 is the global API id. The web UI routes on the run number, so the right link was `https://git.rkd.nanoya.biz/nanoya-biz/rkd/actions/runs/11181`. - Forgejo/Gitea runs (`FORGEJO_ACTIONS` / `GITEA_ACTIONS`) link by `GITHUB_RUN_NUMBER`; GitHub keeps `GITHUB_RUN_ID`. - New `server-url` input overrides `GITHUB_SERVER_URL`, which the Forgejo runner sets to its registration address (`internal/app/run/runner.go`, `cli.Address()`). - Version 1.1.0; `v1` moves after merge. rkd passes `server-url` in `deps-watch.yml`. Before: `http://forgejo:3000/nanoya-biz/rkd/actions/runs/11665` After (unit test with the same env): `https://git.rkd.nanoya.biz/nanoya-biz/rkd/actions/runs/11181` `pnpm verify`: 12 files, 110 tests passed; dist rebuilt. https://claude.ai/code/session_018rGNvQsaYCAAfTAJLdosQY
fix: link the run on its public host and web run number
All checks were successful
ci / verify (push) Successful in 22s
ci / verify (pull_request) Successful in 28s
9ac9883ad9
The report's run link used GITHUB_SERVER_URL and GITHUB_RUN_ID. On
Forgejo the first is the runner's registration address (an internal
http://forgejo:3000 in our setup) and the web UI routes on the run
number, not the global run id, so the link pointed at an unreachable
host and a different run.

Forgejo and Gitea runs (FORGEJO_ACTIONS / GITEA_ACTIONS) now link by
GITHUB_RUN_NUMBER; GitHub keeps GITHUB_RUN_ID. A new server-url input
overrides the base URL for runners registered against an internal host.

Claude-Session: https://claude.ai/code/session_018rGNvQsaYCAAfTAJLdosQY
dozken merged commit 914415d5ea into main 2026-11-14 08:39:02 +01:00
dozken deleted branch fix/run-link 2026-11-14 08:39:03 +01:00
Sign in to join this conversation.
No reviewers
No labels
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
nanoya-biz/deps-watch!3
No description provided.