Fix agent runner base action sparse checkout - #2745
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 46 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Workflow source neededPR #2745 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely. Please do one of:
Once a valid source is present, this warning will not be reposted. |
Automated Status SummaryHead SHA: 4c35da3
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Low Coverage Files (<50.0%)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
There was a problem hiding this comment.
Pull request overview
Ensures the reusable Codex/Claude runner workflows pre-checkout the local agent-run-base composite action using non-cone sparse checkout, matching the repo’s established sparse-checkout usage and preventing post-job failures when GitHub reloads the local action during cleanup.
Changes:
- Set
sparse-checkout-cone-mode: falseon the Workflows run-base action pre-checkout in the reusable Codex runner workflow. - Set
sparse-checkout-cone-mode: falseon the Workflows run-base action pre-checkout in the reusable Claude runner workflow. - Extend the shared runner regression test to assert the non-cone mode setting is present (and parsed as a boolean) for both workflows.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/workflows/test_reusable_run_shared_base.py | Adds a regression assertion that the run-base pre-checkout explicitly disables cone-mode sparse checkout. |
| .github/workflows/reusable-codex-run.yml | Forces non-cone sparse checkout when pre-checking out .github/actions/agent-run-base into .workflows-actions. |
| .github/workflows/reusable-claude-run.yml | Forces non-cone sparse checkout when pre-checking out .github/actions/agent-run-base into .workflows-actions. |
Summary
.github/actions/agent-run-baseRoot cause
Workflows PR #2744 failed
Keepalive next task (Codex) / Codex (keepalive)in run 29066229837/job 86278429797 after the agent run. GitHub could not reload the local action at.workflows-actions/.github/actions/agent-run-baseduring post-job cleanup. The pre-checkout was sparse-checking a nested action path withoutsparse-checkout-cone-mode: false, unlike the other local-action sparse checkouts in this repo.Validation
python -m pytest -q tests/workflows/test_reusable_run_shared_base.pypython -m pytest -q tests/scripts/test_validate_workflow_yaml.pygit diff --checkFixes keepalive runner infrastructure for #2744.