Repository navigation
#168 posture scheduled: join the operator's Tuesday cycle (PR B) - #171
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cycle) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…les gone (red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…op-ins) Posture scheduled: the apt timers stay masked and APT::Periodic::Enable reads the image's 0. deploy.sh no longer compares the three; test_apt_automatic.py goes with them. The way back is this commit's parent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…patching.timer) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… § Tailscale SSH) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d fallback, the patch-due check off but kept PATCHING.md § Patching and § The patch-due check (the way back to automatic, and to the check); AGENTS.md's Patching row (no growth); DEPLOYMENT.md's DORMANT_TIMERS and host configs; PROVISIONING.md; patching.py's docstring; the doc-sections route and SocratiCode's manifest description. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…MERS The test's logger check now reads the interrupt line itself: the install's own 'units from' line names every new unit, the dormant timer included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… enabled by a deploy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scale ahead of B, B5's scope) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Merged by fast-forward at |
28 of 31 tasks
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.
Refs #168 (PR B of two; PR A, the daily report, is #169). Plan: docs/plans/2026-12-03-168-operator-patch-cycles.md, with its 12-04 revisions.
What changes
The cohort operator now patches co-processor in its Tuesday cycle. This PR moves the repo to match.
posture scheduledandwindow Tue 14:00-23:59. The operator launches at 03:00 Pacific and plans only a window that opens after the launch and closes the same day. The new window is clear of the broker'sMon 23:00-05:00. Comments are rewritten;records CannObserv/processorandreportstay.processor-periodic, bothprocessor-window.confdrop-ins, theirHOST_CONFIGSrows andtest_apt_automatic.py.test_apt_scheduled.pyholds the nodescheduled: both apt timersmasked,APT::Periodic::Enable0(the image's own), noAutomatic-Reboottrue, and none of the three files installed. It skips off the node by hostname.deploy.shgainsDORMANT_TIMERS(processor-patching.timer): it installs the timer, never enables it, and an interrupted deploy's advice never names it. So a rebuilt host doesn't start a check that would pagedue/missedevery week. Status pausedco-processor-patchingon 2026-12-04 (status#162).RunSSHtest, and NETWORK.md § Tailscale SSH (any latertailscale upcarries--ssh; whySSHPolicyreads empty between runs; why a step survives tailscaled's restart).patching.py's docstring;doc-sectionsand SocratiCode's manifest.Review
The code review (CR 1–4) is applied, one commit each, and CR 5 is left as is:
DORMANT_TIMERS. Red first.11ca178^, notca03c79.Tests
uv run pyteston co-processor: everything passes except 6 live tests intest_apt_scheduled.py. Those 6 read today's host, which is stillautomatic, and pass after host step B7.2. Off the node (CI) they skip.ruff,ruff formatandshellcheckare clean.Gate (merge only when all hold, and before 2026-12-08 11:00Z)
sent: 201(2026-12-04 16:40:05Z).patching-hosts-report.timeris enabled.co-processor-patching(status#162, 05:53Z).If item 3 isn't met by 2026-12-07 23:00Z, 12-08 runs as today: attended, in the old window.
Host steps before the merge (each approved in session)
sudo systemctl disable --now processor-patching.timer.inactive:disable --nowandmaskboth apt timers;/etc/apt/apt.conf.d/processor-periodicand both installedprocessor-window.confdrop-ins;daemon-reload.uv run pytestfrom this branch on co-processor: green.Then merge (fast-forward) and
scripts/deploy.sh: the knob is aRUNTIME_FILESpath. Drift readsok.Known limits
-securityfix waits up to 7 days (owner, 2026-12-03).cadence:off-windowis expected until a run lands inTue 14:00-23:59.libcrypto.so.3. The 12-08 plan carries it unless the owner reboots first.For #84
The patch-due check comes back only once
patching.pyreads the operator's record issue (Patch run record: co-processor, <date>), not #113-style comments.🤖 Generated with Claude Code