CLOUD-2092 Add PR Tests gate - #14
Conversation
Add a pr-tests.yml running the unit test suite via pytest plus a PR Tests aggregator via the shared rocketreach/github-actions/testing/pr-tests action. This repo had no PR-triggered checks previously. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 45 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. 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: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Comment |
|
Backing out: rocketreach_python is a public repo and cannot resolve the internal rocketreach/github-actions wrapper actions. Per decision, it will be added to the org standard-ruleset exclude list (exemption) instead of carrying a PR Tests gate. |
Summary
This repo (the public Python SDK) had no pull-request-triggered CI. Adds
.github/workflows/pr-tests.yml:run_python_testsjob: checks out via the RR wrapper, sets up Python (3.13 and 3.12 matrix) via the RR wrapper,pip install -e . pytest, then runs the unit tests with pytest.pr-testsaggregator job (name "PR Tests") gating on the test job viarocketreach/github-actions/testing/pr-tests.The repo uses
setup.py(not poetry), so the reference template's poetry steps were adapted to pip. There is no lint/type config in the repo (no ruff/mypy/flake8/black), so the gate runs tests only.test_integration.pytargets alocalhost:8000dev server (theDevelopmentgateway environment) that is not available on CI runners, so the pytest step runs the unit suites (test_resource.py,test_search.py) only.Test plan
pr-testsjob needsrun_python_tests).9 passed, 7 subtests passed.Generated with Claude Code