Skip to content

CI: drop the Copilot backend from the AI code-review job and move it to a dedicated runner - #129463

Merged
maxknv merged 3 commits into
masterfrom
drop-copilot-review-backend
Nov 5, 2026
Merged

maxknv merged 3 commits into
masterfrom
drop-copilot-review-backend

Conversation

@maxknv

@maxknv maxknv commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Two CI cleanups to the AI code-review job:

  1. The job supported two backends selected by a flag — the OpenAI Codex CLI
    (--codex) and the GitHub Copilot CLI (--copilot). Only the Codex backend
    runs in CI, so the Copilot backend is removed: the job file is renamed
    copilot_review_job.py -> codex_review_job.py, the --codex/--copilot
    flag dispatch is dropped, and the Copilot robot-token authentication is
    removed. The remaining Codex backend reaches GitHub as the pre-authenticated
    clickhouse-gh App.

  2. The job moves off the shared arm-tiny runner onto a dedicated
    arm-small-review runner label (the workflow prepends the pr- prefix),
    so review runs get their own pool.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Workflow [PR]
Sync PR [sync-upstream/pr/129463]

Version info

  • Merged into: 26.11.1.1466-master (included in 26.11 and later)

maxknv and others added 3 commits November 5, 2026 12:25
The AI code-review job supported two backends selected by a flag: the OpenAI
Codex CLI (`--codex`) and the GitHub Copilot CLI (`--copilot`). Only the Codex
backend is used in CI, so the Copilot backend is removed.

Dropping Copilot also removes the only use of the Copilot robot GitHub tokens
and the `gh auth login --with-token` robot rotation; the Codex backend reaches
GitHub as the pre-authenticated `clickhouse-gh` App.

The job file is renamed `copilot_review_job.py` -> `codex_review_job.py` and the
now-redundant `--codex`/`--copilot` flag dispatch is removed, so the job runs a
single Codex code path.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Switch the `code_review` job from `arm-tiny` to a dedicated `arm-small-review`
runner label (the workflow prepends the `pr-` prefix) so the review job has its
own runner pool.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Generated counterpart of the `code_review` runner-label switch
(`PYTHONPATH=./ci:. python3 -m praktika yaml`).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@maxknv
maxknv force-pushed the drop-copilot-review-backend branch from c0cf0af to 1a6c3e6 Compare November 5, 2026 11:42
@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Nov 5, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [1a6c3e6]

Summary: ✅


AI Review

Summary

The PR removes the unused Copilot backend, renames the Codex review job and summary file, and assigns reviews to a dedicated runner pool. The remaining Codex execution, authentication, retry handling, and summary publication remain consistent. No actionable findings.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Nov 5, 2026
@maxknv
maxknv added this pull request to the merge queue Nov 5, 2026
Merged via the queue into master with commit eaf233c Nov 5, 2026
185 checks passed
@maxknv
maxknv deleted the drop-copilot-review-backend branch November 5, 2026 22:30
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants