fix: public CHANGELOG and release-note links, loud empty eval secret #90

Merged
cjournois merged 2 commits from fix/v7-release-links-eval-secret into main 2026-11-03 15:54:52 +00:00
Collaborator

Follow-up to #89, from its review. The 6.1.0 CHANGELOG already links to http://forgejo-http.forge.svc.cluster.local:3000: release.sh took the runner's internal server URL once forgejo_url was dropped, and Forgejo release notes failed outright because nothing set REPO_URL for git-cliff. Separately, eval ran with an empty EVAL_SECRET when the named secret was missing, where v6 failed.

Shared: every repo calling unit.yml, release.yml or quality.yml gets this on its v7 bump; no caller change needed.
Merged main (7.0.0 and 7.0.1 entries) and rewrote their CHANGELOG links to the public URL too, so no forgejo-http.forge.svc link remains.
Verified: just lint test passes (497 bats); the public-link tests and the empty-secret test fail without the fix.

Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f

Follow-up to #89, from its review. The 6.1.0 CHANGELOG already links to http://forgejo-http.forge.svc.cluster.local:3000: release.sh took the runner's internal server URL once `forgejo_url` was dropped, and Forgejo release notes failed outright because nothing set REPO_URL for git-cliff. Separately, eval ran with an empty EVAL_SECRET when the named secret was missing, where v6 failed. Shared: every repo calling `unit.yml`, `release.yml` or `quality.yml` gets this on its v7 bump; no caller change needed. Merged main (7.0.0 and 7.0.1 entries) and rewrote their CHANGELOG links to the public URL too, so no `forgejo-http.forge.svc` link remains. Verified: `just lint test` passes (497 bats); the public-link tests and the empty-secret test fail without the fix. Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f
fix: public CHANGELOG links and a loud empty eval secret
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 44s
d674553a64
release.sh built compare links from the runner's server URL, the
cluster-internal Forgejo host; release.yml's server_url input, default
https://git.journois.com, restores public links. quality.sh eval fails when
the named eval secret is empty instead of running the recipe without it.

Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f
bot-claude force-pushed fix/v7-release-links-eval-secret from d674553a64
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 44s
to a002a553f6
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 46s
2026-11-03 15:23:18 +00:00
Compare
bot-claude changed title from WIP: [shared] fix: public CHANGELOG links and a loud empty eval secret to WIP: [shared] fix: public CHANGELOG and release-note links, loud empty eval secret 2026-11-03 15:23:24 +00:00
Author
Collaborator

Addressed:

  • scripts/forgejo-release.sh:23 — release notes get REPO_URL from the new repo_url helper (scripts/lib.sh:76), shared with release.sh:57; unit.yml gains the same server_url input, passed as PUBLIC_SERVER_URL to the Forgejo release step (.github/workflows/unit.yml:70, :431).
  • tests/forgejo-release.bats:181 — new test: notes link to the public server; fails without the fix.
  • docs/components/unit.md:114 — server_url row.
  • PR body: test claim narrowed to the tests that fail without the fix; description says CHANGELOG and release-note links.
  • server_url keeps a literal default (the v5 behaviour) rather than a vars.* fallback.

Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f

Addressed: - scripts/forgejo-release.sh:23 — release notes get REPO_URL from the new `repo_url` helper (scripts/lib.sh:76), shared with release.sh:57; `unit.yml` gains the same `server_url` input, passed as PUBLIC_SERVER_URL to the Forgejo release step (.github/workflows/unit.yml:70, :431). - tests/forgejo-release.bats:181 — new test: notes link to the public server; fails without the fix. - docs/components/unit.md:114 — `server_url` row. - PR body: test claim narrowed to the tests that fail without the fix; description says CHANGELOG and release-note links. - `server_url` keeps a literal default (the v5 behaviour) rather than a `vars.*` fallback. Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f
bot-claude force-pushed fix/v7-release-links-eval-secret from a002a553f6
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 46s
to 81fe7a4a71
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 45s
2026-11-03 15:31:25 +00:00
Compare
Author
Collaborator

