Repository navigation
vibemon installer: session-sync fallback when systemd refuses, retries for the network steps - #27
Merged
Merged
Conversation
…try the network steps Driven by 67 failed install reports (2026-09-05..10-11). - attempt daemon install failed on five Linux machines whose systemctl --user had passed the pre-check, after the pairing token was spent and the hooks were in: a paired machine that uploaded nothing, and the same command could not be pasted again. Where nohup/setsid/flock exist the script now continues with the session supervisor, reports the refusal as its own daemon report (the command's words and the environment facts) and finishes done. Elsewhere it stops and says to run the command again without a token. - The legacy-key exchange (11 "This operation was aborted"), the pairing check and the first upload (4 "Network Err") are tried up to three times; a key the web does not know and a spent token are answers and are not retried. Every request is bounded; before, two of them could hang the script. - The no-credentials gate (step noop) is reported ok whatever its exit status. Installer version 0.2.15+install.2. 13 new tests (9 fail on the old script); tests/installers 160 OK, also under dash. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JoEHxgY36uG9EDhUocUGyD
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.
Why
67 of 355 install reports (2026-09-05..10-11) failed; 28 of the 43 failing client addresses never reported a later success. Three causes were still in the script:
What
Tests
13 new in `tests/installers/test_vibemon_install.py` (9 fail on the old script). `tests/installers`: 160 OK, 7 CI-only skips; also under dash. Not run locally: the real-systemd smoke (`Install and sync smoke`) — dispatched on this branch.
After merge
New immutable `install-YYYY-MM-DD.N` tag, then the pin PR in vibemon-web (`install-pins.ts`).
🤖 Generated with Claude Code
https://claude.ai/code/session_01JoEHxgY36uG9EDhUocUGyD