Integrate real reviewer with measured Actions execution and live Jenkins pipeline
myfileagent-python-ci/pipeline/head This commit looks good
Final project review (live) / review (push) Failing after 1m24s

This commit is contained in:
Codex
2026-11-27 19:08:59 +00:00
parent ad69828bc5
commit 9275fcdcae
11 changed files with 277 additions and 15 deletions
+20 -6
View File
@@ -1,10 +1,13 @@
name: Final project review (fixture)
name: Final project review (live)
on:
push:
branches: [feature/final-ci-demo, final-project-demo]
jobs:
review:
runs-on: manual-latex
container:
image: sha256:579106aaffa81dc2436a72a5dbfc51d3590f1a97646321fd38c694aae6d7cba1
options: --memory=250000000 --memory-swap=250000000 --tmpfs /private-model:rw,size=100000000
timeout-minutes: 15
permissions:
contents: read
@@ -13,23 +16,24 @@ jobs:
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Verify source and run fixture contract tests
- name: Verify source and run combined contract tests
env:
SOURCE_SHA: ${{ github.sha }}
run: |
set -eu
test "$(git rev-parse HEAD)" = "$SOURCE_SHA"
python3 -m unittest discover -s ci/tests -v
- name: Produce explicitly simulated review bundle
python3 -m unittest discover -s tests -v
- name: Run real model under measured 250 MB cap
env:
SOURCE_SHA: ${{ github.sha }}
ACTIONS_RUN_ID: ${{ github.run_id }}
ACTIONS_ATTEMPT: ${{ github.run_attempt }}
run: |
set -eu
echo 'Mode: fixture. No live model or live token evidence.'
python3 ci/fixtures/reviewer_stub.py --input ci/fixtures/demo_broken.txt --source-commit "$SOURCE_SHA" --out-dir out/review
python3 ci/final_project.py bundle --review-dir out/review --sha "$SOURCE_SHA" --run-id "$ACTIONS_RUN_ID" --attempt "$ACTIONS_ATTEMPT" --mode fixture --output out/review-bundle.zip
python3 -m reviewer.prepare_runtime --dest out/runtime --model-dir /private-model
python3 ci/run_live_review.py
python3 ci/final_project.py bundle --review-dir out/review --sha "$SOURCE_SHA" --run-id "$ACTIONS_RUN_ID" --attempt "$ACTIONS_ATTEMPT" --mode live --output out/review-bundle.zip
- name: Publish ready bundle for this exact run and attempt
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
with:
@@ -37,3 +41,13 @@ jobs:
path: out/review-bundle.zip
if-no-files-found: error
retention-days: 14
- name: Preserve raw model and resource evidence
if: always()
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
with:
name: live-evidence-${{ github.run_id }}-${{ github.sha }}
path: |
out/review
out/resource.json
if-no-files-found: warn
retention-days: 30