← Back to Pull requests

fix(coderabbit): drop unsupported timeout_ms from .coderabbit.yaml #6993

Closed
unknown closed this pull request without merging on Nov 22, 2026 15:03 UTC
View on GitHub
unknown unknown commented on Nov 22, 2026 10:39 UTC
Author

##### What this PR does / why we need it:

Removes timeout_ms: 90000 from reviews.tools.github-checks in .coderabbit.yaml.

The published CodeRabbit schema (https://coderabbit.ai/integrations/schema.v2.json, the file our check-jsonschema hook validates against) declares additionalProperties: false for that node and lists only enabled. The extra key therefore fails the hook:

.coderabbit.yaml::$.reviews.tools['github-checks']:
  Additional properties are not allowed ('timeout_ms' was unexpected)

Impact: the Pre-commit Policy Checks workflow has been failing on every PR since the upstream schema tightened on 2026-11-21 — the last green policy-hooks run on any branch is 2026-11-20, and an unrelated branch (cbt-full-backup-push-restore) fails with the identical message. pre-commit.ci skips this hook (ci: skip), so only the GitHub Actions job reports it, which is why it went unnoticed for a while.

The key was added in July 2026 (86787ce3d). No behaviour is lost: CodeRabbit's tools reference documents no timeout option for github-checks, so an unknown key was only invalidating the file.

##### Which issue(s) this PR fixes:

None — repo hygiene found while running the policy hooks on #6960.

##### Special notes for reviewer:

Verified: uvx pre-commit run --files .coderabbit.yaml now passes, including Validate .coderabbit.yaml against schema, and every other hook on the file is green.

If a non-default timeout for GitHub-checks ingestion is actually needed, it has to be configured in the CodeRabbit dashboard or upstream schema — it cannot be expressed in .coderabbit.yaml today. That is a product decision, not a config typo, so please say so in review if the intent of 86787ce3d was behavioural rather than incidental.

This PR only touches .coderabbit.yaml; it does not carry the scripts/tests_analyzer changes from #6960.

##### jira-ticket:

NONE

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

<!-- coderabbit-ai-generated:v1 -->

Summary by CodeRabbit

Chores
Updated automated check configuration. Checks remain enabled, and the custom timeout setting has been removed. This maintenance change does not alter user-facing functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 290 lines (+217 / -73) across 3 files Reviewer: yossisegev Review duration: 263m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 290 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.339
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6993"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.9% (MEDIUM) · Higher = larger blast radius
39.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 15.7% · Safe to merge
15.7%