Skip to content

chore: Mark most methods in Database as internal - #3741

Merged
exaby73 merged 5 commits into
serverpod:mainfrom
exaby73:chore/mark-db-find-internal
Jul 16, 2025
Merged

exaby73 merged 5 commits into
serverpod:mainfrom
exaby73:chore/mark-db-find-internal

Conversation

@exaby73

@exaby73 exaby73 commented Jul 1, 2025 •

Copy link
Copy Markdown
Contributor

We should mark most session.db.* as internal as they are primarily used internally and users should be discouraged from using them directly

Closes #3669

Pre-launch Checklist

  • I read the Contribute page and followed the process outlined there for submitting PRs.
  • This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
  • I read and followed the Dart Style Guide and formatted the code with dart format.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
  • I added new tests to check the change I am making.
  • All existing and new tests are passing.
  • Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.

Summary by CodeRabbit

  • Style
    • Added annotations and comments to suppress warnings about internal member usage in various files.
  • Chores
    • Updated configuration files to ignore analyzer warnings related to internal member usage.
  • Refactor
    • Marked several database methods as internal API to clarify intended usage within the package.

@coderabbitai

coderabbitai Bot commented Jul 1, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The changes introduce the @internal annotation to most public methods of the Database class, signaling their intended internal use. Additionally, analyzer configurations and file-level ignore comments are updated across multiple test and configuration files to suppress warnings about the use of internal members. No functional code or logic is altered.

Changes

File(s) Change Summary
packages/serverpod/lib/src/database/database.dart Added @internal annotation to nearly all public methods of the Database class.
modules/serverpod_auth/serverpod_auth_server/analysis_options.yaml
packages/serverpod_test/analysis_options.yaml
Added analyzer configuration to ignore invalid_use_of_internal_member error.
modules/new_serverpod_auth/**/test/integration/test_tools/serverpod_test_tools.dart
modules/serverpod_auth/serverpod_auth_server/test/integration/test_tools/serverpod_test_tools.dart
Added // ignore_for_file: invalid_use_of_internal_member lint ignore directive to test files.
modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/business/auth_sessions_admin.dart Added inline ignore comment for invalid_use_of_internal_member on a specific method call.

Sequence Diagram(s)

sequenceDiagram
    participant UserCode
    participant Session
    participant Database

    UserCode->>Session: Access db
    Session->>Database: Call internal method (e.g., find, insert, delete)
    Database-->>Session: Result
    Session-->>UserCode: Result
Loading

Assessment against linked issues

