Skip to content

ci(review): enroll RobotOverview in fleet PR review panel - #254

Open
Coldaine wants to merge 1 commit into
mainfrom
chore/enroll-pr-review
Open

ci(review): enroll RobotOverview in fleet PR review panel#254
Coldaine wants to merge 1 commit into
mainfrom
chore/enroll-pr-review

Conversation

@Coldaine

@Coldaine Coldaine commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

User description

Replaces legacy drifting cold-review and letta-review workflows with unified 15-line fleet caller workflow.


CodeAnt-AI Description

Unify pull request reviews through the fleet review service

What Changed

  • Pull requests now use one organization-managed review workflow for opened, reopened, ready-for-review, synchronized, and labeled events
  • Replaced the repository-specific Letta and OpenHands review workflows
  • Review jobs inherit organization-managed behavior, runners, models, and secrets

Impact

✅ Consistent PR reviews
✅ Fewer duplicate review runs
✅ Centralized review configuration

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented Sep 4, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 9856643 Sep 04, 2026 · 23:24 23:26

@codeant-ai

codeant-ai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:S This PR changes 10-29 lines, ignoring generated files label Sep 4, 2026
name: PR Review
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize, labeled]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: The trigger runs for every label and for reopened pull requests, unlike the documented review-this flow, causing unrelated label changes or reopen events to start review runs. [logic error]

Assessment: 🟠 Major · 🔁 Occurrence: Sometimes

Use CodeAnt Skill Fix in Cursor Fix in VSCode Claude

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** .github/workflows/pr-review.yml
**Line:** 6:6
**Comment:**
	*Logic Error: The trigger runs for every label and for reopened pull requests, unlike the documented `review-this` flow, causing unrelated label changes or reopen events to start review runs.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

checks: read
jobs:
review:
uses: MooseGooseConsulting/coldaine-codeOps/.github/workflows/fleet-pr-review.yml@main

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: The repository test still loads .github/workflows/cold-review.yml, which this replacement removes, so test_workflow_path_exists and every dependent contract test fail immediately. [api mismatch]

Assessment: 🟠 Major · 🔁 Occurrence: Often

Use CodeAnt Skill Fix in Cursor Fix in VSCode Claude

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** .github/workflows/pr-review.yml
**Line:** 14:14
**Comment:**
	*Api Mismatch: The repository test still loads `.github/workflows/cold-review.yml`, which this replacement removes, so `test_workflow_path_exists` and every dependent contract test fail immediately.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9856643c7d

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

checks: read
jobs:
review:
uses: MooseGooseConsulting/coldaine-codeOps/.github/workflows/fleet-pr-review.yml@main

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the CI-tools checks for the replacement workflow

Migrating the review entry point without updating .github/workflows/ci-tools-tests.yml or tools/ci/test_cold_review_workflow.py leaves the CI-tools suite permanently broken: this PR triggers that workflow because it deletes the path still listed in its filter, test_workflow_path_exists fails because cold-review.yml is gone, and the actionlint-cold-review job also invokes actionlint on that deleted file. Future changes under tools/ci/** will hit the same failures, while changes to the new pr-review.yml are not included in the filter.

Useful? React with 👍 / 👎.

Comment on lines +1 to +2
# Installed by coldaine-codeOps fleet control plane (fleet/fleet.py enroll).
# Do not edit here: behaviour, model, runner and secrets are org-level.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Retire the obsolete per-repository setup guide

Because this replacement moves behavior and secrets to the organization-level fleet workflow, docs/openhands-cold-review.md is now misleading: it says the deleted .github/workflows/cold-review.yml is active and directs operators to create and install a near-blanket-permission GitHub App plus obsolete repository environment secrets. Following that guide after this migration provisions unnecessary privileged credentials without configuring the new review path, so the guide should be removed or rewritten as part of the migration.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T23:28:07.215183Z 9856643 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.

@kilo-code-bot

kilo-code-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

Code Review Summary

Status: 4 Issues Found (verified) | Recommendation: Changes requested — incomplete migration cleanup

Model: kilocodex/poolside/laguna-s-2.1:free

Overview

Severity Count Status
CRITICAL 2 Already flagged by others, verified
WARNING 1 Already flagged by others, verified
SUGGESTION 1 Not yet flagged — .github/actionlint.yaml

Key finding: All issues on changed lines are already covered by the 4 existing inline comments (from codeant-ai[bot] and chatgpt-codex-connector[bot]). I verified each one against the current codebase and confirmed they are all valid. The PR removes two workflow files but does not clean up the 4 pre-existing files that reference them, leaving CI broken on merge.

Verified Existing Findings

  1. Line 6 — trigger types without local safety guards (codeant-ai, verified): The new workflow trigger [opened, ready_for_review, reopened, synchronize, labeled] lacks the if conditions the old cold-review.yml had: draft == false, head.repo.full_name == github.repository, and label.name == 'review-this'. Behavior is delegated to the external fleet workflow (MooseGooseConsulting/coldaine-codeOps/.github/workflows/fleet-pr-review.yml@main), which I could not inspect from this repo. If that workflow does not replicate these guards, fork PRs, draft PRs, and arbitrary label events will trigger review runs.

  2. Line 14 — test contract breakage (codeant-ai, verified): tools/ci/test_cold_review_workflow.py line 17 hard-codes the path to the now-deleted cold-review.yml. test_workflow_path_exists() (line 31) asserts the file exists; all 5 tests in that file will fail on merge.

  3. Line 14 — CI-tools workflow breakage (codex P1, verified): .github/workflows/ci-tools-tests.yml references .github/workflows/cold-review.yml in its paths filter (lines 29, 52) and its actionlint-cold-review job (lines 75–85) lints the deleted file. The actionlint job will fail, and future changes to pr-review.yml will not trigger the test suite since that file is absent from the paths filter.

  4. Line 2 — stale operator documentation (codex P2, verified): docs/openhands-cold-review.md documents the deleted workflow's GitHub App setup, environment secrets, and review-this label flow. This is now misleading since behavior has moved to the org-level fleet workflow.

Additional Finding (not yet flagged)

  1. .github/actionlint.yaml — stale config reference (SUGGESTION): Line 2 references cold-review.yml in a comment and line 7 declares OPENHANDS_COLD_REVIEW_APP_ID as a config variable for actionlint. Since cold-review.yml is deleted, this variable is unused. Not a changed file, but should be cleaned up alongside the other references.

Recommendation

Do not merge until the migration cleanup is complete: delete or rewrite tools/ci/test_cold_review_workflow.py and its references in .github/workflows/ci-tools-tests.yml, remove docs/openhands-cold-review.md, and prune .github/actionlint.yaml's stale references.

Files Reviewed (3 files)
  • .github/workflows/pr-review.yml — new file, 2 findings (both pre-existing in comments)
  • .github/workflows/cold-review.yml — deleted
  • .github/workflows/letta-review.yml — deleted
Affected Unchanged Files (verified, not changed by this PR)
  • tools/ci/test_cold_review_workflow.py — breaks on merge
  • .github/workflows/ci-tools-tests.yml — breaks on merge
  • .github/actionlint.yaml — stale reference
  • docs/openhands-cold-review.md — stale documentation

Fix these issues in Kilo Cloud


Reviewed by laguna-s-2.1:free · Input: 287K · Output: 27.9K · Cached: 309.6K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant