feat(reports): default health share links to timed expiry - #2150
Conversation
Web and mobile share buttons now send expiresInDays (7/30/90, default 7) so new links are time-limited, and success/share copy surfaces the server-returned expiresAt. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
Warning Review limit reached
Next review available in: 4 seconds 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
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 |
|
Tracking issue: #2055 |
Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
PR Summary by QodoDefault health-report share links to 7-day expiry (web + mobile)
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Mobile PreviewScan to open on device:
To test on device:
|
|
Storybook previews for This comment updates automatically on each PR push. |
Code Review by Qodo
Context used✅ Compliance rules (platform):
183 rules✅ Skills:
fix-provider, write-tests, cloudflare 1.
|
Centralize 7/30/90 share durations in dofek-server/health-report-share-expiry and scope web radio name/ids per instance so multiple share buttons stay independent. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
Give Stryker a related unit test for the shared client duration constants so mutation runs do not exit with no tests executed. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
Summary
expiresInDaysis sent tohealthReport.generate; success copy (web) and the native share message (mobile) include the server-returnedexpiresAt.Test plan
nullexpiresInDays(clients always send a duration).Summary by cubic
Defaulted health-report share links to timed expiry. Web and mobile now create links that expire after 7 days by default, with a user choice of 7/30/90 days and clear expiry messaging.
expiresInDays(7/30/90; default 7) tohealthReport.generate.formatDateMediumfrom@dofek/format; mobile share message adds an “Expires {date}” line.dofek-server/health-report-share-expiry; web radio name/ids are unique per instance so multiple buttons stay independent.docs/health-report-sharing.md; permanent links remain API-only by omitting/nullexpiresInDays(clients always send a duration).Written for commit 74f5164. Summary will update on new commits.