Repository navigation
[NO-JIRA] cloudbox lgtm-mono unit for the containerized mono lgtm - #1069
Merged
Merged
Conversation
…e ownership check, rollback order in the alert
johnnymo87
enabled auto-merge (squash)
December 2, 2026 03:36
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.
Description
Jonathan OK'd the merge 2026-12-02.
Adds the
lgtm-monosystem unit on cloudbox: the container that runs mono's version of lgtm, repo by repo in place oflgtm-run(P2c-lgtm, bead lgtm-oqw2.20 in johnnymo87/lgtm).lgtm-mono.service: runs~/projects/lgtm/scripts/mono-service/run.shas dev. Requires and Afterlgtm-mono-network.service(the firewall contract inlgtm-mono-network.nix), no docker restart policy,Restart=on-failurecapped at 5 per hour, thenlgtm-mono-failurepages through pigeon. Wanted by docker too, so a docker restart brings it back.ConditionPathExistson the owned-repos file: the switch starts nothing. The unit runs only once the lgtm deploy tool arms it.restartIfChanged = false: a stop drains review turns for up to 40 minutes, so a switch never cuts reviews.lgtm-mono-token(+ timer every 20 min): mints the one-hour Vertex access token review turns use. It never passes the refresh token to the container. Same arming condition.Switch impact (switch-impact.sh, system and home): four new units, no watched unit named, nothing restarted.
References