Repository navigation
Sources test: pin which medicine source links show, not just how many - #3568
Conversation
The source-catalogue test only checked that three medicine source links exist, so a wrong link could swap in for a right one and still pass. It now names each link: the WA clozapine guideline on the clozapine page, and the Australian Prescriber lithium article and its correction on the lithium page. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F8eTG5dvhsjc2x2ZYnY4YT
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reachedYour organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Next included review available in 54 minutes. View limit details
Comment |
🏁 CodeAnt Quality Gate ResultsCommit: ✅ Overall Status: PASSEDQuality Gate Details
|
There was a problem hiding this comment.
BigSimmo has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
🤖 CodeAnt AI — Review Status
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Claude encountered an error after 2s —— View job I'll analyze this and get back to you. |
Code Review ✅ Approved🟢 Low risk · The change only strengthens a source-catalogue test by pinning expected links; it does not alter runtime behavior or reader-facing content. Test-only change pins the source-catalogue assertions to specific medicine source links: the WA clozapine guideline on the clozapine page, and the Australian Prescriber lithium article and its correction on the lithium page. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Approved For more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Important Your trial ends in 5 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |
PR Summary by QodoPin medicine source links in catalogue provider test
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Qodo FixerNo findings are available for this PR yet. Findings appear here once Qodo has reviewed the PR. |
There was a problem hiding this comment.
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Strengthens the source-catalogue test to assert the exact expected medicine source links instead of only checking the count; test-only change with no runtime behavior impact.
View guided diff | Turn on auto-fix | Re-trigger cubic
Code Review by Qodo
No findings for this group No findings for this group No findings for this group Resolved findings 1.
|
CodeAnt PR Risk: Low Risk
Assessed commit: |
User description
Summary
tests/source-catalogue-providers.test.ts:219). It is test-only, so nothing a reader sees changes.Areas touched: Clinical reference content
Verification
npx vitest run tests/source-catalogue-providers.test.tsgave "Tests 13 passed (13)".eslinton the file was clean, andtsc --noEmitreported 0 errors.Risk and rollout
Notes
ps-diff-src-au-ausprescr-lithium-2020record, though I flagged it on clinical: complete ready clinical sign-offs across Act sections, sources, specifiers, therapies, and Today rules #3562. Putting it back makescheck:source-acquisitionsfail. That record shares its URL with the adopted lithium article, and the mismatched metadata drops that article to D band. The correction is already its own adopted record, so nothing is lost.🤖 Generated with Claude Code
https://claude.ai/code/session_01F8eTG5dvhsjc2x2ZYnY4YT
Generated by Claude Code
Summary by cubic
Pins the source-catalogue test to the exact medicine source links, so a wrong link can no longer replace a right one and still pass.
mainadds no test or content changes.Written for commit ff94b1d. Summary will update on new commits.
CodeAnt-AI Description
Verify exact medicine source links in catalogue tests
What Changed
Impact
✅ Catches incorrect or swapped medicine source links✅ Confirms the expected clozapine and lithium references💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.