fix(codex): disable unused codex_app.github connector#411
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: ProverCoderAI#410
|
Warning Review limit reached
More reviews will be available in 11 minutes and 13 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughВ файл ChangesОбновление .gitkeep
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 2 warnings)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 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 @.gitkeep:
- Line 1: The .gitkeep file contains an auto-generated comment with a timestamp
which creates unnecessary noise in diffs and serves no functional purpose.
Remove all content from the .gitkeep file to make it completely empty, following
the standard .gitkeep convention where the file exists solely to preserve the
directory in version control.
🪄 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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: b0097990-d574-42f0-9aa2-971f647510d0
📒 Files selected for processing (1)
.gitkeep
📜 Review details
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (17)
- GitHub Check: E2E (Runtime volumes + SSH)
- GitHub Check: E2E (Clone auto-open SSH)
- GitHub Check: E2E (Local package CLI)
- GitHub Check: E2E (Login context)
- GitHub Check: E2E (Clone cache)
- GitHub Check: Test
- GitHub Check: Dist deps prune
- GitHub Check: Types
- GitHub Check: Build
- GitHub Check: Lint
- GitHub Check: E2E (OpenCode)
- GitHub Check: E2E (Browser command)
- GitHub Check: Final build (macos-latest)
- GitHub Check: Snapshot
- GitHub Check: Final build (windows-latest)
- GitHub Check: Final build (ubuntu-latest)
- GitHub Check: dist-deps-prune
🧰 Additional context used
📓 Path-based instructions (1)
**/{.git*,config*,*.sh,docker-compose*}
📄 CodeRabbit inference engine (README.md)
Use git credential helper to automatically select correct token by host for HTTPS clone/push operations
Files:
.gitkeep
Set [apps.github] enabled = false in the managed Codex config so the built-in codex_app.github connector is turned off. It is redundant inside docker-git containers (repo clone + synced GitHub token + managed git wrapper already provide GitHub access) and only adds noise. Applied to both the defaultCodexConfig used by auth sync and the entrypoint heredoc, with matching app-package mirrors and a test. Fixes ProverCoderAI#410
Working session summaryAll CI checks pass (Test, Build, Types, Lint Effect-TS, all E2E). The only failure is CodeRabbit, which is an unrelated billing issue ( SummaryIssue #410 (ProverCoderAI/docker-git#410) asked for a way to disable the useless built-in Root cause: docker-git's managed Codex Fix: Per the Codex config reference, a specific connector is disabled with [apps.github]
# docker-git: disable the unused codex_app.github connector (issue #410)
enabled = falseThis keeps the rest of the
Tests: Extended PR: #411 (ready for review) This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:Claude Opus 4.8:
Total: (4.7K new + 121.5K cache writes + 3.5M cache reads) input tokens, 20.9K output tokens, $3.073249 cost Claude Haiku 4.5:
Total: 67.9K input tokens, 1.3K output tokens, $0.084593 cost 🤖 Models used:
📎 Log file uploaded as Gist (1754KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
🔄 Auto-restart triggered (iteration 1)Reason: CI failures detected Starting new session to address the issues. Auto-restart-until-mergeable mode is active. This run will stop after 5 restart iterations. |
|
Addressed the CodeRabbit nitpick: removed the stray All functional CI checks are green (Build, Lint, Types, Test, all E2E suites, Final builds). The remaining CodeRabbit check fails with
|
🔄 Auto-restart-until-mergeable Log (iteration 1)This log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (3.6K new + 26.3K cache writes + 796.7K cache reads) input tokens, 6.5K output tokens, $0.742505 cost 🤖 Models used:
📎 Log file uploaded as Gist (2556KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
🔄 Auto-restart triggered (iteration 2)Reason: CI failures detected Starting new session to address the issues. Auto-restart-until-mergeable mode is active. This run will stop after 5 restart iterations. |
Working session summaryEverything is in order. Here's my assessment: SummaryThe code fix for issue #410 is complete, consistent, and verified:
About the failing CodeRabbit checkThe only failing check is CodeRabbit, and its failure reason is:
This is a billing/account-level issue on the CodeRabbit side, not a code defect — no code change can make a credit-exhausted external review service pass. Every other CI check passes (Build, Lint, Types, Test, Snapshot, all E2E jobs, Final builds across macOS/Linux/Windows, dist-deps-prune). The one actionable CodeRabbit review comment — the What can't be fixed from hereThe CodeRabbit "fail" status will only clear once the repository owner re-enables CodeRabbit credits / the review add-on, after which a re-review can run. That action requires account/billing access I don't have. The substantive requirements of the issue and the review feedback are all satisfied. No further code changes are needed. The PR (#411) is functionally complete and all controllable CI checks are green. This summary was automatically extracted from the AI working session output. |
🔄 Auto-restart-until-mergeable Log (iteration 2)This log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (3.0K new + 18.5K cache writes + 169.2K cache reads) input tokens, 3.5K output tokens, $0.303011 cost 🤖 Models used:
📎 Log file uploaded as Gist (2972KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
🔄 Auto-restart triggered (iteration 3)Reason: CI failures detected Starting new session to address the issues. Auto-restart-until-mergeable mode is active. This run will stop after 5 restart iterations. |
|
@coderabbitai review The current diff implements the actual fix for #410: it disables the unused |
|
✅ Action performedReview finished.
|
Status updateRe-triggered a fresh CodeRabbit review against the latest commit ( Verification of the substantive fix for #410
All other CI checks (Build, Lint, Lint Effect-TS, Types, Test, Snapshot, all E2E suites, Final builds on macOS/Linux/Windows, dist-deps-prune) are green. |
🔄 Auto-restart-until-mergeable Log (iteration 3)This log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (3.1K new + 32.1K cache writes + 704.2K cache reads) input tokens, 8.8K output tokens, $0.787561 cost 🤖 Models used:
📎 Log file uploaded as Gist (3679KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
🔄 Auto-restart triggered (iteration 4)Reason: CI failures detected Starting new session to address the issues. Auto-restart-until-mergeable mode is active. This run will stop after 5 restart iterations. |
Working session summaryEverything is verified and complete. Here's my assessment: Status: Code is complete and correct; the failing check is non-actionableThe fix for issue #410 disables the unused
Plus a regression test in Branch state:
CI status — only CodeRabbit fails: Every functional check passes: Build, Lint, Lint Effect-TS, Types, Test, Snapshot, all E2E suites, and Final builds on macOS/Ubuntu/Windows. Why this can't be "fixed" by meThe There is no further code action available. The PR is functionally complete and ready to merge; the only blocker is an external billing condition outside the repository's code. This summary was automatically extracted from the AI working session output. |
🔄 Auto-restart-until-mergeable Log (iteration 4)This log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (3.0K new + 11.5K cache writes + 218.1K cache reads) input tokens, 4.2K output tokens, $0.301850 cost 🤖 Models used:
📎 Log file uploaded as Gist (4203KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
🔄 Auto-restart triggered (iteration 5)Reason: CI failures detected Starting new session to address the issues. Auto-restart-until-mergeable mode is active. This run will stop after 5 restart iterations. |
|
@coderabbitai review The earlier review reflected only the initial |
|
✅ Action performedReview finished.
|
CI status updateAll functional CI checks pass (Build, Lint, Types, Test — 292 lib tests, all E2E suites, Final builds on macOS/Ubuntu/Windows). The only remaining red check is CodeRabbit, which reports For the record, CodeRabbit did complete a fresh review of the full diff (including the fix commit
|
🔄 Auto-restart-until-mergeable Log (iteration 5)This log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (1.7K new + 24.1K cache writes + 887.4K cache reads) input tokens, 8.9K output tokens, $0.826714 cost 🤖 Models used:
📎 Log file uploaded as Gist (5115KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
|
Summary
Disables the unused
codex_app.githubconnector in the managed Codex config that docker-git generates for containers.Issue #410 asks for a way to turn off the built-in
codex_app.githubapp/connector. Inside docker-git it is redundant — containers already get GitHub access via the cloned repository, the synced GitHub token, and the managed git wrapper — so the connector only adds noise to Codex sessions.Root cause
The managed Codex
config.tomlenablesapps:apps = truesurfaces the built-incodex_app.githubconnector. There was no per-app override, so it was always available.Fix
Per the Codex config reference, a specific app/connector is disabled with
apps.<id>.enabled = false. The default config now adds:This keeps the rest of the
appsfeature intact and only turns off the GitHub connector.Applied consistently to every place that emits the managed config:
packages/lib/src/usecases/auth-sync-helpers.ts—defaultCodexConfig(written/refreshed by auth sync viaensureCodexConfigFile)packages/lib/src/core/templates-entrypoint/codex.ts— entrypoint heredoc (written on first container start)packages/app/src/lib/...— app-package mirrors of bothBecause
shouldRewriteDockerGitCodexConfigrewrites any docker-git‑managedconfig.tomlthat differs from the default, existing containers pick up the change automatically on the next sync.Tests
Extended
packages/lib/tests/usecases/auth-sync.test.tsto assert the generated config contains[apps.github]andenabled = false. Fullpackages/libsuite passes (292 tests).Fixes #410