Repository navigation
test(roster): pin the clock in the give-away test so it stops failing every run - #3541
Conversation
The give-away sheet reads the real clock, and the fixture shift (Thu 15 Oct, 09:00 Perth) counts as urgent inside 24 hours, which swaps "Offer to 1 person" for "I can't make it". The test passed only while the real date was more than a day before the shift. From 09:00 Perth on 14 Oct 2026 it failed on every run, turning Unit coverage red on main and on every PR. Date is now pinned to two days before the shift for that one test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015r3N1AdnrkQEPgiP4DuJdN
|
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 5 minutes. View limit details
Comment |
🏁 CodeAnt Quality Gate ResultsCommit: ✅ Overall Status: PASSEDQuality Gate Details
|
Code Review ✅ Approved🟢 Low risk · Pins the clock only in one roster UI test, stabilizing its fixture timing without changing product behavior. Pins 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 7 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |
Merging this PR will not alter performance
|
🤖 CodeAnt AI — Review Status
|
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.
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
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. |
|
Claude encountered an error after 2s —— View job I'll analyze this and get back to you. |
PR Summary by QodoPin the clock in the roster give-away test
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
CodeAnt PR Risk: Low Risk
Assessed commit: |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can switch off images and animations for a plain-text comment |
Qodo FixerNo findings are available for this PR yet. Findings appear here once Qodo has reviewed the PR. |
User description
Summary
tests/roster-team-calendar-manager.dom.test.tsx("reads requests, manage and the roster again after a give-away is sent") started failing on every run from 09:00 Perth on 14 Oct 2026 (about 01:00 UTC). It turnedUnit coveragered on any new CI run, including CI: let only main's tip run open or close the pinned main-failure issue #3539 and Chore(deps): bump the npm-production group with 8 updates #3471.Dateto two days before the shift for that one test. Test-only change; no product code touched.Areas touched: Delivery and assurance
RAG impact: no retrieval behaviour change — one roster UI test
Verification
npx vitest run tests/roster-team-calendar-manager.dom.test.tsxgave 36 passed (twice). Before the change the same command failed onmainat 6f3712c with "Unable to find role=button and name /^Offer to 1 person/". Prettier check clean.Risk and rollout
Notes
main) forUnit coverageto go green again.🤖 Generated with Claude Code
https://claude.ai/code/session_015r3N1AdnrkQEPgiP4DuJdN
Generated by Claude Code
Summary by cubic
Pins the clock in the roster give-away test so it stops failing on every CI run once the fixture shift falls within 24 hours.
Dateto two days before the shift for that one test; no product code touched.Written for commit 80b2c9e. Summary will update on new commits.
CodeAnt-AI Description
Keep roster give-away coverage stable across run dates
What Changed
Impact
✅ Fewer date-dependent roster test failures✅ Stable unit coverage across run dates💡 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.