Skip to content

fix: registerFallbackValue for vitals and user_profile tests#795

Merged
iberi22 merged 1 commit into
mainfrom
fix-register-fallback-vitals-user-profile-tests-12020259673478609948
Jun 21, 2026
Merged

fix: registerFallbackValue for vitals and user_profile tests#795
iberi22 merged 1 commit into
mainfrom
fix-register-fallback-vitals-user-profile-tests-12020259673478609948

Conversation

@iberi22

@iberi22 iberi22 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Fixes mocktail's registerFallbackValue requirements in several test files within the vitals and user_profile features. Adds missing registrations for List where used with any() and unifies the fake user profile naming to FakeUserProfile for better consistency.

Fixes #785


PR created automatically by Jules for task 12020259673478609948 started by @iberi22

- Add registerFallbackValue(const <VitalSign>[]) in vitals cubit and repository tests where List<VitalSign> is used with any().
- Unify naming to FakeUserProfile across user_profile tests for consistency and ensure correct registration in setUpAll.
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@iberi22, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 28 minutes and 1 second. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: be13bcfe-1ab0-419b-a98f-0ac928422899

📥 Commits

Reviewing files that changed from the base of the PR and between 8cc94b9 and 6fec1c8.

📒 Files selected for processing (7)
  • test/features/user_profile/application/bloc/user_profile_cubit_test.dart
  • test/features/user_profile/data/repositories/user_profile_repository_impl_test.dart
  • test/features/user_profile/domain/services/user_profile_service_test.dart
  • test/features/user_profile/presentation/pages/user_profile_page_test.dart
  • test/features/vitals/application/vitals_cubit_test.dart
  • test/features/vitals/infrastructure/repositories/vital_sign_repository_impl_mock_test.dart
  • test/features/vitals/infrastructure/repositories/vital_sign_repository_impl_test.dart
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-register-fallback-vitals-user-profile-tests-12020259673478609948

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request renames UserProfileFake to FakeUserProfile across several user profile test files to maintain consistent naming conventions, and registers it as a fallback value. Additionally, it registers const <VitalSign>[] as a fallback value in multiple vitals test files. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@iberi22 iberi22 marked this pull request as ready for review June 21, 2026 15:02
@iberi22 iberi22 merged commit 8df0b3f into main Jun 21, 2026
10 checks passed
@iberi22 iberi22 deleted the fix-register-fallback-vitals-user-profile-tests-12020259673478609948 branch June 21, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[test] fix: registerFallbackValue for vitals and user_profile tests

1 participant