Document verified manual builds, controlled failure and repair
Assignment 5 manual PDF / manual (push) Successful in 48s
Assignment 5 manual PDF / manual (push) Successful in 48s
This commit is contained in:
parent
2b8be117c7
commit
db2a8be2ec
@@ -18,6 +18,7 @@
|
||||
\endhead
|
||||
\bottomrule
|
||||
\endlastfoot
|
||||
October 6, 2026\\ 1.7.1\\ GDL, CDX & Execute the approved full-source builds, controlled failure/repair, and evidence-based manual update. & AI ran and correlated successful runs 3--4, deliberate LaTeX failure 5, repaired run 6 and downloaded artifacts. PDF parsing/checksums verified identity; rendered chapter review identified and corrected overlapping diagram labels. The team retains responsibility for final submission review. No secret values entered the report or source; Chapter 4 was not implemented. \\
|
||||
October 6, 2026\\ 1.7.1\\ GDL, CDX & Continue the user-authorized remote implementation using the supplied source ZIP. & AI performed the live preflight, registered the runner, built the pinned compiler image, diagnosed the initial runner memory limit, and downloaded the successful compatibility artifact. The user supplied the original manual and images. Manual source builds and failure/repair evidence follow separately; final human submission review remains with the team. \\
|
||||
October 6, 2026\\ 1.7.1\\ GDL, CDX & Read the instruction PDF and existing manual; prepare the approved Chapter 3 Gitea Actions implementation. & The user clarified Chapter 3, approved implementation, selected Assignment 5/version 1.7.1/October 6, and identified \texttt{hw4\_images}. AI corrected source paths and metadata and prepared build identity and documentation. The original local SSH access is blocked; the user approved a separate remote implementation chat. Build-helper metadata and clean-copy checks passed locally; no runner, remote workflow, successful build, or failure/repair evidence is claimed. \\
|
||||
September 29, 2026\\ 1.6.1\\ NK, GDL, CDX & Complete and review the public-domain, HTTPS, evidence, recovery, and reference material for Assignment 4. & The team supplied the domain and renewal facts, verified DNS, HTTPS, certificate automation and external ports, and approved the backup/restore exercise. AI assisted with diagnostics, isolated recovery evidence, requirement auditing, live links, security explanations, concise credential and reference updates, figure-flow improvements, compilation, and visual review. \\
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
Human version \texttt{1.7.1}; document date October 6, 2026. The team authorized
|
||||
Chapter 3 implementation on its existing Droplet. Jenkins (instruction Chapter 4)
|
||||
is outside this activity. Infrastructure checks below are observed results;
|
||||
the manual build sequence is recorded separately as it completes.
|
||||
the manual build sequence below records the executed results.
|
||||
\end{devopsNote}
|
||||
|
||||
\section{Source and trigger}
|
||||
@@ -32,27 +32,30 @@ instructor-approved key-only SSH exception were preserved.
|
||||
|
||||
\begin{figure}[htbp]
|
||||
\centering
|
||||
\begin{tikzpicture}[node distance=10mm, every node/.style={draw,rounded corners,align=center,font=\small,text width=3.7cm},>=Stealth]
|
||||
\node (team) {Team source push\\HTTPS 443};
|
||||
\node[right=of team] (gitea) {Caddy $\rightarrow$ Gitea\\private backend 3000};
|
||||
\node[below=of gitea] (runner) {Repository runner\\one job; Docker socket};
|
||||
\node[left=of runner] (job) {Temporary TeX container\\checkout, compile, upload};
|
||||
\node[below=of job] (pdf) {Named PDF artifact\\download for submission};
|
||||
\begin{tikzpicture}[node distance=9mm and 7mm,
|
||||
every node/.style={draw,rounded corners,align=center,font=\small,text width=3.0cm,minimum height=15mm},>=Stealth]
|
||||
\node (team) {Team\\HTTPS source push};
|
||||
\node[right=of team] (gitea) {Caddy 443\\Gitea private 3000};
|
||||
\node[right=of gitea] (runner) {Runner\\HTTPS work requests};
|
||||
\node[below=of runner] (docker) {Docker daemon\\internal socket};
|
||||
\node[left=of docker] (job) {Temporary TeX job\\checkout and compile};
|
||||
\node[left=of job] (pdf) {Named PDF artifact\\team downloads};
|
||||
\draw[->] (team)--(gitea);
|
||||
\draw[<->] (gitea)--node[right,draw=none,text width=1.8cm]{HTTPS work requests}(runner);
|
||||
\draw[->] (runner)--(job);
|
||||
\draw[->] (gitea)--(runner);
|
||||
\draw[->] (runner)--(docker);
|
||||
\draw[->] (docker)--(job);
|
||||
\draw[->] (job)--(pdf);
|
||||
\draw[->,dashed] (job)--node[above,sloped,draw=none,text width=3.2cm]{HTTPS source and artifact}(gitea);
|
||||
\draw[<->,dashed] (gitea)--(job);
|
||||
\end{tikzpicture}
|
||||
\caption{Actual single-Droplet manual-build path. Only the runner mounts the
|
||||
Docker socket; Gitea and the compiler do not share a source filesystem.}
|
||||
Docker socket. The dashed HTTPS path carries source checkout and artifact upload; Gitea and the compiler do not share a source filesystem.}
|
||||
\label{Fig:ManualBuildArchitecture}
|
||||
\end{figure}
|
||||
|
||||
\section{Runner setup}
|
||||
\phantomsection\label{GlossaryRef:actionsrunner}\index{runner!registration}
|
||||
Runner ID 1, \texttt{assignment5-manual}, is registered only to
|
||||
\texttt{myfileagent/myfileagent-pipeline}. The self-managed
|
||||
\path{myfileagent/myfileagent-pipeline}. The self-managed
|
||||
\texttt{act\_runner} version is 0.6.1. Its image digest is
|
||||
\path{sha256:b5c35d6bdbb9bb25e531230bfc7cc663cb751406cbec90a2a891b85fea54de86}.
|
||||
The live files are under \path{/home/codex/myfileagent-gitea/runner};
|
||||
@@ -88,7 +91,7 @@ recorded image ID after verification. Dependencies include TeX Live 2022,
|
||||
latexmk 4.79, BibTeX, makeindex/makeglossaries, Latin Modern and recommended
|
||||
fonts, Pygments 2.14.0 for minted, Node 18.20.4 and pypdf 3.4.1.
|
||||
|
||||
The job runs \path{python3 documentation/ci/build_manual.py}. The helper copies
|
||||
The job runs \texttt{python3} \path{documentation/ci/build_manual.py}. The helper copies
|
||||
sources into a fresh temporary directory and invokes:
|
||||
\begin{lstlisting}[language=bash]
|
||||
latexmk -pdf -shell-escape -interaction=nonstopmode \
|
||||
@@ -138,17 +141,37 @@ are available from the run's named download link even though the newer REST
|
||||
artifact-list endpoint returned no entries in the preflight. The direct
|
||||
preflight artifact download was verified, including ZIP checksum and contents.
|
||||
Manual artifact downloads and visible PDF checks are recorded below.
|
||||
\href{\BuildRunURL/artifacts/assignment5-1.7.1-run-\BuildRun-\BuildCommit}{Download the artifact for this PDF}.
|
||||
|
||||
\section{Change, failure, and repair evidence}
|
||||
% BEGIN BUILD EVIDENCE
|
||||
\EvidenceID{MAN-BUILD-01}: October 6, 2026. Expected: the first source push
|
||||
compiles the complete report and uploads a traceable PDF. Actual:
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3}{run 3 passed},
|
||||
commit \path{c74087a93bf53b44a75a25c3658fc178ff253225}, visible version
|
||||
\texttt{1.7.1+build.3.c74087a.attempt.1}. The downloaded PDF had 72 pages and
|
||||
matched the manifest checksum. The next change improves hash wrapping and
|
||||
clarifies the introduction. The second build and isolated LaTeX failure/repair
|
||||
remain pending at this stage; the infrastructure preflight is not counted.
|
||||
All observations below were made on October 6, 2026 (America/New\_York). Logs use UTC, where these runs are dated October 7. These are actual push-triggered manual builds, separate from infrastructure preflight runs 1--2.
|
||||
|
||||
|
||||
\paragraph{Source change 1.}
|
||||
\EvidenceID{MAN-BUILD-01}: Imported the full manual and activated its workflow. Expected: a successful full build and downloadable PDF with the triggering revision. Actual: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3}{run 3 passed}; full commit \path{c74087a93bf53b44a75a25c3658fc178ff253225}.
|
||||
Visible version: \path{1.7.1+build.3.c74087a.attempt.1}; 72 pages. The \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3/artifacts/assignment5-1.7.1-run-3-c74087a93bf53b44a75a25c3658fc178ff253225}{named PDF and manifest artifact} was downloaded, opened with a PDF parser, and its PDF SHA-256 matched the manifest:
|
||||
\path{ab99995751da7a67684d97e32344cfc8d7f3d0c6c26055bbd0670b3dc030d337}.
|
||||
|
||||
|
||||
\paragraph{Source change 2.}
|
||||
\EvidenceID{MAN-BUILD-02}: Improved long-identifier wrapping and clarified the introduction. Expected: a successful full build and downloadable PDF with the triggering revision. Actual: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4}{run 4 passed}; full commit \path{2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a}.
|
||||
Visible version: \path{1.7.1+build.4.2b8be11.attempt.1}; 72 pages. The \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4/artifacts/assignment5-1.7.1-run-4-2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a}{named PDF and manifest artifact} was downloaded, opened with a PDF parser, and its PDF SHA-256 matched the manifest:
|
||||
\path{ba87740958bada14f31d2236638c9b175d8b24797f715252cdb0f0af6668be06}.
|
||||
|
||||
|
||||
\paragraph{Controlled failure.}
|
||||
\EvidenceID{MAN-FAIL-01}: Expected: an invalid LaTeX command fails compilation and publishes no PDF. Actual: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/5}{run 5 failed} for commit \path{f0e7b74ee63b40811334ee9cd4aecf035f1b0864}, on \texttt{manual-build-validation}. The deliberate \texttt{\string\AssignmentFiveControlledFailure} command caused ``Undefined control sequence at chapter line 4; latexmk returned 12. The workflow skipped PDF upload and the expected named artifact returned HTTP 404. Main and the deployed services remained operational.
|
||||
|
||||
|
||||
\paragraph{Repair.}
|
||||
\EvidenceID{MAN-REPAIR-01}: Removed the deliberate undefined command on the validation branch. Expected: a successful full build and downloadable PDF with the triggering revision. Actual: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/6}{run 6 passed}; full commit \path{a4737f1a4eed5e1b786038bb917ca1ab9f1ed856}.
|
||||
Visible version: \path{1.7.1+build.6.a4737f1.attempt.1}; 72 pages. The \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/6/artifacts/assignment5-1.7.1-run-6-a4737f1a4eed5e1b786038bb917ca1ab9f1ed856}{named PDF and manifest artifact} was downloaded, opened with a PDF parser, and its PDF SHA-256 matched the manifest:
|
||||
\path{7591b1cd87f319dfc77eaa4ca9fd9727d1e7b97253a05d9a93e8624296bc736e}.
|
||||
|
||||
|
||||
The artifact name for each successful row is \texttt{assignment5-1.7.1-run-} followed by the run number, a hyphen and the full commit above. The run links and artifact links therefore identify the same source revision; version suffixes use its first seven hex digits. Full machine-readable records and downloaded PDF checksums are retained in \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/manual-build/manual-build-evidence.json}{the versioned evidence manifest}. The controlled error was confined to the validation branch and its repair restored the exact source content of the second successful build.
|
||||
Visual inspection of the downloaded run-4 chapter identified overlapping architecture labels; the final source corrects the diagram. Final publication uses the current \hyperref[Build:Identity]{Build Identity} and its linked run. Download verification of that final artifact is performed after publication, without editing the PDF or creating an automatic source commit loop.
|
||||
% END BUILD EVIDENCE
|
||||
|
||||
\section{Runner and secret boundary}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
\endhead
|
||||
\bottomrule
|
||||
\endlastfoot
|
||||
October 6, 2026 / 1.7.1 & GDL, CDX & Verified two successive source builds (runs 3--4), controlled LaTeX failure (5), repaired build (6), and downloaded PDF checksums. Corrected traceability wrapping and architecture layout; retained previous evidence. Hosts changed for runner/job resources; Passwords changed for protected credential-storage hints. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{Hosts}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||
October 6, 2026 / 1.7.1 & GDL, CDX & Imported the actual source bundle; deployed repository runner and pinned compiler image, verified checkout/artifact preflight, and prepared push-triggered manual compilation. Hosts changed to include runner/jobs; Passwords changed to include credential-storage hints. Manual build evidence is pending this first push. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
|
||||
October 6, 2026 / 1.7.1 & GDL, CDX & Began approved Assignment 5 Chapter 3 implementation; updated metadata, corrected historical image paths to \texttt{hw4\_images}, added build-identity support and the automated-build chapter. Prepared and locally checked the clean-build helper; remote setup and evidence remain pending execution on the connected project. Hosts and Passwords tables are unchanged at this preparation stage; add verified runner details after registration. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{Hosts}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||
September 29, 2026 / 1.6.1 & NK, GDL, CDX & Activated \texttt{myfileagent.tech} with DNS, Caddy HTTPS, certificate and ACME evidence; documented the isolated backup/restore test, live links and temporary ports; refined the firewall, extra-credit, credential, figure-layout, and reference material; compiled and visually reviewed the manual. & \ChapterRef{GiteaStartupFoundation}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||
|
||||
@@ -79,8 +79,6 @@ evidence.
|
||||
assistance used to organize, author, and review the report.
|
||||
|
||||
\section{Submission and Verification}
|
||||
Assignment 4 evidence is retained as a historical record. Assignment 5 is
|
||||
complete only after the runner, workflow, versioned artifacts, and failure/repair
|
||||
exercise are verified. Submit only the PDF downloaded from the final successful
|
||||
Assignment 4 evidence is retained as a historical record. Assignment 5 has verified the runner, two successive source builds, downloaded versioned artifacts, and a controlled failure/repair exercise. Submit only the PDF downloaded from the final successful
|
||||
Gitea Actions run after visual and navigation checks; a local draft is not the
|
||||
final submission. Current status appears in \ChapterRef{AutomatedManualBuild}.
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
\newcommand{\AssignmentTitle}{Automated LaTeX Manual Builds with Gitea Actions}
|
||||
\newcommand{\AssignmentNumber}{5}
|
||||
\newcommand{\DocumentVersion}{1.7.1}
|
||||
\newcommand{\DocumentStatus}{Group Assignment Report -- Work in Progress}
|
||||
\newcommand{\DocumentStatus}{Group Assignment Report}
|
||||
\newcommand{\CourseNumber}{SSW 590}
|
||||
\newcommand{\CourseName}{DevOps Principles and Practices}
|
||||
\newcommand{\Instructor}{Darian Muresan}
|
||||
|
||||
Reference in New Issue
Block a user