Patch Jenkins and verify cloud CI host maintenance
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-26 23:23:44 -05:00
parent d65d1fdf5c
commit f3a80a284f
23 changed files with 2370 additions and 28 deletions
+157
View File
@@ -1367,3 +1367,160 @@ visually reviews affected pages. It does not commit, push, publish an issue,
approve or merge a PR, replay unreviewed pipeline code, or prepare the reserved
issue-linked product change. The corrected baseline must pass after human
review and merge before that next source increment begins.
\section{TinyTeX Setup Handoff for Billy and Claude}
Date: November 26, 2026 Eastern; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent requested an instructions file that Billy could read and give to Claude
for local LaTeX setup. Codex read the project controls and actual PowerShell
build helper, then prepared the standalone guide:
\begin{quote}\small
\path{manual/TINYTEX_WINDOWS_SETUP.md}
\end{quote}
The guide uses the recipient's own paths, reuses existing TinyTeX first and
preserves other working installations. It separates an optional fresh install
from tool discovery, package repair and the complete group-manual build.
Codex checked the official TinyTeX installation source, release documentation,
minted maintainer information and TeX Live manager help. The vendor installer
can replace existing TinyTeX directories, so the guide checks both affected
locations and confines temporary cleanup to a fresh setup directory. It explains
the parent-directory meaning of the installation setting, process/user PATH
selection, the project's explicit compiler setting, missing-package lookup and
temporary drive mapping. Current TeX Live's working minted helper is checked
before suggesting a separate Python/Pygments fallback.
PowerShell examples are syntax-checked, and the existing shared TinyTeX is used
to rebuild the complete manual and visually review affected pages. No installer,
package installation, persistent PATH change or execution-policy change is run
on Vincent's machine. Billy's actual installation and build remain for Billy
and Claude to verify on that computer. Codex records the assistance and history,
preserves the committed Jenkins repair and other work, and does not commit or
push this handoff.
\section{Jenkins Core Patch and Verified Baseline Rerun}
Date: November 26, 2026 Eastern; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent reported that the reviewed repair PR had merged, continuing the agreed
core-maintenance and real-baseline sequence. Codex verified PR~32's merged main
\texttt{d65d1fd}, preserved the uncommitted TinyTeX handoff, and created a new
local verification branch. No commit or push was performed.
Codex checked the official Jenkins October 28 advisory and official 2.580.2
WAR/checksum, retained the already patched Temurin 21.0.13.1+2 runtime, and built
a minimal controller overlay. After idle/capacity checks and authenticated
Prepare for Shutdown, it stopped only the controller, created a full root-only
home backup, changed the image selector and recreated that service. Its home,
limits, jobs, accounts, credentials and security settings were preserved. The
agent and other containers were not recreated. Gitea and both pricing health
checks returned 200 in sampled checks; Jenkins downtime was not continuously
measured. The full backup contains private state and remains outside Git on
the host, with the recovery image and original configuration.
The initial verification stopped after healthy startup because the global
configuration hash changed. Independent comparison against the private backup
proved that only the expected core-version metadata migrated from 2.580.1 to
2.580.2. The helper now permits exactly that structural difference and still
requires other checked configurations to match. No security setting was relaxed.
The initial unrelated-container comparison had already passed; the selected
evidence records that sequence accurately. The future source recipe now pins
the official 2.580.2 base, but a fresh full rebuild of that recipe was not run.
The live overlay is the image actually tested.
Codex regenerated the plugin lock from all observed installed archive hashes.
All original 63 version/hash pairs were preserved; JUnit and its eight required
reporting dependencies bring the total to 72. The three existing theme plugins
were unchanged. The maintenance and recovery record is:
\begin{quote}\small
\path{security/jenkins/README.md}
\end{quote}
Real Jenkins build~2 ran on reviewed main \texttt{d65d1fd} and the existing
trusted cloud agent. It verified all 435 indexed/raw upstream files, passed
eight CTest cases, rebuilt both report editions, generated 25 source graphs,
packaged version 1.0.2 and published artifacts and JUnit results. It ended
SUCCESS in 461.895 seconds. Chrome showed all seven stages green and eight
passed, zero failed/skipped tests. Existing toolchain images and caches were
reused; sampled host load cannot be attributed exclusively to this job.
The initial automated archive transfer was intercepted by the download manager.
Vincent identified FDM and asked Codex to retry; the individual provenance JSON
had already downloaded successfully. FDM showed no resume support for the
generated archive. Codex used Restart from byte zero; the 180,060,666-byte ZIP
completed, and all 14 entries passed CRC checks. Local artifact verification
passed transport checksums, OCI manifest/configuration and all eight image
layers. Provenance matches Jenkins execution, reviewed main and unchanged
upstream \texttt{f4e3193}. The report and provider graph are visually reviewed.
Selected results and original phase-sample statistics are recorded in:
\begin{quote}\small
\path{demo/evidence/jenkins-baseline-success-20261126.json}
\end{quote}
Codex updated Hosts, history and rehearsal/runbooks, retaining the failed first
build and earlier evidence. The complete group manual is rebuilt with TinyTeX
and affected pages are visually reviewed. Only reproducible current-task scratch
is removed; the downloaded archive, grading evidence, private remote backup,
shared tools and unrelated work are retained. The separate issue-linked product
increment and classroom rehearsal remain pending. No issue/comment publication,
peer approval, commit, push, source refactor or pricing deployment was performed.
\section{Droplet Updates and Zombie-Process Repair}
Date: November 26, 2026 Eastern; Tool: OpenAI Codex; Human: Vincent Sun.
Vincent requested cleaning up the Droplet, mentioning pending updates and zombie
processes. Codex inspected repository controls, package state, running services
and process parentage through the existing authorized SSH identity. Twelve
defunct Git/shell children had been adopted by the delivery agent's Java PID~1.
There were no unfinished Jenkins builds, failed systemd units or broken packages;
the installed 6.8.0-151 kernel awaited a reboot.
After refreshing the official repositories and simulating the upgrade, Codex
paused Jenkins scheduling in its authenticated UI. A guarded host task stopped
the idle CI components, upgraded twenty packages without removals, and recreated
only the agent with Compose \texttt{init: true}. An in-memory comparison verified
that the Compose change was limited to that setting; the image, named identity
and workspace volumes, resource limits and security settings were retained.
The source laptop fallback received the same init option but remained stopped.
A bounded orphan-child test passed. The root-only checkpoint retains original
configuration, package status and maintenance records outside Git.
The Jenkins UI also reported two newly published sandbox advisories. Codex read
the official update-center metadata and selected only compatible fixes for
Pipeline Groovy and Script Security. Their archive checksums matched that
metadata, existing dependencies were adequate, and old archives were retained
for recovery. Both updates downloaded successfully and were activated by the
controlled host reboot. The installed/enabled UI entries were verified afterward.
The workflow lock was regenerated from a new 72-package bundle: two entries
changed, seventy stayed unchanged. Across the 75 installed plugins, all other
73 archives, including the three theme plugins, were unchanged. Core remains
2.580.2 and Java remains Temurin 21.0.13.1+2; optional core and other plugin
updates were not applied.
The host returned on kernel 6.8.0-151 with all twelve previously running
containers restored and the retired Color Buttons container still stopped.
Jenkins initially returned 503 while starting, then 200; no continuous outage
measurement or zero-downtime claim is made. The agent reconnected. Docker now
reports 29.10.1 and Compose 5.8.0. Codex cleared only the reproducible APT download
cache, removing 93,959,166 bytes; shared Docker images, build caches, volumes,
backups, source and grading evidence were retained.
To verify the updated runtime, Codex triggered real TikZRefinery build~3 from
reviewed main \texttt{d65d1fd}. It passed in 223.843 seconds: all 435 indexed
upstream files, eight tests, both report editions, 25 source graphs, package
1.0.3 and the pipeline's checksum/OCI manifest, configuration and eight-layer
check. Jenkins archived the results. Its archive was not downloaded locally
again; build~2's transport evidence remains separate. Existing images/caches
were reused. The final post-workload inspection still found zero zombies,
no failed units, no pending APT upgrades and no reboot required. BuildKit
responded as running. Final shared-host point samples showed about 770\,MiB
available RAM, 414\,MiB swap in use and 3.9\,GiB free disk; these do not establish
a general performance improvement.
Selected evidence and the maintenance explanation are retained in:
\begin{quote}\small
\path{security/host/maintenance-20261126.json}\\
\path{security/host/README.md}
\end{quote}
Codex updates current Hosts, history, source recipes, the PR draft and runbooks,
then rebuilds the complete manual with the existing TinyTeX and visually checks
affected pages. Reproducible current-task render/compiler scratch is removed;
protected outputs, evidence and unrelated work remain. No public port, firewall,
credential, permission, pricing release selector, cloud plan or original frozen
product source changed. Codex does not commit, push or publish project messages.
+3
View File
@@ -12,6 +12,9 @@ link each entry to the changed chapter, table, figure, or controlled artifact.
\multicolumn{4}{l}{\small\itshape Document Update History (continued)}\\
\toprule \textbf{Date / Version} & \textbf{Author Initials} & \textbf{Change} & \textbf{Changed At}\\ \midrule
\endhead \bottomrule \endlastfoot
November 26, 2026 / 6.4 host maintenance & VS, CDX & At Vincent's request, applied 20 host upgrades, rebooted into kernel 6.8.0-151 and repaired delivery-agent orphan reaping. Activated two compatible Jenkins sandbox security fixes and regenerated the workflow lock; themes are unchanged. Build~3 passed all eight tests and packaged 1.0.3; zero zombies remained. Cleared only 89.6\,MiB of APT cache, preserving evidence and recovery data. Updated current Hosts and maintenance records; Password hints are unchanged. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
November 26, 2026 / 6.4 core and baseline proof & VS, CDX & After reviewed repair PR~32 merged, patched Jenkins core to 2.580.2 with fixed Java retained and a private stopped-home backup. Verified preserved settings and real build~2 on reviewed main: eight passing tests, both report editions, 25 source graphs and version 1.0.2. Downloaded the authenticated archive, resolved FDM's unsupported resume by restarting, and verified checksums and image layers locally. Updated current Hosts, recovery and demo runbooks; the issue-linked increment remains pending. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
November 26, 2026 / 6.4 teammate tooling guide & VS, CDX & Prepared a standalone Windows TinyTeX setup guide for Billy and Claude. Covered existing-tool discovery, protected installation, explicit tool selection, project packages, current minted helpers, complete manual builds and troubleshooting. Checked official installer behavior and PowerShell syntax; no new compiler was installed on Vincent's computer. & \hyperref[Chapter:AIPromptLog]{AI log}\\
November 26, 2026 / 6.4 baseline verification & VS, CDX & Verified the baseline merge, prepared the dedicated Jenkins job and ran build 1 from reviewed main. Recorded its missing tracked upstream asset and missing JUnit step; installed compatible JUnit reporting dependencies without a restart. Prepared the exact-blob repair, tracked provenance gate and job runbook. Local positive/negative and clean-export checks pass; a successful Jenkins baseline still awaits the reviewed repair. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
November 25, 2026 / 6.4 baseline integration & VS, CDX & Resolved the baseline PR conflicts against merged security PR~30, preserving both original AI and history records and the later access/rehearsal work. Verified the frozen snapshot and rebuilt the complete manual. Vincent retains commit/push and remote merge authority; the actual artifact-only Jenkins run remains pending. & \hyperref[Chapter:AIPromptLog]{AI log}\\
November 25, 2026 / 6.4 demo rehearsal & VS, CDX & Restored authorized home web access to Jenkins and Grafana with one /32 addition to the existing allowlist. Validated configuration, recreated only Caddy and verified authentication, denied-source behavior and healthy existing sites. Prepared a timed final-demo script, two-tool SWOT, configuration explanations and rubric checklist; actual baseline Jenkins verification and the subsequent issue-linked source increment remain pending review/merge. & \hyperref[Chapter:HostsPasswords]{Hosts}, \hyperref[Chapter:AIPromptLog]{AI log}\\
+27 -3
View File
@@ -55,6 +55,27 @@ the official update center. Installation and extension loading succeeded;
the controller retained its November 23 start time. No new account, credential,
public port or pricing deployment was introduced.
Later on November 26, after Vincent merged repair PR~32, Codex patched only the
controller to Jenkins 2.580.2, retaining Temurin 21.0.13.1+2, its persistent home
and resource limits. A complete stopped-home backup and recovery image remain
in a protected root-only checkpoint. Jobs, accounts and security settings were
preserved; the global core-version metadata migrated as expected. The existing
agent then completed reviewed-main baseline build~2: eight passing tests,
both report editions, 25 source graphs and verified version 1.0.2 artifacts.
No new account, credential, port or cloud plan was added.
Later that day Vincent requested host cleanup and updates. Codex traced twelve
zombies to the delivery agent's Java PID~1, recreated only that agent with
\texttt{init: true}, and verified orphan-child reaping. Twenty host packages
were upgraded; a controlled reboot activated kernel 6.8.0-151. Docker is now
29.10.1 and Compose 5.8.0. Two compatible Jenkins sandbox-plugin security fixes
were activated at reboot; core and Java versions were retained. Build~3 passed
all eight tests and produced version 1.0.3 on the same reviewed main. The final
inspection found zero zombies, no pending APT updates, no failed services and
no reboot required. Only the APT download cache was cleared (about 89.6\,MiB);
backups, volumes, images and grading evidence remain. Password hints, accounts,
permissions and public exposure are unchanged.
\section{Hosts}
\small
\begin{tabularx}{\linewidth}{@{}L{3.3cm}Y@{}}
@@ -65,7 +86,7 @@ public port or pricing deployment was introduced.
\endhead
\bottomrule \endlastfoot
Role & Gitea work hub (Gitea 1.27.3 behind Caddy 2.11.4 TLS proxy); since
22 Oct 2026 also the Jenkins 2.580.1 LTS controller, which runs the CI builds;
22 Oct 2026 also the Jenkins controller, now 2.580.2 LTS after 26 Nov maintenance;
its Java runtime was patched to Temurin 21.0.13.1+2 on 23 Nov 2026;
since 28 Oct 2026 also the monitoring stack (Prometheus 3.15.1, Grafana OSS
13.2.5, Node Exporter 1.12.1, Blackbox Exporter 0.29.1). The Assignment 3 Color Buttons app (29 Sep 2026) is retired: container
@@ -79,7 +100,8 @@ Delivery agent & Legacy node \texttt{ssw590-vince-delivery}, label
Private WebSocket to Jenkins and SSH through Docker host gateway with pinned
public-IP host-key alias. Docker socket control grants host administration.
Named identity/workspace and BuildKit cache volumes stay outside Git;
configuration under \path{/opt/ssw590-delivery-agent/}; restart unless stopped.
configuration under \path{/opt/ssw590-delivery-agent/}; restart unless stopped;
\texttt{init: true} reaps orphaned children after the 26 Nov 2026 repair.
Prerequisite builds 2/3 and preparation trials passed; pricing builds 5/6
completed both promotions; builds 8--10 completed both recovery cases. Build 7
stopped before deployment at the process limit; restarting only the idle agent
@@ -126,7 +148,9 @@ staging v2/source \texttt{6bddbfb}/total 36; production v1/source
\texttt{34f26e6}/total 30. Both healthy; invalid input HTTP 400\\
Backup status & No scheduled backup job; manual Gitea SQLite and Jenkins-home
backups saved in a protected root directory before the November 14 delivery
bootstrap. Container-replacement persistence verified for
bootstrap. A complete stopped Jenkins-home backup (about 682\,MiB) and recovery
image were retained before the November 26 core update; the private checkpoint
is \path{/root/ssw590-jenkins-core-20261126}. Container-replacement persistence verified for
Gitea (\ChapterRef{GiteaFoundation}), restart persistence for Jenkins
(\ChapterRef{JenkinsCI}) and for Prometheus and Grafana
(\ChapterRef{SREMonitoring}); manual volume backup procedure in