Repository navigation
Assert the Fallback Fetch URL in hub-fetch-run.py's Tests - #2352
Conversation
Each fallback subtest now checks the last fetched URL ends with /main/ and the prose gate path. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Adds regression coverage to ensure fallback fetches use the main ref and correct prose gate path.
Changes:
- Clears recorded requests per fallback case.
- Verifies the final fallback URL.
| File | Description |
|---|---|
tests/test_hub_fetch_run.py |
Adds fallback URL assertions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2352 +/- ##
========================================
Coverage 57.70% 57.70%
========================================
Files 16 16
Lines 7919 7919
========================================
Hits 4570 4570
Misses 3349 3349
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…nd Review Digest Tolerance (#2360) ## Summary Promotes `develop` to `main` with four pull requests, each already reviewed and merged into `develop`: - [#2352](#2352) asserts that `hub-fetch-run.py`'s fallback fetch uses the `main` path. - [#2355](#2355) tolerates a per-field `workflowRun` error in `pr_review.py`, keying unreadable Actions runs per suite so no failure is hidden. - [#2356](#2356) reads the `comments` label live in the validate task's lint job rather than off the event payload, on public repositories, with private repositories following in #2354. - [#2359](#2359) reads composite-action files through PyYAML under `uvx`, in isolated mode, where PyYAML is not importable, replacing the unprovisioned `yq` fallback. Closes #2339 Closes #2338 Closes #1703 Closes #2348 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
Each fallback subtest in
tests/test_hub_fetch_run.pynow asserts the last fetched URL ends with/main/followed by the prose gate path. A mutation that fetches from an unresolved ref now fails every fallback subtest.Addresses #2339
🤖 Generated with Claude Code