Semaphore deploys infra-monitoring (THE-129) #42
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-cockpit!42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wave2/monitoring-121"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
infra-monitoringjoins the projects Stack, and this repository's vendoredscripts/env.shmoves to the pin that namesmonitoring— the companion change toolympus/infra-monitoring's first Guest (THE-129).The line creates the project, the
deploytemplate and theci-monitoringuser; the Operator mints that user's token once, and sets the repository's two Actions Variables frommake projects-ids.Evidence
scripts/env.shclassified six CI actors.After:
make checkrc 0 (the whole credential-free floor, including the vendored pin and the drift suites);tofu fmt -recursive -checkclean;tofu validateinsemaphore/projects: Success! The configuration is valid.804e62b8c4bd72888dfc603a1801be68ea3193d9b53e3051e72f755f8fb1eb72, the body ofinfra-secrets'scripts/env.shinolympus/infra-secrets#70.Merge Danger
Door: two-way — a list entry and a vendored file; a revert restores both.
Blast Radius: low — one new project, template and user in Semaphore; no existing project changes, and the
infra-monitoringuser starts no task until a workflow in that repository asks it to.Waiting — queued behind olympus/infra-secrets#70 (one review run at a time). The review run resumes on its own at Thu 3 Dec, 19:14 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Review started (round 0/5) on
825a2eb3a6— reading the diff now.review: repo=olympus/infra-cockpit pr=42 head=825a2eb3a665117e4ceece2602a548cf2e655c0a round=0/5 verdict=merge
Recommendation: merge
Spec — THE-129 (fetched live:
GET /api/issues/THE-129)Item 1 asks for “the
monitoringactor in the vendoredscripts/env.sh” and “one line ininfra-cockpit'ssemaphore/projects/variables.tf(that line creates the project, the deploy template and theci-monitoringuser)”. Both are present and both do what is claimed; thedocs/deploy.mdsix→seven edit is the direct consequence of the new user row, not scope creep.semaphore/projects/projects.tf:48(URL rendered fromvariables.tf:8)https://forgejo.thepit.space/olympus/infra-monitoring.git, and no such repository exists on the forge at review time:GET /api/v1/repos/olympus/infra-monitoring→ 404, the org repo list has noinfra-monitoring, and an anonymousgit ls-remotefalls through to a username prompt. Nothing triggers the template until that repo'sdeploy.ymlcalls it, so merging is safe — but THE-129's own item 1 puts repo bring-up before this line, and the order is inverted here. Merge the two so the project's first task cannot start against a missing clone.No requirement is missing or partial; nothing is implemented that THE-129 did not ask for.
Standards
AGENTS.md§Rules / Secrets is the rule in play — “scripts/env.shis vendored verbatim frominfra-secretsand never edited — a changed byte is a redmake env-check”. It holds.semaphore/projects/projects.tf:114-118No BLOCKERs on this axis.
Verified by hand (worktree at
825a2eb)make check→ rc 0: the env pin, env tests, plan tests, plan-workflow tests, drift tests,tofu fmt -recursive -check -diff.tofu init -backend=false && tofu validateinsemaphore/projects→ “Success! The configuration is valid.”tofu plan -refresh=falsewith the S3 backend stripped and an empty local state: 73 to add, 0 to change, 0 to destroy; it includessemaphoreui_project.deploy["infra-monitoring"], itsdeploytemplate,semaphoreui_user.ci["infra-monitoring"](ci-monitoring) and the project membership — reproducing the PR body's claim about what the one line creates. All seven usernames rendered (ci-tracker,ci-forge,ci-secrets,ci-silo,ci-agents,ci-media,ci-monitoring) matchdocs/deploy.md:196-200exactly.scripts/env.shis byte-identical (diffclean) toolympus/infra-secretsPR #70 head372030ce'sscripts/env.sh, and its header pin804e62b8…equals the sha256 of its own body (scripts/env.sh:2vsscripts/env.sh:78-79).pr-checks / check (pull_request)success,plan / projects-plan-check (pull_request_target)success, and both guest plan checks success.Not verified, and why
projects-plan-check, ran green in CI against PROD's record with-refresh=false; that is the strongest available evidence that this adds without replacing.Summary
projects.tfTwo advisories, no blockers; the recommendation does not turn on volume. Merge, and fold both one-liners into the next touch of those files.