Record verified live pipeline evidence for #24 [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex
2026-11-27 19:27:38 +00:00
parent c735c8c693
commit 0e2df635d1
18 changed files with 654 additions and 59 deletions
+70 -59
View File
@@ -1,65 +1,76 @@
Member 2 technical checkpoint — 2026-11-26
Owner: Gowri (Member 2), implementation assisted by Codex.
SSW590 technical integration checkpoint — 2026-11-27
User: Gowri, Member 2. Report writing remains deferred.
Workspace: /home/codex/ssw590-member2
Branch: feature/final-ci-demo
Base: 5373351a7e7ac2bc0f34bae19c25383de3843ca7
Verified implementation: 0ec7cee5b9923e484e78046ca9adcb848423cd3e
Verified implementation: c735c8c6934c3084944de3077dfba027bf423bef
Member 1 merged head: 1449a8bf68a5013433225f77f5286bf8d6fd9468
Shared base: 5373351a7e7ac2bc0f34bae19c25383de3843ca7
User scope: shared technical prerequisites and Member 2 implementation.
Report prose is deferred. Earlier draft remains on local branch
archive/final-project-documentation-draft. Automated PDF run data is technical
build output, not a completed final-report chapter.
Completed live technical path:
- Merged the real bounded reviewer, fixtures and tests. Adopted the optional
runtime/library/executable checksum hardening, with safe preparation support
for the older compiler Python. Fixed Member 1 smoke-error normalization.
- Issue #24 tracks the actual work. Commit c735c8c references it and changes
demo/demo.py to the controlled missing-parenthesis input. The model preserves
that committed source and writes the repaired output separately.
- Actions #43 SUCCESS: real SmolLM2 model returned corrected, 23 input and 5
output tokens, 3.0561 seconds. SHA, input hash, runtime lock, raw response,
runtime counters and resource measurements are retained with the review.
- Strict 250,000,000-byte requested cap, no swap. Kernel effective cap and
observed whole-job peak: 249,999,360 bytes. memory.events max=433, oom=0,
oom_kill=0. The job reached its cap; this does NOT prove natural peak below
the cap or spare memory. It includes preparation/cache and reviewer work.
- Jenkins final-project-live #1 SUCCESS, 39 tests (19 reviewer/application,
20 pipeline), exact reviewed-file smoke, 170-page PDF, live ZIP 1.0.4.
- Downloaded ZIP, companion SHA256, all four payload hashes, PDF source/model/
token/code identity and independently extracted Python execution passed.
- Jenkins live #2 expected FAILURE: invalid Actions run rejected before build,
metrics or release publication; no ZIP. Live #3 SUCCESS: exact byte-identical
1.0.4 retry, original published identity preserved.
- ZIP SHA256: 2eed54036744e4e0eaeb91f001a15be169a3d13bb28a213c900f097af1f664c5
- Real input/output/duration/memory/timestamp metrics verified in Prometheus.
Grafana resource storage confirms eight loaded panels. Fixed-window raw
series include shared-host CPU/memory, not per-model CPU or RSS.
Implemented and verified:
- Shared CLI/artifact contract: ci/contract.json; canonical broken/fixed fixtures.
- Independent fixture reviewer; Member 1's draft workspace remains intact.
- Gitea Actions exact-SHA review bundle; strict identity, hash and ZIP checks.
- Separate final-project-fixture Jenkins job, existing trusted agent and
gitea-jenkins-ci credential. Original required pricing job unchanged.
- Pinned isolated compiler; ordinary manual mode retained; generated review
source/diff and release identity inserted into final-mode PDF.
- Durable locked Major.Minor.Changelist allocation, immutable releases,
reviewed-code execution gate, hashed ZIP payloads and checksum companion.
- 19 pipeline tests including real TeX failure and stale-output removal,
plus 2 existing application tests: all passed in Jenkins #4.
- Monitoring textfile collector at /home/codex/ssw590-final-metrics, readonly
/textfiles mount; existing CPU/memory collectors preserved. Prometheus
target up, collector success 1, scrape error 0; connectivity probe passed
and was removed. No simulated counts were emitted as live measurements.
- Grafana dashboard uid ssw590-final-project: six panels verified in Grafana
resource storage; input/output count availability are separate series.
Important implementation details:
- Live Actions image is locked by immutable local image ID in ci/live-image.json;
ci/Dockerfile.live-actions builds it from Member 1's compatible pinned Python
base plus Git/Node. It is present on this Droplet. A new runner host needs that
image provisioned or a reviewed rebuild and updated image lock.
- Each Actions run downloads and checksum-verifies its runtime. Model resides
in private tmpfs. The shared runner's allowed-volume policy was not widened.
- Compiler remains the original pinned TeX image; model inference is separate.
- Live job: https://ci.myfileagent.tech/job/final-project-live/
Actions: https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/43
Issue: https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/24
- Manual Jenkins trigger is supported: use the exact successful Actions run's
full source SHA, run ID, attempt 1 and MODE=live. Current pipeline requires
branch HEAD to match that source; evidence-only follow-up commits also move
HEAD, so use the corresponding successful run after any branch advance.
- Existing 1.0 release line and durable ssw590-final-project-state volume remain.
Prior fixture 1.0.1–1.0.3 and local Member 1 dry runs are distinct evidence.
- Existing protected-main checks, pricing, Zammad and monitoring collectors
remain intact. Temporary Jenkins API token revoked, rejection verified (401),
temporary credential file removed after testing.
Actual remote evidence:
- Actions #38 / source 0e7ade75... -> Jenkins #1 SUCCESS -> fixture 1.0.2.
- Jenkins #2: deliberate Actions/source mismatch rejected before compile,
tests or package; no release ZIP published (expected FAILURE).
- Jenkins #3: exact #1 retry SUCCESS; identical 1.0.2 ZIP SHA256:
64173b7bd460cf4ff392ec0cc051865220a242d12e779f929e63a57606013794.
- Actions #39 / verified implementation above -> Jenkins #4 SUCCESS,
fixture 1.0.3, all 21 tests passed. Downloaded actual archived ZIP and
independently checked every payload hash and fresh execution (hello).
- ci/evidence contains manifests, API results, compressed sanitized console
logs, actual Jenkins #1 host CPU/memory samples and monitoring checks.
- Local deliverable: /home/codex/outputs/member2-technical/ssw590-fixture-1.0.3.zip
- Temporary Jenkins API token revoked; rejection verified (401); secret file
removed. No temporary credential remains available for further API work.
Evidence and deliverables:
- ci/evidence/live-integration/summary.json indexes verified results.
- That directory retains Actions failures 41 (kernel rounding), 42 (runtime
libc incompatibility), success 43, Jenkins logs/results, issue data, real
review bundle, checksum results and Prometheus samples/window.
- Local ZIP and checksum:
/home/codex/outputs/final-project-live/ssw590-live-1.0.4.zip
/home/codex/outputs/final-project-live/ssw590-live-1.0.4.zip.sha256
- Member 1 source evidence and report draft remain under handoff/member1/.
Do not describe their synthetic local run IDs as deployed pipeline runs.
Remaining dependencies / work:
- Member 1 supplies pinned real model/runtime, reviewer CLI, actual reviewed
output, raw model response, token counts and measured memory evidence.
Current workflow and Jenkins job intentionally permit fixture mode only.
- Integrate that reviewed runtime, connect measured live metrics, then run
the real-model end-to-end demo; do not relabel fixture results as AI results.
- Team confirmation of 1.0 release baseline (currently provisional).
- Issue-tracker API returned 403 with the existing repository token; no new
final-project issue or comment was created in this session.
- Author final report, diagrams, SWOT text and history only when user resumes
documentation. Existing report content is not claimed as final rubric work.
Runtime persistence:
Docker volume ssw590-final-project-state holds versions and immutable ZIPs.
Do not delete it. Build containers clean themselves up after each Jenkins run.
Monitoring deployment source lives under
/home/codex/myfileagent-gitea/assignment7-monitoring/monitoring;
tracked matching changes live in this branch. Existing infrastructure services
and Member 1's /home/codex/ssw590-final-project edits were preserved.
Remaining user-facing project work:
- Final report/chapter, diagrams, SWOT integration, update history and final
presentation/demo preparation: deliberately deferred by user.
- Capture presentation screenshots from the actual Grafana/Jenkins UI. Raw
measurements and verified provisioned panels are saved; no screenshots have
been fabricated or claimed. Dashboard was opened on the actual run window.
- Issue completion comment is prepared in outputs/final-project-live/ and the
user was asked to post it because the repository API token lacks issue-write
permission. Check the public issue comments before assuming it was posted.
- Preserve the current release; do not delete the durable state volume.