Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/reusable-agents-verifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ jobs:
if: steps.context.outputs.should_run == 'true' && inputs.mode != 'evaluate'
run: |
set -euo pipefail
npm install -g "@openai/codex@0.101.0"
npm install -g "@openai/codex@0.125.0"
echo "Installed Codex CLI version: $(codex --version)" >> "$GITHUB_STEP_SUMMARY"

- name: Resolve Codex verifier model
Expand Down
6 changes: 1 addition & 5 deletions scripts/repo_review_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,7 @@ def write_packet(output_dir: Path, states: list[dict[str, Any]], generated_on: s
review_pending = [
state for state in active if state["review_status"] == "pending standardized review"
]
blocked = [
state
for state in active
if state["review_status"] != "pending standardized review"
]
blocked = [state for state in active if state["review_status"] != "pending standardized review"]
issue_candidate_repos = [
state for state in active if state["issue_queue_status"] == "draft candidates present"
]
Expand Down
8 changes: 6 additions & 2 deletions tests/scripts/test_repo_review_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ def test_collect_repo_state_marks_clean_active_repo_review_pending(tmp_path: Pat
(repo_dir / "README.md").write_text("# Manager\n", encoding="utf-8")
subprocess = evaluator.subprocess
subprocess.run(["git", "-C", str(repo_dir), "init"], check=True, capture_output=True)
subprocess.run(["git", "-C", str(repo_dir), "config", "user.email", "test@example.com"], check=True)
subprocess.run(
["git", "-C", str(repo_dir), "config", "user.email", "test@example.com"], check=True
)
subprocess.run(["git", "-C", str(repo_dir), "config", "user.name", "Test User"], check=True)
subprocess.run(["git", "-C", str(repo_dir), "add", "README.md"], check=True)
subprocess.run(
Expand Down Expand Up @@ -223,7 +225,9 @@ def test_issues_txt_changes_are_helper_inputs_not_review_blockers(tmp_path: Path
(repo_dir / "Issues.txt").write_text("# helper\n", encoding="utf-8")
subprocess = evaluator.subprocess
subprocess.run(["git", "-C", str(repo_dir), "init"], check=True, capture_output=True)
subprocess.run(["git", "-C", str(repo_dir), "config", "user.email", "test@example.com"], check=True)
subprocess.run(
["git", "-C", str(repo_dir), "config", "user.email", "test@example.com"], check=True
)
subprocess.run(["git", "-C", str(repo_dir), "config", "user.name", "Test User"], check=True)
subprocess.run(["git", "-C", str(repo_dir), "add", "README.md", "Issues.txt"], check=True)
subprocess.run(
Expand Down
2 changes: 2 additions & 0 deletions tests/workflows/test_verifier_terminal_disposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def test_reusable_verifier_uploads_terminal_disposition_artifact() -> None:
resolve_step = next(
step for step in steps if step.get("name") == "Resolve Codex verifier model"
)
install_step = next(step for step in steps if step.get("name") == "Install Codex CLI")
run_step = next(step for step in steps if step.get("name") == "Run verifier (checkbox mode)")
collect_step = next(step for step in steps if step.get("name") == "Collect verifier metrics")
write_step = next(
Expand All @@ -30,6 +31,7 @@ def test_reusable_verifier_uploads_terminal_disposition_artifact() -> None:
resolve_step.get("if")
== "steps.context.outputs.should_run == 'true' && inputs.mode != 'evaluate'"
)
assert 'npm install -g "@openai/codex@0.125.0"' in install_step["run"]
assert resolve_step["env"]["DEFAULT_CODEX_MODEL"] == "gpt-5.5"
assert resolve_step["env"]["FALLBACK_CODEX_MODELS"] == "gpt-5.4 gpt-5.3-codex"
assert resolve_step["env"]["VERIFIER_MODE"] == "${{ inputs.mode }}"
Expand Down
Loading