Show accepted model repair in Actions logs [skip ci]

This commit is contained in:
Codex Agent
2026-11-28 21:28:54 +00:00
parent 8a8efe961b
commit 25167307e8
4 changed files with 11 additions and 2 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ Updated 28 November 2026. This is the current documentation-preparation record f
- Shared base: `5373351a7e7ac2bc0f34bae19c25383de3843ca7`. Prepared demo branch in Gitea: `feature/final-ci-demo`; this local checkout is `feature/final-demo-refresh`.
- Preparation commit `1bb4e0a9dde2e57380bd85156ffe5ceb0896340a` added the valid demo source and short PDF/versioned live demo changes. Commit `d118a677e0a67795336e8c8fddadd7412c68806d` adjusted the memory ceiling, warning, and Grafana display. Both were pushed by the user using the interactive credential helper.
- Latest implementation commit `3ad7836e5b7e70b1c1fd95934c95748979534ab6` focuses the demo tests and separates the Jenkins reviewed-program stage. **It has not been pushed to Gitea as of this handoff.** The local `../outputs/push-ssw590-demo-refresh.sh` checks the expected tip and old remote head and asks for credentials only in the user's interactive SSH terminal; it stores none. The preparation commits contain `[skip ci]`, so the intentionally broken on-stage commit should be the next live inference event.
- Reviewer-test implementation commit `3ad7836e5b7e70b1c1fd95934c95748979534ab6` focuses the demo tests and separates the Jenkins reviewed-program stage. The subsequent handoff and Actions-log changes **have not been pushed to Gitea as of this handoff**. The local `../outputs/push-ssw590-demo-refresh.sh` checks the expected tip and old remote head and asks for credentials only in the user's interactive SSH terminal; it stores none. The preparation commits contain `[skip ci]`, so the intentionally broken on-stage commit should be the next live inference event.
- Member 1 owns `reviewer/`, `demo/`, reviewer tests and source evidence. Member 2 originally integrated the Actions, Jenkins, bundle/ZIP, version reservation, shared CI and monitoring. Subsequent demo refresh changes were made with the user's authorization and are identified below. Final LaTeX course documentation remains deferred at the user's request.
## Implemented review and live pipeline
@@ -21,6 +21,7 @@ Updated 28 November 2026. This is the current documentation-preparation record f
- `demo/` contains `demo.py`, `build_demo_pdf.py`, `demo_report.tex`, and `README.md`; all are needed. The prepared `demo/demo.py` is exactly one line, `print("hello")`, plus a newline. During the user-led demo, edit **only that file** and delete **only the final closing parenthesis**. Commit the resulting `print("hello"` to `feature/final-ci-demo`. The broken committed source is the review input, not the successful program to run.
- The final-project Actions and Jenkins unit-test commands now discover only `tests/test_reviewer.py` and `ci/tests`; unrelated legacy `tests/test_pricing.py` is excluded from this demo pipeline. `Jenkinsfile.final-project` has a separate **Compile and execute model-reviewed Python** stage. The existing `ci/final_project.py test` command compiles the verified `reviewed.py`, calls `tests/smoke_demo.py`, and independently executes `reviewed.py`, requiring exit 0 and exact `hello\n` output. Only then is `out/test-result.json` written and packaging allowed. Source details: `demo/README.md` and `handoff/member1/demo-refresh.md`.
- The Gitea Actions step **Run real model, show accepted repair and measure memory** now prints the source commit, locked model ID, measured tokens, raw model response, accepted one-character diff, and a reviewed-program smoke PASS message after the smoke check succeeds. These lines come from the real review bundle fields and the executed reviewed file; they are meant to make the fix visible in the Actions log without downloading the artifact. The bundle's `review.json` and the short Jenkins PDF remain the durable evidence. This log display has not yet been observed in a live run.
- Verification of the latest test selection: `python3 -m unittest discover -s tests -p 'test_reviewer.py' -v` passed **17/17** locally on 28 November; `git diff --check` passed before commit. The new stage layout has **not** yet been seen in live Jenkins. The previously established `ci/tests` and smoke behavior were not rerun solely for this label/selection change.
## Monitoring and memory behavior