Topology: custodian defaults to PC-internal Gitea endpoint #352

Merged
conductor merged 1 commits from gitea-internal-endpoint into master 2026-09-19 17:46:42 +01:00
Owner

In plain English: Rune automation now talks to the forge next door, not around the world

What is this about: The forge (Gitea) moved from the Raspberry Pi to the PC. Automation on the PC now uses the direct local address instead of going out through the internet and back in through the Pi.

Why do we need it: Every API call used to cost ~100ms through the Pi; the local path costs ~2ms. Over hundreds of calls per CI run and every async authority check, that adds up.

Why is it still open: Not started at PR creation — this PR is also the live proof that CI runs on the migrated stack.

What would let us close this

  • Custodian automation uses the internal endpoint by default (GITEA_URL env still overrides)
  • This PR's CI runs green on the migrated stack (PC runner for tests, Pi runner for infra labels)

Version impact

  • patch — same behaviour, faster

Technical details

  • Migration evidence: Pi gitea stopped (rollback intact), 639MB forge synced to /mnt/workdrive/gitea (NVMe), binary 1.27.3 x86_64, systemd unit, runners repointed, Pi Caddy -> 192.168.1.156:3000, ufw LAN-scoped allow for 3000, hook 2 -> 127.0.0.1:8791 (event path now fully PC-local)
# In plain English: Rune automation now talks to the forge next door, not around the world **What is this about:** The forge (Gitea) moved from the Raspberry Pi to the PC. Automation on the PC now uses the direct local address instead of going out through the internet and back in through the Pi. **Why do we need it:** Every API call used to cost ~100ms through the Pi; the local path costs ~2ms. Over hundreds of calls per CI run and every async authority check, that adds up. **Why is it still open:** Not started at PR creation — this PR is also the live proof that CI runs on the migrated stack. # What would let us close this - [ ] Custodian automation uses the internal endpoint by default (GITEA_URL env still overrides) - [ ] This PR's CI runs green on the migrated stack (PC runner for tests, Pi runner for infra labels) # Version impact - [x] patch — same behaviour, faster # Technical details - Migration evidence: Pi gitea stopped (rollback intact), 639MB forge synced to /mnt/workdrive/gitea (NVMe), binary 1.27.3 x86_64, systemd unit, runners repointed, Pi Caddy -> 192.168.1.156:3000, ufw LAN-scoped allow for 3000, hook 2 -> 127.0.0.1:8791 (event path now fully PC-local)
conductor added 1 commit 2026-09-19 17:41:45 +01:00
custodian: default Gitea endpoint = PC-internal (127.0.0.1:3000)
CI Pipeline / best-practices (push) Successful in 3s
CI Pipeline / documentation (push) Successful in 2s
Auto-label / priority-gate (pull_request) Skipped
Auto-label / auto-label (pull_request) Successful in 2s
CI Pipeline / canary (push) Successful in 27s
CI Pipeline / type-check (push) Successful in 26s
deploy / deploy (push) Skipped
CI Pipeline / lint (push) Successful in 34s
CI Pipeline / gitea-offline (push) Successful in 13s
CI Pipeline / lint (pull_request) Successful in 31s
CI Pipeline / best-practices (pull_request) Successful in 1s
CI Pipeline / documentation (pull_request) Successful in 1s
CI Pipeline / canary (pull_request) Successful in 27s
CI Pipeline / gitea-offline (pull_request) Successful in 13s
Spec gate (headless) / spec-gate (pull_request) Successful in 3s
CI Pipeline / type-check (pull_request) Successful in 25s
CI Pipeline / unit-tests (push) Successful in 4m24s
CI Pipeline / required-checks (push) Successful in 0s
CI Pipeline / CI Pipeline / notify-event-bridge (push) Successful in 2s
CI Pipeline / unit-tests (pull_request) Successful in 4m29s
CI Pipeline / required-checks (pull_request) Successful in 0s
CI Pipeline / CI Pipeline / notify-event-bridge (pull_request) Successful in 2s
Auto-version and Release / release (pull_request) Successful in 7s
643f9aa9d1
Topology reconciliation 2026-09-19: Gitea migrated Pi->PC. PC automation
uses the internal endpoint (no public DNS / Pi proxy round trip). External
endpoint unchanged for humans: https://gitea.thingscouldgetdicey.online
(Pi Caddy -> PC:3000). GITEA_URL env still overrides.
gitea-actions Bot added the custodianfeatureinfrastructure labels 2026-09-19 17:41:47 +01:00

🤖 Headless spec gate (non-blocking, #204 first slice)

Spec-gate agent produced no text output — check runner logs.

Deterministic floors still govern the merge

This comment is advisory. Required checks (lint, tests, canaries, type-check, coverage, dependency lock, impact gate) remain the merge authority per docs/adversarial-review.md proportionality.

🤖 **Headless spec gate (non-blocking, #204 first slice)** Spec-gate agent produced no text output — check runner logs. <details><summary>Deterministic floors still govern the merge</summary> This comment is advisory. Required checks (lint, tests, canaries, type-check, coverage, dependency lock, impact gate) remain the merge authority per docs/adversarial-review.md proportionality.</details>
conductor merged commit 517379313b into master 2026-09-19 17:46:42 +01:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: conductor/rune#352