chore(ops): the erlich fleet-cadence units — status collection + projection refresh (#1560) - #1561
Open
aarontrowbridge wants to merge 1 commit into
Open
aarontrowbridge wants to merge 1 commit into
aarontrowbridge wants to merge 1 commit into
Conversation
…ection refresh (#1560) The Fleet (live) block's two artifacts had no cadence on the canonical server: fleet-status.json was last collected by hand and the projection cache was a one-shot. Versioned systemd pair (5-min, launchd parity) runs fleet-status.sh then 'amico fleet status --projection' — exit 75 (the honest unenrolled-host bootstrap exception) is SuccessExitStatus, never a failed cadence. PATH rides in the unit (#1558's lesson: systemd's default PATH resolves /usr/bin/node v12 on erlich, which SyntaxErrors the dist). README + install.sh rows.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1560.
What
ops/systemd/co.harmoniqs.fleet-status.{service,timer}— 5-min cadence (launchd parity) runningfleet-status.shthenamico fleet status --projection(the Fleet (live) block's role line, The consumers' switch: extension + installer + guard read the projection, never the raw file (fleet rearchitect P3b-2) #1106 P3b-2).SuccessExitStatus=75— the projection verb's honest unenrolled-host bootstrap exception is never a failed cadence.Environment=PATH=%h/.local/bin:…carried in the versioned unit (fix(fleet): shard-watch client census uses the canonical literal DB path — broken on mixed-OS fleets #1558's deployment lesson: systemd's default PATH resolves/usr/bin/nodev12 on erlich, which SyntaxErrors the dist).ops/install.sh— mkdir for the unit's log dir;ops/README.md— the fleet-status row now documents both surfaces and the projection-refresh responsibility.Verification (live on erlich, 2026-09-25)
daemon-reload, timer enabled:list-timersshows fleet-status at*:0/5alongside session-archive 04:00 / shard-watch 04:15 / role-parity 04:45.systemctl --user start:status=0/SUCCESS;fleet-status.jsoncollected_at: 2026-09-25T12:27:41Zwith all 3 devices reachable (was ~5 days stale before); projectionfreshness.counter1 → 2,role: server.Ops files only — no package surface touched; standard CI lanes apply.