Addressed:

  • docs/components/release.md:40 — "the CHANGELOG links", not only compare links.
  • docs/components/quality.md:77 — plain wording for the empty-secret failure.
  • scripts/quality.sh:52 — the error names a missing or misnamed secret as well as a fork pull request.
  • CHANGELOG.md:3-16 — the 6.1.0 entry's 8 cluster-internal links now point to https://git.journois.com.

Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f

Addressed: - docs/components/release.md:40 — "the CHANGELOG links", not only compare links. - docs/components/quality.md:77 — plain wording for the empty-secret failure. - scripts/quality.sh:52 — the error names a missing or misnamed secret as well as a fork pull request. - CHANGELOG.md:3-16 — the 6.1.0 entry's 8 cluster-internal links now point to https://git.journois.com. Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f
bot-claude changed title from WIP: [shared] fix: public CHANGELOG and release-note links, loud empty eval secret to [shared] fix: public CHANGELOG and release-note links, loud empty eval secret 2026-11-03 15:36:50 +00:00
bot-claude left a comment

Verdict: pass-with-nits

No required changes. Nit:

  • CHANGELOG.md:3 — the 6.1.0 compare link targets 6.0.0-rc.1...6.1.0, which 404s: tag 6.0.0-rc.1 is not on the remote. 5.4.0...6.1.0 would resolve. Why release.sh picked a missing rc tag as the previous version is worth a separate look.

Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f

Verdict: pass-with-nits No required changes. Nit: - CHANGELOG.md:3 — the 6.1.0 compare link targets `6.0.0-rc.1...6.1.0`, which 404s: tag 6.0.0-rc.1 is not on the remote. `5.4.0...6.1.0` would resolve. Why release.sh picked a missing rc tag as the previous version is worth a separate look. Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f
bot-claude removed their assignment 2026-11-03 15:36:50 +00:00
bot-claude 2026-11-03 15:36:50 +00:00
Author
Collaborator

Needs a decision and a rebase: merge as-is or fix the dead 6.1.0 compare link in the review above first; either way the branch now conflicts with main.

The routine stopped after two fix rounds, its cap. There are no required changes left, just lint test passes (492 bats) and CI was green on 81fe7a4. While it was in review, 7.0.0 and 7.0.1 were released from main without this fix: their CHANGELOG entries carry 13 cluster-internal links (a rebase should repoint those too, as this PR does for 6.1.0), and their Forgejo release notes step had no REPO_URL. Land this before 7.0.2, or each consumer release does the same.

Still open from the review of #89: the README migration guide covers only v6 unit.json, while every consumer moves from 5.3.5/5.4.0 (details in that review).

Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f

Needs a decision and a rebase: merge as-is or fix the dead 6.1.0 compare link in the review above first; either way the branch now conflicts with main. The routine stopped after two fix rounds, its cap. There are no required changes left, `just lint test` passes (492 bats) and CI was green on 81fe7a4. While it was in review, 7.0.0 and 7.0.1 were released from main without this fix: their CHANGELOG entries carry 13 cluster-internal links (a rebase should repoint those too, as this PR does for 6.1.0), and their Forgejo release notes step had no REPO_URL. Land this before 7.0.2, or each consumer release does the same. Still open from the review of #89: the README migration guide covers only v6 `unit.json`, while every consumer moves from 5.3.5/5.4.0 (details in that review). Session: 2c2db33f-c7ab-4766-bc2c-1c179130460f
Merge remote-tracking branch 'origin/main' into fix/v7-release-links-eval-secret
Some checks failed
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 48s
ci: reusable-pipeline / CI Pipeline (push) Has been cancelled
815a395f4f
Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3

# Conflicts:
#	CHANGELOG.md
bot-claude changed title from [shared] fix: public CHANGELOG and release-note links, loud empty eval secret to fix: public CHANGELOG and release-note links, loud empty eval secret 2026-11-03 15:39:22 +00:00
cjournois deleted branch fix/v7-release-links-eval-secret 2026-11-03 15:54:52 +00:00
Sign in to join this conversation.
No reviewers
No labels
needs-human
No milestone
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
cjournois/reusable-pipeline!90
No description provided.