The README says where a deploy gets the Edge URL (TR-58) #63

Merged
pit merged 1 commit from hermes/TR-58-readme-names-the-edge-urls-source into main 2026-11-15 18:09:32 +00:00
Owner

paperclip:THE-14

Summary

One row of README.md: where a deploy gets NGINXPROXYMANAGER_URL. The runner's Fetch cannot serve it. env.map gives that row to pit and hermes only, because the store refuses an endpoint as configuration, so a deploy task takes it from Semaphore.

-| `NGINXPROXYMANAGER_URL` | The NPM API URL the Edge stack talks to |
+| `NGINXPROXYMANAGER_URL` | The NPM API URL the Edge stack talks to; no store path holds it, so a deploy task gets it from Semaphore, as an environment variable on the tracker's project, which `semaphore/projects` in `infra-cockpit` sets from its own `NGINXPROXYMANAGER_URL` Actions Variable |

The path the row describes, all of it on main in infra-cockpit:

Actions Variable NGINXPROXYMANAGER_URL      # set on infra-cockpit, 15 Nov
  .forgejo/workflows/deploy.yml:47          # vars.NGINXPROXYMANAGER_URL
    TF_VAR_nginxproxymanager_url            # Makefile: projects init and plan-check
      semaphore/projects/projects.tf:81     # the key, on every project's environment
        the tracker's Semaphore task        # make edge → require_npm_creds

The Operator chose this change on THE-14 (card 9b9c9ce1). The deploy its merge starts is the one TR-58's three open criteria are read off: a green first merge, make verify from the run, and a merge that touches only documentation deploying as a no-op.

Evidence

  • Before: the row named the variable and no source. The tracker's first deploy to reach edge stopped there, error: NGINXPROXYMANAGER_URL is not set; … and Makefile:423: edge Error 1 (run 135, Semaphore task 28, commit ba57570). env.map's comment said only "its own environment".

  • After: each clause of the row traces to a line on main:

    Clause Where
    no store path holds it env.map: the comment above the literals ("an endpoint is refused by the store as configuration") and the row actors=pit,hermes literal NGINXPROXYMANAGER_URL
    an environment variable on the project infra-cockpit, semaphore/projects/projects.tf:81
    from its own Actions Variable infra-cockpit, .forgejo/workflows/deploy.yml:47
    and applied infra-cockpit deploy run 114 (15 Nov, 14:12Z): the projects Stack 0 added, 5 changed, 0 destroyed, after a plan whose five updates each add only this key
  • The Suite sees a documentation change. mise exec -- make check on a clean clone, ba57570 against this head: exit 0 for both, 359 ok for both. 358 of the 359 lines are byte-identical; the other prints its own run's snapshot timestamp (predeploy-20261115-172033 against -172133).

  • Not verified: the live Semaphore project's environment. Reading it needs the server's admin token, which this host does not hold. The apply report above is the evidence.

Merge Danger

Door: two-way. The row reverts with a pull request. The deploy this merge starts is the one every merge starts (ADR-0009): it applies no plan that destroys or replaces (ADR-0011) and takes a restore point first. At this head the Guest's and the Edge's plans are both empty.

Blast Radius: Prod

This is the first merge since the URL reached the tracker's project, so it is the first deploy that can run edge through Semaphore. What each step should show, and what would be a finding:

  • snapshot: a new predeploy-* on 142, and the oldest beyond three pruned.
  • guest and edge: nothing to apply. This pull request's own plan contexts (run 136, 17:25Z) read No changes. Your infrastructure matches the configuration. for both Stacks, then the plan loses nothing. from the judge. A plan that is not empty at merge time is drift that arrived after this read.
  • service: the second real run through Semaphore. The first (task 28) reported changed=6. docs/reference/deploy.md says the Suite's idempotence check holds the playbook to changing nothing on a second run, and this run shows whether it does. A non-zero count is a finding about the playbook, not about this row.
  • verify: https:// answers 200 and http:// redirects.
  • A red deploy mails the pusher and stops at the failing step. It never retries or rolls back, and the restore point is the snapshot it took first.

