Restart script: match the symlink invocation in the legacy kill pattern (v1.25.1) #51

Merged
ClaudiuSchuster merged 1 commit from oss-oo/obs-restart-pattern-nkyw20260926 into main 2026-09-26 00:22:55 +00:00
Owner

Caught live during the v1.25.0 station rollout: the dashboard is launched as zcode-observatory (the ~/.local/bin symlink), so the observatory[.]py pgrep pattern in the restart script’s legacy fallback matched nothing and the old process kept holding port 8767. The pattern now matches both spellings (zcode-observatory at an argv boundary OR observatory.py) while the script’s own hyphenated path still fails both alternatives — the test pins exactly that. One-line functional fix + tightened test; everything else unchanged from v1.25.0.

Caught live during the v1.25.0 station rollout: the dashboard is launched as `zcode-observatory` (the ~/.local/bin symlink), so the `observatory[.]py` pgrep pattern in the restart script’s legacy fallback matched nothing and the old process kept holding port 8767. The pattern now matches both spellings (`zcode-observatory` at an argv boundary OR `observatory.py`) while the script’s own hyphenated path still fails both alternatives — the test pins exactly that. One-line functional fix + tightened test; everything else unchanged from v1.25.0.
Restart script: match the symlink invocation in the legacy kill pattern (v1.25.1)
All checks were successful
Checks / Functional checks (pull_request) Successful in 15s
0870858061
Live rollout caught it: the station launches the dashboard as
zcode-observatory (the ~/.local/bin symlink), so the observatory[.]py
pgrep pattern matched nothing and the legacy restart left the old
process holding port 8767. The pattern now matches both spellings
(zcode-observatory at an argv boundary OR observatory.py) while the
script's own hyphenated path still fails both alternatives.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
OSS-Singularity/zcode-dispatch-observatory!51
No description provided.