Objective Addressed Explanation
Mark session.db.find() and similar methods as @internal (#3669) ✅

Assessment against linked issues: Out-of-scope changes

No out-of-scope changes were found.


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@exaby73
exaby73 force-pushed the chore/mark-db-find-internal branch from a7d64a4 to ccef2e7 Compare July 1, 2025 12:47
@exaby73

exaby73 commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 1, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Full review triggered.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (12)
packages/serverpod/lib/src/database/database.dart (1)

54-66: Docs now reference an internal API – update or move examples.

All high-level docs (e.g. examples mentioning

var myRows = await session.db.find<MyRow>();

) still encourage direct use of these methods, but they are now annotated @internal.
Consider either:

- /// var myRow = session.db.findById<MyClass>(myId);
+ /// INTERNAL – do not call from application code. Use the generated
+ /// protocol helpers instead, e.g. `MyClass.db.findById(...)`.

Or move end-user examples to a public helper layer to avoid conflicting guidance.

modules/serverpod_auth/serverpod_auth_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Redundant per-file ignore once global rule lands.

analysis_options.yaml already disables invalid_use_of_internal_member; you can remove the extra ignore here to prevent rule drift when the global setting changes.

modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Same note as above – consider dropping this local ignore.

modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Local suppression may be unnecessary.

If project-wide analysis already ignores invalid_use_of_internal_member, you can remove this line for noiseless generated diffs.

modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Duplicate ignore directive.

Same remark: drop if covered globally; keep only if you intend to re-enable the rule elsewhere.

modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Local suppression is harmless but redundant with global analysis_options.yaml ignore

Project-level analysis options already disable invalid_use_of_internal_member. Keeping the per-file directive is fine, yet it clutters every generated file without adding protection. Consider dropping it and relying on the global rule to keep headers minimal.

modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Same redundancy comment as above

This file repeats the local ignore even though the lint is globally disabled. Safe but noisy; trim if possible.

modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Redundant lint ignore

See earlier note—global suppression makes this unnecessary.

modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Redundant lint ignore

Consistent with other generated test helpers; can be removed for brevity.

modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_server/test/integration/test_tools/serverpod_test_tools.dart (1)

10-10: Redundant lint ignore

Same observation—safe but superfluous given project-wide configuration.

packages/serverpod_test/analysis_options.yaml (1)

13-15: Global lint suppression may hide legitimate API misuse

Blanket-ignoring invalid_use_of_internal_member for the whole package makes it easy for non-test code to start depending on internal APIs without being noticed.
Prefer confining the suppression to:

  1. Individual call sites (// ignore: comments), or
  2. A dedicated include: analysis_options_test.yaml that is only referenced by test targets.

This keeps accidental production usage visible.

modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/business/auth_sessions_admin.dart (1)

33-37: Raw unsafeQuery can be replaced by a safe, composable helper

Good call narrowing the lint ignore to just this line, but the direct string-built SQL:

await session.db.unsafeQuery('DELETE FROM … < \'${SerializationManager.encode(clock.now())}\'')

has a few drawbacks:
• No static checking / automatic column-name escaping
• Harder for tools to refactor or migrate
• Potential SQL-injection surface if future variables slip in un-sanitised

If deleteWhere cannot express the interval logic yet, consider adding a typed helper to Database (e.g. deleteUsingRawCondition) that still takes a parameterised condition and value list, or extend the ORM to support NOW() - INTERVAL semantics. This keeps internal use but avoids hand-rolled SQL strings.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 803fdab and ccef2e7.

⛔ Files ignored due to path filters (287)
  • examples/auth_example/auth_example_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • examples/auth_example/auth_example_client/lib/src/protocol/example.dart is excluded by !**/lib/src/protocol/**
  • examples/auth_example/auth_example_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • examples/auth_example/auth_example_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • examples/auth_example/auth_example_server/lib/src/generated/example.dart is excluded by !**/generated/**
  • examples/auth_example/auth_example_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • examples/chat/chat_client/lib/src/protocol/channel.dart is excluded by !**/lib/src/protocol/**
  • examples/chat/chat_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • examples/chat/chat_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • examples/chat/chat_server/lib/src/generated/channel.dart is excluded by !**/generated/**
  • examples/chat/chat_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • examples/chat/chat_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_login_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_login_failure_reason.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_password_policy_violation_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_password_reset_request_expired_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_password_reset_request_not_found_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_password_reset_request_too_many_attempts_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_password_reset_request_unauthorized_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_password_reset_too_many_attempts_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_request_expired_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_request_not_found_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_request_not_verified_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_request_too_many_attempts_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/exceptions/email_account_request_unauthorized_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account_failed_login_attempt.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account_password_reset_attempt.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account_password_reset_request.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account_password_reset_request_attempt.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account_request.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/email_account_request_completion_attempt.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_login_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_login_failure_reason.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_password_policy_violation_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_password_reset_request_expired_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_password_reset_request_not_found_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_password_reset_request_too_many_attempts_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_password_reset_request_unauthorized_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_password_reset_too_many_attempts_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_request_expired_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_request_not_found_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_request_not_verified_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_request_too_many_attempts_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/exceptions/email_account_request_unauthorized_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/authentication_token_info.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/refresh_token_expired_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/refresh_token_invalid_secret_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/refresh_token_malformed_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/refresh_token_not_found_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_client/lib/src/protocol/token_pair.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/authentication_token_info.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/refresh_token.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/refresh_token_expired_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/refresh_token_invalid_secret_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/refresh_token_malformed_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/refresh_token_not_found_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/lib/src/generated/token_pair.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/migrated_user.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_client/lib/src/protocol/user_profile_model.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/lib/src/generated/user_profile.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/lib/src/generated/user_profile_data.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/lib/src/generated/user_profile_image.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/lib/src/generated/user_profile_model.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_client/lib/src/protocol/auth_session_info.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_client/lib/src/protocol/auth_success.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/generated/auth_session.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/generated/auth_session_info.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/generated/auth_success.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_client/lib/src/protocol/auth_user_blocked_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_client/lib/src/protocol/auth_user_model.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_client/lib/src/protocol/auth_user_not_found_exception.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/lib/src/generated/auth_user.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/lib/src/generated/auth_user_blocked_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/lib/src/generated/auth_user_model.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/lib/src/generated/auth_user_not_found_exception.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/apple_auth_info.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/auth_key.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/authentication_fail_reason.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/authentication_response.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/email_auth.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/email_create_account_request.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/email_failed_sign_in.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/email_password_reset.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/email_reset.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/google_refresh_token.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/user_image.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/user_info.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/user_info_public.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_client/lib/src/protocol/user_settings_config.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/apple_auth_info.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/auth_key.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/authentication_fail_reason.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/authentication_response.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/email_auth.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/email_create_account_request.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/email_failed_sign_in.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/email_password_reset.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/email_reset.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/google_refresh_token.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/user_image.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/user_info.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/user_info_public.dart is excluded by !**/generated/**
  • modules/serverpod_auth/serverpod_auth_server/lib/src/generated/user_settings_config.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_join_channel.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_join_channel_failed.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_joined_channel.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_leave_channel.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_message.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_message_attachment.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_message_attachment_upload_description.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_message_chunk.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_message_post.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_read_message.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/chat_request_message_chunk.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_join_channel.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_join_channel_failed.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_joined_channel.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_leave_channel.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_message.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_message_attachment.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_message_attachment_upload_description.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_message_chunk.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_message_post.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_read_message.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/chat_request_message_chunk.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/serverpod_chat/serverpod_chat_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/authentication/revoked_authentication_auth_id.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/authentication/revoked_authentication_scope.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/authentication/revoked_authentication_user.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/cache_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/caches_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/cloud_storage.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/cloud_storage_direct_upload.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/cluster_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/cluster_server_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/bulk_data.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/bulk_data_exception.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/bulk_query_column_description.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/bulk_query_result.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/column_definition.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/column_migration.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/column_type.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_definition.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_definitions.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_migration.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_migration_action.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_migration_action_type.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_migration_version.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_migration_warning.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/database_migration_warning_type.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/enum_serialization.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/filter/filter.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/filter/filter_constraint.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/filter/filter_constraint_type.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/foreign_key_action.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/foreign_key_definition.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/foreign_key_match_type.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/index_definition.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/index_element_definition.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/index_element_definition_type.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/table_definition.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/table_migration.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/database/vector_distance_function.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/distributed_cache_entry.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/exceptions/access_denied.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/exceptions/file_not_found.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/future_call_entry.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/log_entry.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/log_level.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/log_result.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/log_settings.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/log_settings_override.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/message_log_entry.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/method_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/query_log_entry.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/readwrite_test.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/runtime_settings.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/server_health_connection_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/server_health_metric.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/server_health_result.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/serverpod_sql_exception.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/session_log_entry.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/session_log_filter.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/session_log_info.dart is excluded by !**/generated/**
  • packages/serverpod/lib/src/generated/session_log_result.dart is excluded by !**/generated/**
  • packages/serverpod_service_client/lib/src/protocol/cache_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/caches_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/cloud_storage.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/cloud_storage_direct_upload.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/cluster_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/cluster_server_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/bulk_data.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/bulk_data_exception.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/bulk_query_column_description.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/bulk_query_result.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/column_definition.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/column_migration.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/column_type.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_definition.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_definitions.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_migration.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_migration_action.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_migration_action_type.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_migration_version.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_migration_warning.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/database_migration_warning_type.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/enum_serialization.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/filter/filter.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/filter/filter_constraint.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/filter/filter_constraint_type.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/foreign_key_action.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/foreign_key_definition.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/foreign_key_match_type.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/index_definition.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/index_element_definition.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/index_element_definition_type.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/table_definition.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/table_migration.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/database/vector_distance_function.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/distributed_cache_entry.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/exceptions/access_denied.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/exceptions/file_not_found.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/future_call_entry.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/log_entry.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/log_level.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/log_result.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/log_settings.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/log_settings_override.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/message_log_entry.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/method_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/query_log_entry.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/readwrite_test.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/runtime_settings.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/server_health_connection_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/server_health_metric.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/server_health_result.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/serverpod_sql_exception.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/session_log_entry.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/session_log_filter.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/session_log_info.dart is excluded by !**/lib/src/protocol/**
  • packages/serverpod_service_client/lib/src/protocol/session_log_result.dart is excluded by !**/lib/src/protocol/**
  • tests/serverpod_new_auth_test/serverpod_new_auth_test_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • tests/serverpod_new_auth_test/serverpod_new_auth_test_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
📒 Files selected for processing (13)
  • modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/business/auth_sessions_admin.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • modules/serverpod_auth/serverpod_auth_server/analysis_options.yaml (1 hunks)
  • modules/serverpod_auth/serverpod_auth_server/test/integration/test_tools/serverpod_test_tools.dart (1 hunks)
  • packages/serverpod/lib/src/database/database.dart (17 hunks)
  • packages/serverpod_test/analysis_options.yaml (1 hunks)
🧰 Additional context used
🧠 Learnings (12)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart (6)
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart:13-13
Timestamp: 2025-06-19T11:07:03.756Z
Learning: Always check that documentation comments (///) on public classes and methods do not exceed 80 characters per line in Serverpod projects. Comments should be broken into multiple lines when they exceed this limit to maintain code style consistency. This applies to all production code files, though tests may be more flexible.
modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server/test/integration/test_tools/serverpod_test_tools.dart (7)
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart:13-13
Timestamp: 2025-06-19T11:07:03.756Z
Learning: Always check that documentation comments (///) on public classes and methods do not exceed 80 characters per line in Serverpod projects. Comments should be broken into multiple lines when they exceed this limit to maintain code style consistency. This applies to all production code files, though tests may be more flexible.
modules/new_serverpod_auth/serverpod_auth_email/serverpod_auth_email_server/test/integration/test_tools/serverpod_test_tools.dart (6)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart:13-13
Timestamp: 2025-06-19T11:07:03.756Z
Learning: Always check that documentation comments (///) on public classes and methods do not exceed 80 characters per line in Serverpod projects. Comments should be broken into multiple lines when they exceed this limit to maintain code style consistency. This applies to all production code files, though tests may be more flexible.
modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/lib/src/business/auth_sessions_admin.dart (4)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server/test/integration/test_tools/serverpod_test_tools.dart (6)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
modules/serverpod_auth/serverpod_auth_server/test/integration/test_tools/serverpod_test_tools.dart (8)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
Learnt from: tp
PR: serverpod/serverpod#3651
File: tests/serverpod_new_auth_test/serverpod_new_auth_test_server/test/integration/email_account_endpoint_test.dart:1-1
Timestamp: 2025-06-19T11:00:17.085Z
Learning: In Serverpod applications, methods that rely on public asset storage (like setUserImage/removeUserImage) should be tested in E2E tests rather than withServerpod integration tests, as they require a full server environment with asset storage infrastructure to properly test image upload/download functionality.
Learnt from: tp
PR: serverpod/serverpod#3651
File: modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_accounts.dart:35-39
Timestamp: 2025-06-16T12:07:26.018Z
Learning: The `withServerpod` test helper runs tests within a transaction, which may require adapting database queries to accept transaction parameters for proper snapshot consistency during testing.
modules/new_serverpod_auth/serverpod_auth_google_account/serverpod_auth_google_account_server/test/integration/test_tools/serverpod_test_tools.dart (6)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/test/integration/test_tools/serverpod_test_tools.dart (5)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/passwords.yaml:12-15
Timestamp: 2025-06-17T13:07:46.465Z
Learning: Configuration keys in Serverpod that contain dots (like `serverpod_auth_email_account.passwordHashPepper`) need to be renamed to use underscores or other valid characters because the system needs to support overriding configuration keys and passwords via environment variables, and BASH environment variable names cannot contain dots.
modules/serverpod_auth/serverpod_auth_server/analysis_options.yaml (2)
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
modules/new_serverpod_auth/serverpod_auth_user/serverpod_auth_user_server/test/integration/test_tools/serverpod_test_tools.dart (9)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart:13-13
Timestamp: 2025-06-19T11:07:03.756Z
Learning: Always check that documentation comments (///) on public classes and methods do not exceed 80 characters per line in Serverpod projects. Comments should be broken into multiple lines when they exceed this limit to maintain code style consistency. This applies to all production code files, though tests may be more flexible.
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
Learnt from: tp
PR: serverpod/serverpod#3651
File: tests/serverpod_new_auth_test/serverpod_new_auth_test_server/test/integration/email_account_endpoint_test.dart:1-1
Timestamp: 2025-06-19T11:00:17.085Z
Learning: In Serverpod applications, methods that rely on public asset storage (like setUserImage/removeUserImage) should be tested in E2E tests rather than withServerpod integration tests, as they require a full server environment with asset storage infrastructure to properly test image upload/download functionality.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart:13-13
Timestamp: 2025-06-19T11:07:03.756Z
Learning: Always check that documentation comments (///) on public classes and methods do not exceed 80 characters per line in Serverpod projects. Comments should be broken into multiple lines when they exceed this limit to maintain code style consistency.
modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server/test/integration/test_tools/serverpod_test_tools.dart (7)
Learnt from: tp
PR: serverpod/serverpod#3672
File: tests/serverpod_test_server/test_integration/test_tools/test_session_builder_test.dart:10-30
Timestamp: 2025-06-18T14:49:11.263Z
Learning: In Serverpod test files, tp prefers using nullable late variables for AuthenticationInfo in tests (e.g., `late AuthenticationInfo? authenticationInfo;`) rather than non-nullable ones to avoid using `!` operators and to get clearer error messages when authentication setup fails. This provides better diagnostics when `session.authenticated` returns null.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: Changes to README.md and CHANGELOG.md files made by the util/update_pubspecs script can be safely ignored during code review, as these files are auto-generated by copying from a single source rather than being manually authored.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:40:09.088Z
Learning: CHANGELOG.md files in the serverpod_auth_migration modules (client and server) are auto-generated and cannot be manually modified during the development process.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md:3-8
Timestamp: 2025-06-17T11:34:13.289Z
Learning: The README.md files in the serverpod_auth_migration module directories are auto-generated and get overwritten by utility scripts, so manual updates should be avoided until proper documentation is added during feature rollout.
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
Learnt from: tp
PR: serverpod/serverpod#3651
File: tests/serverpod_new_auth_test/serverpod_new_auth_test_server/test/integration/email_account_endpoint_test.dart:1-1
Timestamp: 2025-06-19T11:00:17.085Z
Learning: In Serverpod applications, methods that rely on public asset storage (like setUserImage/removeUserImage) should be tested in E2E tests rather than withServerpod integration tests, as they require a full server environment with asset storage infrastructure to properly test image upload/download functionality.
Learnt from: tp
PR: serverpod/serverpod#3666
File: modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md:1-7
Timestamp: 2025-06-17T11:44:37.288Z
Learning: The util/update_pubspecs script automatically copies the root CHANGELOG.md to all packages/modules and README_subpackage.md to all modules as README.md. These file changes should be ignored during code review as they are auto-generated distribution of shared content, not manual authoring that requires review.
packages/serverpod/lib/src/database/database.dart (1)
Learnt from: tp
PR: serverpod/serverpod#3721
File: util/pub_get_all:0-0
Timestamp: 2025-06-27T08:39:36.440Z
Learning: In the Serverpod project, `dart pub get` commands work fine on Flutter packages both locally and in CI environments, even when the package has `flutter: sdk: flutter` dependencies in pubspec.yaml. The technical constraint of Flutter SDK dependencies causing `dart pub` failures may not apply in all environments or recent Dart versions.
⏰ Context from checks skipped due to timeout of 90000ms (7)
  • GitHub Check: Migration e2e tests (3.24.0)
  • GitHub Check: Migration e2e tests (3.32.1)
  • GitHub Check: Serverpod integration tests (server) (3.24.0)
  • GitHub Check: Serverpod integration tests (server) (3.32.1)
  • GitHub Check: Serverpod E2E web tests (3.32.1)
  • GitHub Check: Serverpod E2E web tests (3.24.0)
  • GitHub Check: Unit tests IO (3.24.0, windows-latest)
🔇 Additional comments (1)
packages/serverpod/lib/src/database/database.dart (1)

3-3: Ensure meta is declared as a regular dependency.

@internal comes from package:meta/meta.dart. Verify that every package depending on serverpod (not only dev-time) has meta in its dependencies section; otherwise downstream consumers may hit a runtime class-loading error in production builds.

@exaby73
exaby73 requested review from Isakdl and tp July 1, 2025 13:06

@Isakdl Isakdl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think Timm has a point on the unsafe queries they should still be exposed!

Could you take a look at the docs repo as well making sure we are not recommending session.db.(...); anywhere!

Lastly can you please rebase this PR and separate all generated code from manual edits. Never commit your manual changes together with generated code. It is very hard to see what has changed when they are grouped.

@exaby73
exaby73 force-pushed the chore/mark-db-find-internal branch from dd38f89 to 923488a Compare July 1, 2025 13:50
@exaby73

exaby73 commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

@Isakdl I rebased it. Commits should be cleaner now. As for your doc question, only one place I found is https://docs.serverpod.dev/upgrading/upgrade-to-two#removed-deprecated-fields

@exaby73
exaby73 force-pushed the chore/mark-db-find-internal branch from 923488a to 0c71312 Compare July 1, 2025 13:56

@tp tp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

Just a small nit on the test server.
I think opting out of the lint in all generated code is fine, though as came up in another issue it might even be misleading, as our lint might not match what the developer uses, and thus there might always be violations. In that case the only reasonable approach is (for them and us) to ignore the generated files outright, where we would not need any "ignore for file"s anymore.
But we can align that with the other ticket (might also be a breaking change, as developers on old templates might need to update their analysis options).

@Isakdl Isakdl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Two smaller change requests, and I wonder what tests we have that are using the session api. Are they still relevant to keep around?

@Isakdl Isakdl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🚀

@exaby73
exaby73 merged commit c931a1f into serverpod:main Jul 16, 2025
@exaby73
exaby73 deleted the chore/mark-db-find-internal branch July 16, 2025 08:25
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make session.db.find(), et al marked as internal.

3 participants