Skip to content

ci(review): one review workflow and budget script for every repository - #980

Merged
cdeust merged 1 commit into
mainfrom
ci/generic-review-workflow
Nov 10, 2026
Merged

cdeust merged 1 commit into
mainfrom
ci/generic-review-workflow

Conversation

@cdeust

@cdeust cdeust commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

Owner direction 2026-11-10: the CI of every repository must be identical to Cortex's. Three things kept the other repositories from holding Cortex's claude-review.yml and scripts/ci_review_budget.py byte for byte. This pull request removes them, so the two files can be copied unchanged into every repository.

  • Private repositories. ci-autonome is private and carries an Authorize pinned action fetch step Cortex lacked (the pinned action fetches the PR head before its own git auth; run 42785671958 of ci-autonome failed with could not read Username). The step is now here, with if: github.event.repository.private, so it does not run on Cortex.
  • Reviewer count. The prompt said "Complete all five reviews"; architect-os runs three. It now says "Complete every review /review-pr lists".
  • Output path. claude-mods' copy of the budget script refuses a GITHUB_OUTPUT outside RUNNER_TEMP (CodeQL py/path-injection). output_file() is taken from it.

No issue is linked.

This pull request cannot be reviewed by the review workflow

The review action skips a branch whose claude-review.yml differs from the default branch's, and its run still ends success with no verdict. This branch edits that file, so no verdict will ever be posted on it. The owner asked for these pull requests to be merged without review once CI is green.

Type of change

  • Refactor (no functional change on this repository: the new step does not run on a public repository)

Test plan

  • pytest tests_py/scripts: 1951 passed, 15 skipped. tests_py/scripts/test_ci_mutation_scope.py was deselected: it shells out to uv run, which syncs torch, and this environment cannot download it.
  • New test test_the_output_file_must_sit_inside_the_runner_temp; the two CLI tests now set RUNNER_TEMP.
  • ruff check, ruff format --check (0.17.3) on the changed Python files and python scripts/check_craftsmanship.py: clean.
  • Not verified: the new step on a private repository. It is the step ci-autonome already runs, moved under a condition; the condition itself has not run anywhere yet.

Reviewer checklist

  • CHANGELOG.md updated (Changed).
  • No secrets / credentials / PII in the diff.

Generated by Claude Code

Three things kept the other repositories from holding Cortex's claude-review.yml and ci_review_budget.py byte for byte: ci-autonome is private and needs the pinned action's fetch authorized, architect-os runs three reviewers where the prompt said five, and claude-mods refuses a GITHUB_OUTPUT outside RUNNER_TEMP. The fetch step is now here and runs only on a private repository, the prompt names no count, and the output check is taken from claude-mods.

Tests: tests_py/scripts 1951 passed, 15 skipped (test_ci_mutation_scope deselected: it shells out to uv run, which needs torch and this environment cannot download it); ruff and the craftsmanship gate pass.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYrKg46KKYpvLPXcW4M
Signed-off-by: Claude <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T21:18:26.700669Z a00df86 PR opened
🔒 Security Review ✅ Completed 2026-11-10T21:21:54.031640Z a00df86 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cdeust
cdeust merged commit 637f6aa into main Nov 10, 2026
18 checks passed
@cdeust
cdeust deleted the ci/generic-review-workflow branch November 10, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants