You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The samohost-trigger service exits status=1/FAILURE on ~every 3-minute cycle, marking samohost-trigger.service red, even though most of the fleet deploys/provisions cleanly. The whole cycle is reported as a failure because a small number of specific, unrelated apps fault each pass:
samograph: a port-squatter error, plus cd apps/web: No such file or directory during its deploy script.
game-changers: a config.js conflict.
Meanwhile other apps in the same fleet (e.g. friends-of-twin-peaks, gregg-brandalise) deploy/provision fine on the same cycle. So a couple of bad apps drag the entire trigger cycle to FAILURE and turn the unit red every 3 minutes — a persistent, recurring failure/alarm-fatigue signal that hides whether anything is actually fleet-wide wrong.
Root cause (shape)
Per-app faults are not isolated from the overall cycle result: one app's non-zero/error outcome propagates to the cycle exit code, so the unit goes red regardless of how many other apps succeeded. This is the same "keep per-app isolation" concern that #52 called out for the CI-pending case, but here it's for runtime app faults (port squatting, cwd/script errors, a stale/conflicting config file) rather than CI state.
systemctl status samohost-trigger.service is red on essentially every cycle, so it can no longer be trusted as a health signal for the fleet — a real fleet-wide breakage would look identical to the current couple-of-bad-apps state. This is an active, recurring failure worth its own investigation.
Symptom
The
samohost-triggerservice exitsstatus=1/FAILUREon ~every 3-minute cycle, markingsamohost-trigger.servicered, even though most of the fleet deploys/provisions cleanly. The whole cycle is reported as a failure because a small number of specific, unrelated apps fault each pass:cd apps/web: No such file or directoryduring its deploy script.config.jsconflict.Meanwhile other apps in the same fleet (e.g. friends-of-twin-peaks, gregg-brandalise) deploy/provision fine on the same cycle. So a couple of bad apps drag the entire trigger cycle to FAILURE and turn the unit red every 3 minutes — a persistent, recurring failure/alarm-fatigue signal that hides whether anything is actually fleet-wide wrong.
Root cause (shape)
Per-app faults are not isolated from the overall cycle result: one app's non-zero/error outcome propagates to the cycle exit code, so the unit goes red regardless of how many other apps succeeded. This is the same "keep per-app isolation" concern that #52 called out for the CI-pending case, but here it's for runtime app faults (port squatting, cwd/script errors, a stale/conflicting config file) rather than CI state.
Recommendation
cd apps/web: No such file or directoryerrors (the latter is the same cwd/monorepo-subdir class as app deploy: script cwd leaks between phases — buildCmd'scd apps/webbreaks the subsequent migrate phase #122 — confirm it isn't a regression of that fix).config.jsconflict.Impact
systemctl status samohost-trigger.serviceis red on essentially every cycle, so it can no longer be trusted as a health signal for the fleet — a real fleet-wide breakage would look identical to the current couple-of-bad-apps state. This is an active, recurring failure worth its own investigation.Related
cd apps/webbreaks the subsequent migrate phase #122 (CLOSED):cd apps/webcwd-leak in the deploy script — likely the same class as the samographcd apps/weberror.