Skip to content

feat: Week 11 remote gitcord.yaml org config - #42

Merged
shubham5080 merged 1 commit into
mainfrom
feat/remote-gitcord-yaml
Aug 4, 2026
Merged

feat: Week 11 remote gitcord.yaml org config#42
shubham5080 merged 1 commit into
mainfrom
feat/remote-gitcord-yaml

Conversation

@shubham5080

@shubham5080 shubham5080 commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Load non-secret org settings from org/.github/gitcord.yaml via the GitHub Contents API on startup.
  • Thin local bootstrap keeps runtime.data_dir, remote_config.*, and ${TOKEN} placeholders; secrets stay in .env.
  • Cache successful fetches under data_dir/remote_config_cache.yaml and fall back if GitHub is down.
  • Docs + AOSSIE/SN example remote YAML and bootstrap templates.
  • remote_config.enabled: false / missing keeps today’s local-only path.

Already cut over on the live AOSSIE + Stability Nexus stacks (published org files + thin bootstraps).

Test plan

  • pytest tests/test_remote_config.py tests/test_config.py
  • Confirm GitHub Actions Python Tests green
  • Optional: with remote_config.enabled: true, bot starts and logs remote source / writes cache
  • With GitHub unreachable and a cache present, bot still starts (warning)
  • With remote_config missing, existing local YAML configs still load

Made with Cursor

Mentors can edit channel maps and repos on GitHub instead of the VPS.
Local bootstrap keeps only data_dir, remote_config pointer, and token
placeholders; successful fetches are cached for offline restart.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@shubham5080, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 16 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 84ced61f-5e87-4c4f-bda9-fda8ed2785bc

📥 Commits

Reviewing files that changed from the base of the PR and between 9804df0 and 9693b05.

📒 Files selected for processing (12)
  • INSTALLATION.md
  • config/docker-example.yaml
  • config/examples/bootstrap-remote-aossie.yaml
  • config/examples/bootstrap-remote-stability-nexus.yaml
  • config/examples/remote-gitcord-aossie.yaml
  • config/examples/remote-gitcord-stability-nexus.yaml
  • docs/DOCKER.md
  • environment_variables.md
  • src/ghdcbot/config/loader.py
  • src/ghdcbot/config/models.py
  • src/ghdcbot/config/remote.py
  • tests/test_remote_config.py

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shubham5080
shubham5080 merged commit 3b09fa8 into main Aug 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant