Use compatible pinned model image and demonstrate syntax repair for #24
myfileagent-python-ci/pipeline/head This commit looks good
Final project review (live) / review (push) Successful in 1m17s

This commit is contained in:
Codex
2026-11-27 19:15:48 +00:00
parent 0311260ddf
commit c735c8c693
13 changed files with 598 additions and 5 deletions
+2 -2
View File
@@ -24,11 +24,11 @@ env = os.environ.copy()
env.update(REVIEWER_MODEL_PATH=str(private),
REVIEWER_LLAMA_COMPLETION=str(runtime/f"llama-{lock['runtime_tag']}"/lock['entrypoint']),
LD_LIBRARY_PATH=str(library.parent)+':'+str(runtime/f"llama-{lock['runtime_tag']}"))
result = subprocess.run([sys.executable,'-m','reviewer','--input','tests/fixtures/demo_broken.py',
result = subprocess.run([sys.executable,'-m','reviewer','--input','demo/demo.py',
'--source-commit',env['SOURCE_SHA'],'--out-dir','out/review'],cwd=root,env=env)
peak = int((cgroup/'memory.peak').read_text())
events = {k:int(v) for k,v in (line.split() for line in (cgroup/'memory.events').read_text().splitlines())}
measurement = dict(scope='actual Actions job including runtime preparation, reviewer and private tmpfs model',
measurement = dict(scope='job cgroup including preparation, reviewer and private tmpfs model',
requested_memory_limit_bytes=250000000,memory_limit_bytes=limit,memory_peak_bytes=peak,memory_events=events,
swap_limit_bytes=0,reviewer_exit_code=result.returncode)
Path('out').mkdir(exist_ok=True)