Refs: TR-58 (https://vikunja.thepit.space/tasks/273), THE-14

paperclip:THE-14 ## Summary One row of `README.md`: where a deploy gets `NGINXPROXYMANAGER_URL`. The runner's Fetch cannot serve it. `env.map` gives that row to `pit` and `hermes` only, because the store refuses an endpoint as configuration, so a deploy task takes it from Semaphore. ```diff -| `NGINXPROXYMANAGER_URL` | The NPM API URL the Edge stack talks to | +| `NGINXPROXYMANAGER_URL` | The NPM API URL the Edge stack talks to; no store path holds it, so a deploy task gets it from Semaphore, as an environment variable on the tracker's project, which `semaphore/projects` in `infra-cockpit` sets from its own `NGINXPROXYMANAGER_URL` Actions Variable | ``` The path the row describes, all of it on `main` in `infra-cockpit`: ```text Actions Variable NGINXPROXYMANAGER_URL # set on infra-cockpit, 15 Nov .forgejo/workflows/deploy.yml:47 # vars.NGINXPROXYMANAGER_URL TF_VAR_nginxproxymanager_url # Makefile: projects init and plan-check semaphore/projects/projects.tf:81 # the key, on every project's environment the tracker's Semaphore task # make edge → require_npm_creds ``` The Operator chose this change on THE-14 (card `9b9c9ce1`). The deploy its merge starts is the one TR-58's three open criteria are read off: a green first merge, `make verify` from the run, and a merge that touches only documentation deploying as a no-op. ## Evidence - **Before:** the row named the variable and no source. The tracker's first deploy to reach `edge` stopped there, `error: NGINXPROXYMANAGER_URL is not set; …` and `Makefile:423: edge Error 1` (run 135, Semaphore task 28, commit `ba57570`). `env.map`'s comment said only "its own environment". - **After:** each clause of the row traces to a line on `main`: | Clause | Where | | --- | --- | | no store path holds it | `env.map`: the comment above the literals ("an endpoint is refused by the store as configuration") and the row `actors=pit,hermes literal NGINXPROXYMANAGER_URL` | | an environment variable on the project | `infra-cockpit`, `semaphore/projects/projects.tf:81` | | from its own Actions Variable | `infra-cockpit`, `.forgejo/workflows/deploy.yml:47` | | and applied | `infra-cockpit` deploy run 114 (15 Nov, 14:12Z): the projects Stack `0 added, 5 changed, 0 destroyed`, after a plan whose five updates each add only this key | - **The Suite sees a documentation change.** `mise exec -- make check` on a clean clone, `ba57570` against this head: exit 0 for both, 359 `ok` for both. 358 of the 359 lines are byte-identical; the other prints its own run's snapshot timestamp (`predeploy-20261115-172033` against `-172133`). - **Not verified:** the live Semaphore project's environment. Reading it needs the server's admin token, which this host does not hold. The apply report above is the evidence. ## Merge Danger **Door:** two-way. The row reverts with a pull request. The deploy this merge starts is the one every merge starts (ADR-0009): it applies no plan that destroys or replaces (ADR-0011) and takes a restore point first. At this head the Guest's and the Edge's plans are both empty. **Blast Radius:** Prod This is the first merge since the URL reached the tracker's project, so it is the first deploy that can run `edge` through Semaphore. What each step should show, and what would be a finding: - `snapshot`: a new `predeploy-*` on 142, and the oldest beyond three pruned. - `guest` and `edge`: nothing to apply. This pull request's own plan contexts (run 136, 17:25Z) read `No changes. Your infrastructure matches the configuration.` for both Stacks, then `the plan loses nothing.` from the judge. A plan that is not empty at merge time is drift that arrived after this read. - `service`: the second real run through Semaphore. The first (task 28) reported `changed=6`. `docs/reference/deploy.md` says the Suite's idempotence check holds the playbook to changing nothing on a second run, and this run shows whether it does. A non-zero count is a finding about the playbook, not about this row. - `verify`: `https://` answers 200 and `http://` redirects. - A red deploy mails the pusher and stops at the failing step. It never retries or rolls back, and the restore point is the snapshot it took first. Refs: TR-58 (https://vikunja.thepit.space/tasks/273), THE-14
The README says where a deploy gets the Edge URL (TR-58)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 7s
plan / edge-plan-check (pull_request_target) Successful in 7s
checks / static (pull_request) Successful in 26s
checks / execute (pull_request) Successful in 2m55s
d6e730393e
A deploy's Edge step stops at "NGINXPROXYMANAGER_URL is not set" unless
Semaphore hands the task that URL. No store path holds it, so `make env` as
the runner cannot. The README row named the variable and gave no source.
It now names the source: the tracker project's environment variable, which
`semaphore/projects` in `infra-cockpit` sets from its own Actions Variable.

Refs: TR-58
Member

Review started (round 1/5) on d6e730393e — reading the diff now.

**Review started** (round 1/5) on d6e730393e82087d7e17f020c73e2c1009922389 — reading the diff now.
bot-minos approved these changes 2026-11-15 17:30:40 +00:00
bot-minos left a comment

Round 1/5 on head d6e730393e82087d7e17f020c73e2c1009922389 (olympus/infra-tracker PR #63). The review list was empty when this round opened, so this is round 1. The sign-on comment's 1/5 agrees.

Recommendation: merge

Verdict: APPROVE. Zero blockers. Two advisories, below the three-advisory trip. Reviewed as bot-minos, not the author.

Spec

Sources, in the order used:

  1. PR #63 body, read live (get_pull_request_by_index, updated_at 17:26:49). It says the change is one row of README.md: where a deploy gets NGINXPROXYMANAGER_URL. The Summary, diff and Evidence sections match my first read at 17:25. Merge Danger gained plan-emptiness claims, which I checked against the logs below.
  2. Paperclip THE-14, read live (fetch-paperclip-issue.sh THE-14, HTTP 200). Context only. Its report, Revisions 28 and 29, records the Variable set on infra-cockpit and the URL in all five deploy environments.
  3. Vikunja TR-58 (task 273): not read. See Could not verify.

Spec findings: none. The diff is one line, README.md:64, and it is the line the body describes. git diff --stat: 1 file, +1/−1.

Standards

standards: repo conventions found

  • AGENTS.md §Pull requests: "Write every PR body with the pr skill's format: ## Summary, ## Evidence, ## Merge Danger." The body has all three, with Before/After bullets and a Door and Blast Radius block. Passes.
  • docs/adr/0003-protected-main.md:35: "The approval is pinned to what it examined." This review is posted with commit_id = head d6e7303. Passes.
  • docs/adr/0005-the-environment-comes-from-the-store.md:124: names this variable as "configuration an Operator writes by hand or a job reads from a repo Variable." Consistent with the row.
  • README.md §Environment variables: "A literal row is a declaration, not a source." The row's "no store path holds it" agrees with env.map:120.
Severity Where Finding
ADVISORY README.md:64 Attribution is loose. The row says semaphore/projects in infra-cockpit "sets from its own NGINXPROXYMANAGER_URL Actions Variable." The Stack does not read that Variable. infra-cockpit/.forgejo/workflows/deploy.yml:47 reads vars.NGINXPROXYMANAGER_URL; infra-cockpit/Makefile:289 and :471 export it as TF_VAR_nginxproxymanager_url; infra-cockpit/semaphore/projects/projects.tf:81 takes var.nginxproxymanager_url. The chain is correct at infra-cockpit 459eca7. Only the attribution is loose.
ADVISORY README.md:64 Silent on a second reader of the same name. .forgejo/workflows/plan.yml:101 in this repo sets NGINXPROXYMANAGER_URL: ${{ vars.NGINXPROXYMANAGER_URL }} from this repo's own Actions Variable, for edge-plan-check. The row's scope is "where a deploy gets", so it is accurate as scoped. A reader who asks where the Edge URL comes from gets one answer of two.

Standards: 2 findings. 0 BLOCKER, 2 ADVISORY. Worst: README.md:64, attribution precision (ADVISORY).

Charter scope (olympus Reviewer)

Check Result
Plan and judge, each changed stack No stack file changed. Run 136 job logs, fetched by me: guest-plan-check reads "No changes. Your infrastructure matches the configuration." then "the plan loses nothing." edge-plan-check reads the same. Runner image digest identical across both. Clean.
ADR compliance No ADR changed. ADR-0005 consistent (see Standards).
Secrets The added line carries no secret-shaped string. It names a variable, not a value.
Suite make check reproduced at head (see Verified).
Escalation classes None engaged. No destroy or replace (both plans empty). No ADR, branch-protection, or CI-gate file changed. No tier-1 file changed. Because the Edge plan is empty, the merge's first Edge run through Semaphore is a no-op as planned. Not escalated.

Named, not charged

  • docs/reference/deploy.md, §The task, step 2: describes the runner's make env fetch and says nothing about the environment the Semaphore task itself carries. PROXMOX_VE_ENDPOINT was already undocumented there. Pre-existing, on no line this PR touches.

Verified (how)

Claim How Result
Head equals dispatch git ls-remote origin refs/pull/63/head d6e7303, equal to the dispatched SHA
One-line change git diff --stat ba57570...HEAD; git diff --check 1 file, +1/−1; whitespace clean; table still 3 pipes
"No store path holds it" env.map:120: actors=pit,hermes literal NGINXPROXYMANAGER_URL Confirmed
Runner serves no literal scripts/tests/run.sh:176 pins it Confirmed by source
Makefile reads the process env Makefile:232 require_npm_creds tests $${!v} Confirmed; a Semaphore-supplied variable satisfies it
Cockpit chain git show origin/main: at infra-cockpit 459eca7: deploy.yml:47, Makefile:289/471, projects.tf:81; variables.tf:8 default includes infra-tracker Confirmed
Cockpit deploy ran list_workflow_runs on infra-cockpit: run id 114 (#751), success, SHA 459eca7, which is cockpit main Run succeeded; apply counts not read
Suite mise exec -- make check in a worktree at d6e7303 exit 0; 359 ok lines; 0 failure lines
CI at head, newest entry per context get_commit_statuses at 17:28Z checks / static success (26s); checks / execute success (2m55s); plan / guest-plan-check success; plan / edge-plan-check success
Plan claims in the body Run 136 logs via fetch-run-job-log.sh Confirmed: both "No changes"

Could not verify

  • Vikunja TR-58 (task 273), the spec ticket. fetch-vikunja-task.sh 3 58 got HTTP 401 on /projects with the only key in the profile .env. ~/.hermes/.env holds no such key. No cached copy from an earlier round exists. The three acceptance criteria the body quotes are unread.
  • Branch protection on main. get_branch_protection refused the bot (403: not a collaborator with admin write). Not read.
  • Live Semaphore project environment. Also disclosed by the author.
  • infra-cockpit run 114's apply counts (0 added, 5 changed, 0 destroyed). The run is found and green; its log was not read.
  • Base-vs-head suite diff ("358 of the 359 lines are byte-identical"). Not reproduced, since I did no base run. Structural support: no script, Makefile or workflow in this repo reads README (grep of scripts/, Makefile, .forgejo/).
  • Run 135 and task 28 error text. Historical. Not read.

Summary

  • Standards: 2 findings, 0 BLOCKER, 2 ADVISORY. Worst: README.md:64, attribution precision (ADVISORY).
  • Spec: 0 findings.
  • Blockers: 0. The verdict follows the blockers, and the advisory count is 2, below the trip of 3.
  • Head: d6e730393e82087d7e17f020c73e2c1009922389, pinned. Round 1/5.
<!-- minos review-loop: repo=olympus/infra-tracker pr=63 head=d6e730393e82087d7e17f020c73e2c1009922389 round=1/5 axes=standards,spec --> Round 1/5 on head `d6e730393e82087d7e17f020c73e2c1009922389` (olympus/infra-tracker PR #63). The review list was empty when this round opened, so this is round 1. The sign-on comment's `1/5` agrees. Recommendation: merge **Verdict: APPROVE.** Zero blockers. Two advisories, below the three-advisory trip. Reviewed as bot-minos, not the author. ### Spec Sources, in the order used: 1. PR #63 body, read live (`get_pull_request_by_index`, `updated_at` 17:26:49). It says the change is one row of `README.md`: where a deploy gets `NGINXPROXYMANAGER_URL`. The Summary, diff and Evidence sections match my first read at 17:25. Merge Danger gained plan-emptiness claims, which I checked against the logs below. 2. Paperclip THE-14, read live (`fetch-paperclip-issue.sh THE-14`, HTTP 200). Context only. Its report, Revisions 28 and 29, records the Variable set on infra-cockpit and the URL in all five deploy environments. 3. Vikunja TR-58 (task 273): **not read.** See Could not verify. **Spec findings: none.** The diff is one line, `README.md:64`, and it is the line the body describes. `git diff --stat`: 1 file, +1/−1. ### Standards standards: repo conventions found - `AGENTS.md §Pull requests`: "Write every PR body with the `pr` skill's format: `## Summary`, `## Evidence`, `## Merge Danger`." The body has all three, with Before/After bullets and a Door and Blast Radius block. Passes. - `docs/adr/0003-protected-main.md:35`: "The approval is pinned to what it examined." This review is posted with `commit_id` = head `d6e7303`. Passes. - `docs/adr/0005-the-environment-comes-from-the-store.md:124`: names this variable as "configuration an Operator writes by hand or a job reads from a repo Variable." Consistent with the row. - `README.md §Environment variables`: "A literal row is a declaration, not a source." The row's "no store path holds it" agrees with `env.map:120`. | Severity | Where | Finding | |---|---|---| | ADVISORY | `README.md:64` | Attribution is loose. The row says `semaphore/projects` in infra-cockpit "sets from its own `NGINXPROXYMANAGER_URL` Actions Variable." The Stack does not read that Variable. `infra-cockpit/.forgejo/workflows/deploy.yml:47` reads `vars.NGINXPROXYMANAGER_URL`; `infra-cockpit/Makefile:289` and `:471` export it as `TF_VAR_nginxproxymanager_url`; `infra-cockpit/semaphore/projects/projects.tf:81` takes `var.nginxproxymanager_url`. The chain is correct at infra-cockpit `459eca7`. Only the attribution is loose. | | ADVISORY | `README.md:64` | Silent on a second reader of the same name. `.forgejo/workflows/plan.yml:101` in this repo sets `NGINXPROXYMANAGER_URL: ${{ vars.NGINXPROXYMANAGER_URL }}` from this repo's own Actions Variable, for `edge-plan-check`. The row's scope is "where a deploy gets", so it is accurate as scoped. A reader who asks where the Edge URL comes from gets one answer of two. | **Standards: 2 findings. 0 BLOCKER, 2 ADVISORY.** Worst: `README.md:64`, attribution precision (ADVISORY). ### Charter scope (olympus Reviewer) | Check | Result | |---|---| | Plan and judge, each changed stack | No stack file changed. Run 136 job logs, fetched by me: `guest-plan-check` reads "No changes. Your infrastructure matches the configuration." then "the plan loses nothing." `edge-plan-check` reads the same. Runner image digest identical across both. Clean. | | ADR compliance | No ADR changed. ADR-0005 consistent (see Standards). | | Secrets | The added line carries no secret-shaped string. It names a variable, not a value. | | Suite | `make check` reproduced at head (see Verified). | | Escalation classes | None engaged. No destroy or replace (both plans empty). No ADR, branch-protection, or CI-gate file changed. No tier-1 file changed. Because the Edge plan is empty, the merge's first Edge run through Semaphore is a no-op as planned. Not escalated. | ### Named, not charged - `docs/reference/deploy.md`, §The task, step 2: describes the runner's `make env` fetch and says nothing about the environment the Semaphore task itself carries. `PROXMOX_VE_ENDPOINT` was already undocumented there. Pre-existing, on no line this PR touches. ### Verified (how) | Claim | How | Result | |---|---|---| | Head equals dispatch | `git ls-remote origin refs/pull/63/head` | `d6e7303`, equal to the dispatched SHA | | One-line change | `git diff --stat ba57570...HEAD`; `git diff --check` | 1 file, +1/−1; whitespace clean; table still 3 pipes | | "No store path holds it" | `env.map:120`: `actors=pit,hermes literal NGINXPROXYMANAGER_URL` | Confirmed | | Runner serves no literal | `scripts/tests/run.sh:176` pins it | Confirmed by source | | Makefile reads the process env | `Makefile:232` `require_npm_creds` tests `$${!v}` | Confirmed; a Semaphore-supplied variable satisfies it | | Cockpit chain | `git show origin/main:` at infra-cockpit `459eca7`: deploy.yml:47, Makefile:289/471, projects.tf:81; `variables.tf:8` default includes `infra-tracker` | Confirmed | | Cockpit deploy ran | `list_workflow_runs` on infra-cockpit: run id 114 (#751), `success`, SHA `459eca7`, which is cockpit `main` | Run succeeded; apply counts not read | | Suite | `mise exec -- make check` in a worktree at `d6e7303` | exit 0; 359 `ok` lines; 0 failure lines | | CI at head, newest entry per context | `get_commit_statuses` at 17:28Z | `checks / static` success (26s); `checks / execute` success (2m55s); `plan / guest-plan-check` success; `plan / edge-plan-check` success | | Plan claims in the body | Run 136 logs via `fetch-run-job-log.sh` | Confirmed: both "No changes" | ### Could not verify - **Vikunja TR-58 (task 273), the spec ticket.** `fetch-vikunja-task.sh 3 58` got HTTP 401 on `/projects` with the only key in the profile `.env`. `~/.hermes/.env` holds no such key. No cached copy from an earlier round exists. The three acceptance criteria the body quotes are unread. - **Branch protection on `main`.** `get_branch_protection` refused the bot (403: not a collaborator with admin write). Not read. - **Live Semaphore project environment.** Also disclosed by the author. - **infra-cockpit run 114's apply counts** (`0 added, 5 changed, 0 destroyed`). The run is found and green; its log was not read. - **Base-vs-head suite diff** ("358 of the 359 lines are byte-identical"). Not reproduced, since I did no base run. Structural support: no script, Makefile or workflow in this repo reads README (grep of `scripts/`, `Makefile`, `.forgejo/`). - **Run 135 and task 28 error text.** Historical. Not read. ### Summary - **Standards:** 2 findings, 0 BLOCKER, 2 ADVISORY. Worst: `README.md:64`, attribution precision (ADVISORY). - **Spec:** 0 findings. - **Blockers:** 0. The verdict follows the blockers, and the advisory count is 2, below the trip of 3. - **Head:** `d6e730393e82087d7e17f020c73e2c1009922389`, pinned. Round 1/5.
pit merged commit 24b330cd8c into main 2026-11-15 18:09:32 +00:00
pit deleted branch hermes/TR-58-readme-names-the-edge-urls-source 2026-11-15 18:09:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
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
olympus/infra-tracker!63
No description provided.