qa: summarize support preflight readiness - #522
Conversation
|
Warning Review limit reached
More reviews will be available in 28 minutes and 8 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds agent-based auth readiness checks and consolidates readiness assessment into preflight reports. Two new functions compute whether agents are auth-ready and whether the overall system is ready to run personas, exposing a redacted readiness object in JSON and Markdown report outputs. ChangesAgent Readiness Computation and Reporting
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@qa/support_vm_preflight.py`:
- Around line 617-618: lane_auth_ready currently treats Claude as authenticated
based solely on tools["claude"].get("available") (set by which/--version) so
player_agent_auth_ready can be True without credentials; update lane_auth_ready
(and/or inspect_tools) to also verify actual auth by checking the expected
Claude/Anthropic credential sources (e.g., presence/values of ANTHROPIC_* or
CLAWDND_* env vars from env_snapshot or a credentials file) or by performing a
lightweight authenticated probe, and return True only if both the CLI is
available and credentials are present/valid; reference functions/keys:
lane_auth_ready, inspect_tools, env_snapshot, tools["claude"].get("available"),
and player_agent_auth_ready when implementing this change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d3e85028-9505-4623-b3f9-3770c1faabcd
📒 Files selected for processing (2)
qa/support_vm_preflight.pyqa/test_support_vm_preflight.py
Summary
readinessobject to the support preflight artifactrelease_verdict=false; this is still a preflight, not RRI evidenceValidation
python3 -m pytest qa/test_support_vm_preflight.py -qpython3 -m py_compile qa/support_vm_preflight.pygit diff --checkSafety
Summary by CodeRabbit
Release Notes