Repository navigation
feat(auth2): Add module serverpod_auth_migration with support for email migration - #3666
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 📝 WalkthroughWalkthroughA new module, Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant MigrationServer
participant OldAuthDB
participant NewAuthDB
Client->>MigrationServer: Request migration for email/password
alt Email already exists in new system
MigrationServer-->>Client: Complete (no action)
else
MigrationServer->>OldAuthDB: Authenticate with old system
alt Authentication fails
MigrationServer-->>Client: Complete (no action)
else
MigrationServer->>NewAuthDB: Create new user/profile, set password
MigrationServer->>OldAuthDB: Delete old auth key
MigrationServer->>NewAuthDB: Record migration mapping
MigrationServer-->>Client: Complete
end
end
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Possibly related PRs
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed 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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
serverpod_auth_migration with support for email migrationserverpod_auth_migration with support for email migration
507ad6a to
a9c7bb0
Compare
855a2aa to
8267fb8
Compare
There was a problem hiding this comment.
Actionable comments posted: 9
🔭 Outside diff range comments (2)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/analysis_options.yaml (1)
1-14: Missing include for lint rules in client analysis_options.yaml.This file references pedantic lints in comments but doesn’t enable any by omitting an
include:directive. Add a base config to enforce lint rules:+include: package:pedantic/analysis_options.yaml analyzer: exclude: - lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md (1)
1-10: Provide migration client-specific documentation.The README currently contains generic Serverpod info. Expand it to describe the
serverpod_auth_migration_clientpackage, its purpose, installation, and usage examples for email account migration.# serverpod_auth_migration_client Client library for migrating legacy email-based Serverpod users into the new authentication system. ## Installation Add to your `pubspec.yaml`: ```yaml dependencies: serverpod_auth_migration_client: ^0.1.0Usage
final client = MigrationClient(sessionManager); await client.migrateEmailUser( oldEmail: '[email protected]', newPassword: 'securePassword', );</blockquote></details> </blockquote></details> <details> <summary>🧹 Nitpick comments (15)</summary><blockquote> <details> <summary>util/update_pubspecs (1)</summary><blockquote> `121-122`: **Inconsistent ordering of README copy entries.** The README copy for migration modules is listed as `server` then `client`, whereas the CHANGELOG copy uses `client` then `server`. For consistency, swap these lines: ```diff - cp README_subpackage.md modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md - cp README_subpackage.md modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md + cp README_subpackage.md modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md + cp README_subpackage.md modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.mdutil/generate_all (1)
104-107: Ensure correct newline with echo
Usingecho "\nserverpod_auth_migration_server"may not emit the intended newline on all shells. Prefer either:-echo "\nserverpod_auth_migration_server" +echo -e "\nserverpod_auth_migration_server"or
-echo "\nserverpod_auth_migration_server" +printf "\nserverpod_auth_migration_server\n".github/workflows/dart-tests.yaml (1)
266-266: Clarify exit-code handling
The pattern|| [ $? -eq 79 ]works to allow exit code 79 (no tests found). For maintainability, consider extracting this into a small helper or adding an inline comment explaining that 79 means “no tests found.”modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/serverpod_auth_migration_server.dart (1)
1-3: Add top-level documentation or library directive
This barrel file exports the core business logic and generated code. Consider adding a brief doc comment at the top explaining its role or including alibrary serverpod_auth_migration_server;directive if that’s the convention in other modules.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/serverpod_auth_migration_client.dart (1)
1-2: Re-exporting the wholeserverpod_clientAPI may cause name collisionsDown-stream packages that already import
package:serverpod_client/serverpod_client.dartwill now get every symbol twice (once directly, once via this barrel file).
Although Dart’s namespace merging is usually benign, it can break when other libraries addexportfilters (show/hide). Consider re-exporting only what your own protocol actually needs:-export 'package:serverpod_client/serverpod_client.dart'; +export 'package:serverpod_client/serverpod_client.dart' + show Client, ProtocolException /*, … minimal required symbols … */;Doing so keeps the public surface small and avoids accidental API coupling.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/docker-compose.yaml (1)
3-20: Minor hard-coding nitpickPorts
9090/9091are uncommon for Postgres/Redis and may already be occupied on CI agents. Using0(random host port) or making them configurable via env vars ($PG_PORT) reduces collision risk.Not blocking, just consider for future CI stability.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md (1)
11-11: Add missing commas for clarity in documentation.
Insert commas around the parenthetical clause and after “accessing” to improve readability:-The name "EndpointClass" where Class is your class name will have the "Endpoint" part stripped when the client is code generated. When accessing you can simply use the endpoint name in lowercase. +The name "EndpointClass", where Class is your class name, will have the "Endpoint" part stripped when the client is code generated. When accessing, you can simply use the endpoint name in lowercase.modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_accounts_admin.dart (1)
107-112: Minor – rely onByteDatalength only after ensuring hash is non-null
hasPasswordis computed viaaccount.passwordHash.lengthInBytes > 0.
While fine today, an explicit boolean (passwordHash.isEmpty) after moving toUint8Listor similar would be clearer.
No change required – just flagging for future maintainability.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart (2)
75-83: Test description contradicts expectationThe description reads “with the wrong password, then it completes without error.” but the later test expects an error (
throwsA).
Suggest fixing the wording to avoid confusion.- 'when running `migrateOnLogin` with the wrong password, then it completes without error.', + 'when running `migrateOnLogin` with the wrong password, then it completes without error (migration should silently ignore the password).',
268-276: Typo: description says password can be used, assertion expects failureSame issue as above – the docstring implies success while the assertion expects an exception.
Replace can with cannot (or similar) for clarity.- 'when running `migrateOnLogin` with a wrong password, then this password can be used for the login.', + 'when running `migrateOnLogin` with a wrong password, then this password cannot be used for the login.',modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md (1)
175-175: Fix duplicate word in changelog entry.-- fix: Adds logging for when when uploads to buckets fail. +- fix: Adds logging for when uploads to buckets fail.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (1)
44-44: Fix typo in comment.- // This will of course fail in the new auth provider, but we don't want to preëmpt any throttling or logging, and thus let it continue. + // This will of course fail in the new auth provider, but we don't want to preempt any throttling or logging, and thus let it continue.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml (2)
1-3: Consider addingpublish_to: noneto prevent accidental publishing.
Since this is an internal development module, addingpublish_to: noneafter the generated comment will ensure it’s not published to pub.dev by mistake.
4-8: Verify metadata completeness and consistency.
Thename,description,version, andrepositoryfields are correctly set. Consider including optional fields likehomepageordocumentationto link users to the module’s docs.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md (1)
2-100: Fix Markdown list indentation.
Multiple list items are indented by one space under headings, triggeringMD007warnings. Align bullet points to zero indentation for proper Markdown rendering.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (12)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/client.dartis excluded by!**/lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/protocol.dartis excluded by!**/lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/endpoints.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/migrated_user.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.yamlis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition.sqlis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition_project.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/migration.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/migration.sqlis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/migration_registry.txtis excluded by!**/migrations/**
📒 Files selected for processing (33)
.github/workflows/dart-tests.yaml(2 hunks)modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_accounts_admin.dart(2 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/.gitignore(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/analysis_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/serverpod_auth_migration_client.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/.gitignore(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/analysis_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/generator.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/passwords.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/test.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/dart_test.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/docker-compose.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/serverpod_auth_migration_server.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/models/migrated_user.spy.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.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/serverpod_auth/serverpod_auth_server/lib/src/business/email_auth.dart(1 hunks)templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml(1 hunks)templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml(1 hunks)util/generate_all(1 hunks)util/pub_get_all(1 hunks)util/recreate_all_migrations(1 hunks)util/run_tests_analyze(1 hunks)util/update_pubspecs(2 hunks)
🧰 Additional context used
🪛 LanguageTool
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md
[uncategorized] ~11-~11: Possible missing comma found.
Context: ...when the client is code generated. When accessing you can simply use the endpoint name in...
(AI_HYDRA_LEO_MISSING_COMMA)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md
[style] ~37-~37: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng a default value for Enum models. - feat(EXPERIMENTAL): Adds support for attachi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~48-~48: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ort for non-nullable Set in models. - fix(EXPERIMENTAL): Includes Uri path in dia...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...cludes Uri path in diagnostic events. - fix(EXPERIMENTAL): Reports diagnostic event...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...OD_SERVER_ID` environmental variable. - feat(EXPERIMENTAL): Adds support for excepti...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...iagnostic events to monitoring tools. - feat(EXPERIMENTAL): Adds API for submitting ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...in different modules. ## 2.2.1 - fix: Fixes an issue where invalid Dart import path...
(FIX_RESOLVE)
[style] ~124-~124: It’s more common nowadays to write this noun as one word.
Context: ...## 2.1.2 - fix: Supports updating full user name in auth module. - fix: Adds missing tr...
(RECOMMENDED_COMPOUNDS)
[misspelling] ~152-~152: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...endpoint methods. - feat: When sending a HTTP 400 Bad Request error message to t...
(EN_A_VS_AN)
[uncategorized] ~152-~152: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rror message may now be included in the client side exception. - fix: Allows Serverpod def...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~165-~165: The preposition ‘to’ seems more likely in this position.
Context: ...es iss value for all possible domains in Sign in with Google. - fix: Add `metho...
(AI_HYDRA_LEO_REPLACE_IN_TO)
[duplication] ~175-~175: Possible typo: you repeated a word.
Context: ... db storage. - fix: Adds logging for when when uploads to buckets fail. - fix: Remove...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~199-~199: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... fix: Adds explicit exception types for client side exceptions. - fix: Correctly sets offse...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~215-~215: It’s more common nowadays to write this noun as one word.
Context: ...llToJson method. - fix: BREAKING. Makes user name nullable in UserInfo. - fix: BREAKING...
(RECOMMENDED_COMPOUNDS)
[grammar] ~231-~231: The operating system from Apple is written “macOS”.
Context: ...le. - feat: Adds client entitlements to MacOS after creating Flutter project. - fix: ...
(MAC_OS)
[uncategorized] ~309-~309: The verb “is” doesn’t seem to fit in this context, “are” is probably more formally correct.
Context: ...ions for updating from 1.1 of Serverpod is available in our documentation [here](h...
(AI_HYDRA_LEO_CPT_IS_ARE)
[style] ~319-~319: Consider using “outdated” to strengthen your wording.
Context: ...ser to update Serverpod when running an old version of the CLI. - feat: Improves ex...
(OLD_VERSION)
[grammar] ~391-~391: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...if the referenced parent table does not exists. - fix: Report an error if the table na...
(DID_BASEFORM)
[uncategorized] ~417-~417: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...Map values. - fix: Restrict length of user defined Postgres identifier names. ### Insight...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~436-~436: Consider a more concise word here.
Context: ... sign in button. - fix: Require consent in order to generate refresh token for Google Signi...
(IN_ORDER_TO_PREMIUM)
[uncategorized] ~453-~453: Possible missing comma found.
Context: ...` option to yaml-files, which is set to true will prevent the code to be generated f...
(AI_HYDRA_LEO_MISSING_COMMA)
[misspelling] ~456-~456: This word is normally spelled as one.
Context: ...s in Relic. - feat: Allows endpoints in sub directories. - feat: Support for GCP Cloud Storage....
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~478-~478: Loose punctuation mark.
Context: ...pose` ## 1.0.0 - First stable release! :D - Fixes incorrectly set database index...
(UNLIKELY_OPENING_PUNCTUATION)
[misspelling] ~491-~491: This word is normally spelled as one.
Context: .../discussions/567) ## 0.9.21 - Supports sub directories for protocol class files. - Updates dep...
(EN_COMPOUNDS_SUB_DIRECTORIES)
[grammar] ~520-~520: After the number ‘404’, use a plural noun. Did you mean “codes”?
Context: ... ## 0.9.15 - Correctly sets 404 return code if no route is matched in Relic web ser...
(CD_NNU)
[uncategorized] ~547-~547: The preposition ‘of’ seems more likely in this position.
Context: ...es the serverpod run command in favor for continuous generation. - Updates depend...
(AI_HYDRA_LEO_REPLACE_FOR_OF)
[uncategorized] ~560-~560: Possible missing comma found.
Context: ...urces. Most notably, only uses one load balancer which will fit within AWS free tier. - ...
(AI_HYDRA_LEO_MISSING_COMMA)
[grammar] ~575-~575: The word ‘install’ is not a noun.
Context: ...w working on Windows. Tested on a fresh install of Windows 10. ## 0.9.6 - Improved, bu...
(A_INSTALL)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md
[style] ~37-~37: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng a default value for Enum models. - feat(EXPERIMENTAL): Adds support for attachi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~48-~48: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ort for non-nullable Set in models. - fix(EXPERIMENTAL): Includes Uri path in dia...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...cludes Uri path in diagnostic events. - fix(EXPERIMENTAL): Reports diagnostic event...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...OD_SERVER_ID` environmental variable. - feat(EXPERIMENTAL): Adds support for excepti...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...iagnostic events to monitoring tools. - feat(EXPERIMENTAL): Adds API for submitting ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...in different modules. ## 2.2.1 - fix: Fixes an issue where invalid Dart import path...
(FIX_RESOLVE)
[style] ~124-~124: It’s more common nowadays to write this noun as one word.
Context: ...## 2.1.2 - fix: Supports updating full user name in auth module. - fix: Adds missing tr...
(RECOMMENDED_COMPOUNDS)
[misspelling] ~152-~152: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...endpoint methods. - feat: When sending a HTTP 400 Bad Request error message to t...
(EN_A_VS_AN)
[uncategorized] ~152-~152: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rror message may now be included in the client side exception. - fix: Allows Serverpod def...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~165-~165: The preposition ‘to’ seems more likely in this position.
Context: ...es iss value for all possible domains in Sign in with Google. - fix: Add `metho...
(AI_HYDRA_LEO_REPLACE_IN_TO)
[duplication] ~175-~175: Possible typo: you repeated a word.
Context: ... db storage. - fix: Adds logging for when when uploads to buckets fail. - fix: Remove...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~199-~199: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... fix: Adds explicit exception types for client side exceptions. - fix: Correctly sets offse...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~215-~215: It’s more common nowadays to write this noun as one word.
Context: ...llToJson method. - fix: BREAKING. Makes user name nullable in UserInfo. - fix: BREAKING...
(RECOMMENDED_COMPOUNDS)
[grammar] ~231-~231: The operating system from Apple is written “macOS”.
Context: ...le. - feat: Adds client entitlements to MacOS after creating Flutter project. - fix: ...
(MAC_OS)
[uncategorized] ~309-~309: The verb “is” doesn’t seem to fit in this context, “are” is probably more formally correct.
Context: ...ions for updating from 1.1 of Serverpod is available in our documentation [here](h...
(AI_HYDRA_LEO_CPT_IS_ARE)
[style] ~319-~319: Consider using “outdated” to strengthen your wording.
Context: ...ser to update Serverpod when running an old version of the CLI. - feat: Improves ex...
(OLD_VERSION)
[grammar] ~391-~391: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...if the referenced parent table does not exists. - fix: Report an error if the table na...
(DID_BASEFORM)
[uncategorized] ~417-~417: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...Map values. - fix: Restrict length of user defined Postgres identifier names. ### Insight...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~436-~436: Consider a more concise word here.
Context: ... sign in button. - fix: Require consent in order to generate refresh token for Google Signi...
(IN_ORDER_TO_PREMIUM)
[uncategorized] ~453-~453: Possible missing comma found.
Context: ...` option to yaml-files, which is set to true will prevent the code to be generated f...
(AI_HYDRA_LEO_MISSING_COMMA)
[misspelling] ~456-~456: This word is normally spelled as one.
Context: ...s in Relic. - feat: Allows endpoints in sub directories. - feat: Support for GCP Cloud Storage....
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~478-~478: Loose punctuation mark.
Context: ...pose` ## 1.0.0 - First stable release! :D - Fixes incorrectly set database index...
(UNLIKELY_OPENING_PUNCTUATION)
[misspelling] ~491-~491: This word is normally spelled as one.
Context: .../discussions/567) ## 0.9.21 - Supports sub directories for protocol class files. - Updates dep...
(EN_COMPOUNDS_SUB_DIRECTORIES)
[grammar] ~520-~520: After the number ‘404’, use a plural noun. Did you mean “codes”?
Context: ... ## 0.9.15 - Correctly sets 404 return code if no route is matched in Relic web ser...
(CD_NNU)
[uncategorized] ~547-~547: The preposition ‘of’ seems more likely in this position.
Context: ...es the serverpod run command in favor for continuous generation. - Updates depend...
(AI_HYDRA_LEO_REPLACE_FOR_OF)
[uncategorized] ~560-~560: Possible missing comma found.
Context: ...urces. Most notably, only uses one load balancer which will fit within AWS free tier. - ...
(AI_HYDRA_LEO_MISSING_COMMA)
[grammar] ~575-~575: The word ‘install’ is not a noun.
Context: ...w working on Windows. Tested on a fresh install of Windows 10. ## 0.9.6 - Improved, bu...
(A_INSTALL)
🪛 YAMLlint (1.37.1)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml
[error] 2-2: trailing spaces
(trailing-spaces)
[error] 5-5: no new line character at the end of file
(new-line-at-end-of-file)
🪛 markdownlint-cli2 (0.17.2)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md
28-28: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
30-30: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
87-87: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
90-90: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
93-93: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
94-94: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
95-95: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
96-96: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
97-97: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
98-98: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
99-99: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
100-100: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
101-101: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
102-102: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
103-103: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
104-104: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
105-105: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
106-106: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
109-109: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
110-110: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
111-111: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
114-114: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
115-115: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
116-116: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
117-117: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
118-118: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
121-121: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
124-124: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
125-125: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
126-126: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
128-128: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
131-131: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
132-132: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
135-135: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
136-136: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
137-137: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
138-138: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
139-139: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
140-140: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
141-141: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
142-142: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
143-143: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
144-144: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
145-145: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
146-146: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
147-147: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
148-148: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
149-149: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
150-150: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
151-151: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
152-152: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
153-153: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
154-154: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
155-155: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
156-156: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
157-157: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
158-158: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
159-159: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
160-160: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
161-161: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
162-162: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
163-163: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
164-164: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
165-165: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
166-166: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
167-167: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
168-168: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
169-169: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
170-170: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
171-171: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
172-172: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
173-173: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
174-174: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
175-175: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
176-176: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
177-177: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
178-178: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md
28-28: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
30-30: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
87-87: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
90-90: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
93-93: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
94-94: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
95-95: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
96-96: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
97-97: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
98-98: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
99-99: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
100-100: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
101-101: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
102-102: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
103-103: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
104-104: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
105-105: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
106-106: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
109-109: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
110-110: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
111-111: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
114-114: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
115-115: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
116-116: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
117-117: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
118-118: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
121-121: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
124-124: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
125-125: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
126-126: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
128-128: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
131-131: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
132-132: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
135-135: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
136-136: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
137-137: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
138-138: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
139-139: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
140-140: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
141-141: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
142-142: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
143-143: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
144-144: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
145-145: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
146-146: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
147-147: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
148-148: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
149-149: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
150-150: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
151-151: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
152-152: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
153-153: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
154-154: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
155-155: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
156-156: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
157-157: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
158-158: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
159-159: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
160-160: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
161-161: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
162-162: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
163-163: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
164-164: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
165-165: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
166-166: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
167-167: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
168-168: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
169-169: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
170-170: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
171-171: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
172-172: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
173-173: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
174-174: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
175-175: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
176-176: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
177-177: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
178-178: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
⏰ Context from checks skipped due to timeout of 90000ms (47)
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server with Flutter 3.24.0
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/serverpod_auth/serverpod_auth_server with Flutter 3.32.1
- GitHub Check: Unit tests Web (3.24.0, windows-latest)
- GitHub Check: Module integration tests in tests/serverpod_test_module/serverpod_test_module_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server with Flutter 3.32.1
- GitHub Check: Module integration tests in tests/serverpod_test_nonvector/serverpod_test_nonvector_server with Flutter 3.32.1
- GitHub Check: Flutter unit tests (3.24.0, windows-latest, packages/serverpod_flutter)
- GitHub Check: Module integration tests in tests/serverpod_test_nonvector/serverpod_test_nonvector_server with Flutter 3.24.0
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server with Flutter 3.24.0
- GitHub Check: Flutter unit tests (3.32.1, windows-latest, packages/serverpod_flutter)
- GitHub Check: Unit tests Web (3.32.1, windows-latest)
- GitHub Check: Bootstrap tests (3.32.1, ubuntu-latest, tests/bootstrap_project)
- GitHub Check: CLI e2e tests (3.24.0, ubuntu-latest, tests/serverpod_cli_e2e_test)
- GitHub Check: Version change test
- GitHub Check: Serverpod E2E web tests (3.24.0)
- GitHub Check: Unit tests IO (3.24.0, ubuntu-latest)
- GitHub Check: Serverpod integration tests (flutter)
- GitHub Check: CLI e2e tests (3.32.1, ubuntu-latest, tests/serverpod_cli_e2e_test)
- GitHub Check: Unit tests IO (3.32.1, ubuntu-latest)
- GitHub Check: Unit tests IO (3.24.0, windows-latest)
- GitHub Check: Migration e2e tests (3.32.1)
- GitHub Check: Migration e2e tests (3.24.0)
- GitHub Check: Serverpod E2E web tests (3.32.1)
- GitHub Check: Unit tests IO (3.32.1, windows-latest)
- GitHub Check: Bootstrap tests (3.24.0, windows-latest, tests/bootstrap_project)
- GitHub Check: Bootstrap tests (3.32.1, windows-latest, tests/bootstrap_project)
- GitHub Check: Serverpod E2E IO tests (3.24.0)
- GitHub Check: Serverpod E2E IO tests (3.32.1)
- GitHub Check: Bootstrap tests (3.24.0, ubuntu-latest, tests/bootstrap_project)
- GitHub Check: Serverpod concurrent integration tests (server) (3.24.0)
- GitHub Check: Serverpod concurrent integration tests (server) (3.32.1)
- GitHub Check: Serverpod integration tests (server) (3.24.0)
- GitHub Check: Serverpod integration tests (server) (3.32.1)
- GitHub Check: dart analyze downgrade (3.32.1, windows-latest)
- GitHub Check: dart analyze downgrade (3.32.1, ubuntu-latest)
- GitHub Check: serverpod generate (3.24.0)
- GitHub Check: dart analyze downgrade (3.24.0, ubuntu-latest)
- GitHub Check: dart analyze latest (3.32.1, windows-latest)
- GitHub Check: serverpod generate (3.32.1)
- GitHub Check: dart analyze downgrade (3.24.0, windows-latest)
- GitHub Check: dart analyze latest (3.32.1, ubuntu-latest)
- GitHub Check: dart analyze (3.24.0, windows-latest)
- GitHub Check: dart analyze (3.24.0, ubuntu-latest)
🔇 Additional comments (20)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/.gitignore (1)
1-14: Standard Dart ignores look good.The
.gitignorecleanly excludes typical Dart build artifacts and metadata (.dart_tool/, .packages, pubspec.lock, build/, doc/api/), matching conventions elsewhere in the repo.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/.gitignore (1)
1-14: Client-side ignores are consistent.This
.gitignoremirrors the server patterns, ensuring generated files and build outputs aren’t committed. It aligns with the module’s structure.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/dart_test.yaml (1)
1-3: Integration test tag defined correctly.The
integration: {}tag enables CI to pick up tests in this module. No further action required.util/pub_get_all (1)
68-69: Verify new migration paths in pub_get_all.The
serverpod_auth_migration_clientandserverpod_auth_migration_serverentries have been added appropriately. Ensure both directories contain validpubspec.yamlfiles sodart pubcan run successfully.util/run_tests_analyze (1)
61-62: Include new migration module directories in analysis.The added
"modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server"and"…_client"paths ensure the Dart analyzer covers the new migration modules. Looks correct.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/analysis_options.yaml (1)
1-6: Confirm lint configuration for the migration server module.The file correctly includes the public Serverpod lints and excludes generated sources and test tools. This matches the pattern in other server modules.
util/update_pubspecs (1)
69-70: Copy CHANGELOG into the new migration modules.Entries for both
serverpod_auth_migration_clientandserverpod_auth_migration_serverhave been added, keeping CHANGELOGs in sync across all subpackages..github/workflows/dart-tests.yaml (1)
247-247: Confirm integration-test path
The new module path was added to themodulematrix. Verify that the directorymodules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_servercontains the expected integration tests and manifests the correct structure to be picked up by CI.templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml (1)
1-22: Place-holders must be replaced before publishing
SERVERPOD_VERSIONandDART_VERSIONare still literal strings. If this file is ever copied outside the template folder without substitution,pub getwill fail.Consider adding a pre-publish check or CI step that verifies no
*_VERSIONplaceholders remain in committedpubspec.yamlfiles.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/generator.yaml (1)
11-12: LGTM – paths resolve correctly
client_package_pathandserver_test_tools_pathmatch the new module layout and will be picked up by the Serverpod generator.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/test.yaml (1)
1-49: Test configuration validation.
The server ports, database settings, and session log options align with the Docker Compose and integration test requirements. No changes needed.templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml (1)
1-43: Template placeholders appear consistent.
PLACEHOLDER tokens (SERVERPOD_VERSION,DART_VERSION) match existing conventions, and dependencies/overrides follow project standards.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml (1)
1-23: Client pubspec sanity check.
Name, version, SDK constraints, dependencies, and override paths are correct relative to the module.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/models/migrated_user.spy.yaml (1)
6-18: Unique-index on nullable columns may not enforce the intended 1-to-1 mapping
oldUserandnewAuthUserare declared as nullable (?).
In Postgres,UNIQUEdoes not considerNULL = NULL, therefore multiple rows witholdUserId == NULL(ornewAuthUserId == NULL) can coexist, effectively bypassing the one-to-one guarantee until the field is populated.Consider either
- Making both relations non-nullable, or
- Converting the unique indexes to partial indexes that exclude nulls, e.g.
indexes: serverpod_auth_migration_migrated_user_old: fields: oldUserId unique: true where: oldUserId IS NOT NULLto ensure the constraint is enforced as soon as at least one side is set.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart (1)
1-109: Auto-generated file - no review needed.This file is automatically generated by
serverpod generateand should not be manually modified.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (1)
159-164: ```shell
#!/bin/bashShow context around the AuthUsers.create call to inspect the UserInfo type and its fields
sed -n '140,200p' modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart
Search for the definition or import of UserInfo in this file
rg "UserInfo" -n modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart -C3
</details> <details> <summary>modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml (4)</summary> `9-11`: **Environment SDK constraint is appropriate.** Dart SDK version `>=3.5.0 <4.0.0` aligns with Serverpod’s minimum requirements. --- `12-19`: **Pinned dependencies ensure consistent compatibility.** Locking all Serverpod-related packages to `2.8.0` matches the server migration module version and prevents version skew. --- `20-24`: **Dev dependencies are correctly scoped.** Linting and testing packages (`lints`, `serverpod_test`, `test`) are pinned appropriately. No issues found. --- `25-44`: **Verify local path overrides.** Ensure each `path:` reference points to the correct local package location, especially `../../../serverpod_auth/serverpod_auth_server`. Any misalignment could break code generation or tests. </details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_account_not_found_exception.dart (1)
1-3: Fix minor grammar issues in doc commentsSmall wording tweaks improve clarity and avoid repetition.
-/// Exception thrown for operations trying to operate an email address for which no email account could be found. +/// Exception thrown when attempting to operate on an email address for which no email account exists. @@ -/// The email address which for which no account could be found. +/// The email address for which no account could be found.Also applies to: 10-10
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/serverpod_auth_email_account_server.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_account_not_found_exception.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_accounts_admin.dart(2 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/serverpod_auth_email_account_server.dart
🚧 Files skipped from review as they are similar to previous changes (2)
- modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_accounts_admin.dart
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart
⏰ Context from checks skipped due to timeout of 90000ms (45)
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_profile/serverpod_auth_profile_server with Flutter 3.32.1
- GitHub Check: Bootstrap tests (3.24.0, windows-latest, tests/bootstrap_project)
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server with Flutter 3.32.1
- GitHub Check: Bootstrap tests (3.32.1, windows-latest, tests/bootstrap_project)
- GitHub Check: Serverpod concurrent integration tests (server) (3.32.1)
- GitHub Check: Bootstrap tests (3.32.1, ubuntu-latest, tests/bootstrap_project)
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_session/serverpod_auth_session_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server with Flutter 3.32.1
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server with Flutter 3.32.1
- GitHub Check: Bootstrap tests (3.24.0, ubuntu-latest, tests/bootstrap_project)
- GitHub Check: Module integration tests in modules/serverpod_auth/serverpod_auth_server with Flutter 3.32.1
- GitHub Check: Version change test
- GitHub Check: CLI e2e tests (3.24.0, ubuntu-latest, tests/serverpod_cli_e2e_test)
- GitHub Check: CLI e2e tests (3.32.1, ubuntu-latest, tests/serverpod_cli_e2e_test)
- GitHub Check: Serverpod concurrent integration tests (server) (3.24.0)
- GitHub Check: Module integration tests in tests/serverpod_test_nonvector/serverpod_test_nonvector_server with Flutter 3.32.1
- GitHub Check: Serverpod integration tests (flutter)
- GitHub Check: Migration e2e tests (3.32.1)
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_jwt/serverpod_auth_jwt_server with Flutter 3.24.0
- GitHub Check: Migration e2e tests (3.24.0)
- GitHub Check: Module integration tests in tests/serverpod_test_nonvector/serverpod_test_nonvector_server with Flutter 3.24.0
- GitHub Check: Unit tests Web (3.32.1, windows-latest)
- GitHub Check: dart analyze downgrade (3.32.1, ubuntu-latest)
- GitHub Check: Flutter unit tests (3.32.1, windows-latest, packages/serverpod_flutter)
- GitHub Check: Flutter unit tests (3.24.0, windows-latest, packages/serverpod_flutter)
- GitHub Check: Unit tests Web (3.24.0, windows-latest)
- GitHub Check: Serverpod integration tests (server) (3.24.0)
- GitHub Check: Serverpod E2E web tests (3.32.1)
- GitHub Check: dart analyze downgrade (3.24.0, windows-latest)
- GitHub Check: Unit tests IO (3.32.1, ubuntu-latest)
- GitHub Check: serverpod generate (3.32.1)
- GitHub Check: dart analyze downgrade (3.32.1, windows-latest)
- GitHub Check: dart analyze downgrade (3.24.0, ubuntu-latest)
- GitHub Check: Serverpod integration tests (server) (3.32.1)
- GitHub Check: Unit tests IO (3.24.0, windows-latest)
- GitHub Check: Serverpod E2E web tests (3.24.0)
- GitHub Check: Unit tests IO (3.24.0, ubuntu-latest)
- GitHub Check: serverpod generate (3.24.0)
- GitHub Check: Serverpod E2E IO tests (3.24.0)
- GitHub Check: dart analyze latest (3.32.1, windows-latest)
- GitHub Check: Unit tests IO (3.32.1, windows-latest)
- GitHub Check: Serverpod E2E IO tests (3.32.1)
- GitHub Check: dart analyze latest (3.32.1, ubuntu-latest)
- GitHub Check: dart analyze (3.24.0, windows-latest)
- GitHub Check: dart analyze (3.24.0, ubuntu-latest)
🔇 Additional comments (1)
modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server/lib/src/business/email_account_not_found_exception.dart (1)
4-17: Implementation looks solidConstant constructor, immutable
toString()override make this a clean, self-contained exception type.
No functional issues spotted. 👍
SandPod
left a comment
There was a problem hiding this comment.
This PR is missing test for newly added business logic (for example the adming methods in the auth email account package.
Before doing a full review; Please restructure all commits after 5e47d85 so that we get a clean history that introduces some business logic together with their tests.
The endpoint methods can also be introduced in separate commits with test that validate their behavior.
This will greatly increase both the quality and the speed of a review of this PR.
123e5b4 to
e35cf54
Compare
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
SandPod
left a comment
There was a problem hiding this comment.
Have a couple of comments and concerns, please take a look.
e35cf54 to
df116c0
Compare
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (4)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml (1)
1-5: Fix YAML lint errors (trailing spaces & missing EOF newline)Remove the trailing space on line 2 and ensure the file ends with a newline to satisfy YAML lint rules.
dartdoc: - categories: + categories: "Endpoint": markdown: doc/endpoint.md name: Endpoint +modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (3)
8-8: Break documentation comment to stay within 80 character limit.The documentation comment exceeds 80 characters per line. Based on Serverpod style guidelines, please break this into multiple lines:
-/// Helper functions to migration email accounts from `serverpod_auth` to `serverpod_auth_email_account`. +/// Helper functions to migration email accounts from `serverpod_auth` to +/// `serverpod_auth_email_account`.
13-22: Break long documentation comments to stay within 80 character limit.Several documentation lines exceed 80 characters. Please break them:
- /// In case the email is already registered in the new system or the credentials are not known in the old system, this method does not do anything. + /// In case the email is already registered in the new system or the + /// credentials are not known in the old system, this method does not do + /// anything. - /// If the credentials are known to the old system but not yet in the new one, then the user's email authentication as well as their profile are migrated. + /// If the credentials are known to the old system but not yet in the new + /// one, then the user's email authentication as well as their profile are + /// migrated. - /// If the credentials are valid in the old system and the user has already been migrated (for another authentication method), then only the email authentication will be added for that user. + /// If the credentials are valid in the old system and the user has already + /// been migrated (for another authentication method), then only the email + /// authentication will be added for that user. - /// This method is intended to be used before the login is attempted in the new module, so it should be added in the `login` endpoint as the first step. + /// This method is intended to be used before the login is attempted in the + /// new module, so it should be added in the `login` endpoint as the first + /// step.
93-97: Break long documentation comments to stay within 80 character limit.Documentation lines exceed 80 characters:
- /// The password will be unset, and needs to be set later either through a password reset, or an login attempt, where the password can be retrieved from the old system. + /// The password will be unset, and needs to be set later either through a + /// password reset, or an login attempt, where the password can be retrieved + /// from the old system. - /// This method is intended to be called in the background to migrate all users eventually and before any code which would attempt a look-up by email, e.g. an account creation or password reset. + /// This method is intended to be called in the background to migrate all + /// users eventually and before any code which would attempt a look-up by + /// email, e.g. an account creation or password reset.
🧹 Nitpick comments (1)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md (1)
11-11: Add missing comma for clarityInsert a comma after "When accessing" to separate clauses and improve readability.
- When accessing you can simply use the endpoint name in lowercase. + When accessing, you can simply use the endpoint name in lowercase.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (12)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/client.dartis excluded by!**/lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/protocol.dartis excluded by!**/lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/endpoints.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/migrated_user.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.yamlis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition.sqlis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition_project.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/migration.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/migration.sqlis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/migration_registry.txtis excluded by!**/migrations/**
📒 Files selected for processing (32)
.github/workflows/dart-tests.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/.gitignore(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/analysis_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/serverpod_auth_migration_client.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/.gitignore(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/analysis_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/generator.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/passwords.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/test.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/dart_test.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/docker-compose.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/serverpod_auth_migration_server.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email_config.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/models/migrated_user.spy.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart(1 hunks)templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml(1 hunks)templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml(1 hunks)util/generate_all(1 hunks)util/pub_get_all(1 hunks)util/recreate_all_migrations(1 hunks)util/run_tests_analyze(1 hunks)util/update_pubspecs(2 hunks)
✅ Files skipped from review due to trivial changes (7)
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/analysis_options.yaml
- util/update_pubspecs
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/passwords.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email_config.dart
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/test.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml
🚧 Files skipped from review as they are similar to previous changes (18)
- .github/workflows/dart-tests.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/dart_test.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/analysis_options.yaml
- util/run_tests_analyze
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/.gitignore
- util/pub_get_all
- util/generate_all
- util/recreate_all_migrations
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/serverpod_auth_migration_client.dart
- templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/.gitignore
- templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/docker-compose.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/generator.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/models/migrated_user.spy.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart
🧰 Additional context used
🧠 Learnings (3)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (3)
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:0-0
Timestamp: 2025-06-17T13:04:19.522Z
Learning: In serverpod_auth_migration profile image migration, the image must be fetched from the URL rather than just copying the URL because the database schema requires storing the storage bucket and relative path information in addition to the public URL. This storage information is necessary for proper cleanup when profiles are deleted. The fetch approach works fine in production but requires localhost exclusion in testing environments where no HTTP file server is running.
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.736Z
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#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.736Z
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_migration/serverpod_auth_migration_client/CHANGELOG.md (3)
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_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_migration/serverpod_auth_migration_server/CHANGELOG.md (1)
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.
🪛 LanguageTool
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md
[style] ~37-~37: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng a default value for Enum models. - feat(EXPERIMENTAL): Adds support for attachi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~48-~48: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ort for non-nullable Set in models. - fix(EXPERIMENTAL): Includes Uri path in dia...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...cludes Uri path in diagnostic events. - fix(EXPERIMENTAL): Reports diagnostic event...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...OD_SERVER_ID` environmental variable. - feat(EXPERIMENTAL): Adds support for excepti...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...iagnostic events to monitoring tools. - feat(EXPERIMENTAL): Adds API for submitting ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...in different modules. ## 2.2.1 - fix: Fixes an issue where invalid Dart import path...
(FIX_RESOLVE)
[style] ~124-~124: It’s more common nowadays to write this noun as one word.
Context: ...## 2.1.2 - fix: Supports updating full user name in auth module. - fix: Adds missing tr...
(RECOMMENDED_COMPOUNDS)
[misspelling] ~152-~152: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...endpoint methods. - feat: When sending a HTTP 400 Bad Request error message to t...
(EN_A_VS_AN)
[uncategorized] ~152-~152: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rror message may now be included in the client side exception. - fix: Allows Serverpod def...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~165-~165: The preposition ‘to’ seems more likely in this position.
Context: ...es iss value for all possible domains in Sign in with Google. - fix: Add `metho...
(AI_HYDRA_LEO_REPLACE_IN_TO)
[duplication] ~175-~175: Possible typo: you repeated a word.
Context: ... db storage. - fix: Adds logging for when when uploads to buckets fail. - fix: Remove...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~199-~199: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... fix: Adds explicit exception types for client side exceptions. - fix: Correctly sets offse...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~215-~215: It’s more common nowadays to write this noun as one word.
Context: ...llToJson method. - fix: BREAKING. Makes user name nullable in UserInfo. - fix: BREAKING...
(RECOMMENDED_COMPOUNDS)
[grammar] ~231-~231: The operating system from Apple is written “macOS”.
Context: ...le. - feat: Adds client entitlements to MacOS after creating Flutter project. - fix: ...
(MAC_OS)
[uncategorized] ~309-~309: The verb “is” doesn’t seem to fit in this context, “are” is probably more formally correct.
Context: ...ions for updating from 1.1 of Serverpod is available in our documentation [here](h...
(AI_HYDRA_LEO_CPT_IS_ARE)
[style] ~319-~319: Consider using “outdated” to strengthen your wording.
Context: ...ser to update Serverpod when running an old version of the CLI. - feat: Improves ex...
(OLD_VERSION)
[grammar] ~391-~391: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...if the referenced parent table does not exists. - fix: Report an error if the table na...
(DID_BASEFORM)
[uncategorized] ~417-~417: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...Map values. - fix: Restrict length of user defined Postgres identifier names. ### Insight...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~436-~436: Consider a more concise word here.
Context: ... sign in button. - fix: Require consent in order to generate refresh token for Google Signi...
(IN_ORDER_TO_PREMIUM)
[uncategorized] ~453-~453: Possible missing comma found.
Context: ...` option to yaml-files, which is set to true will prevent the code to be generated f...
(AI_HYDRA_LEO_MISSING_COMMA)
[misspelling] ~456-~456: This word is normally spelled as one.
Context: ...s in Relic. - feat: Allows endpoints in sub directories. - feat: Support for GCP Cloud Storage....
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~478-~478: Loose punctuation mark.
Context: ...pose` ## 1.0.0 - First stable release! :D - Fixes incorrectly set database index...
(UNLIKELY_OPENING_PUNCTUATION)
[misspelling] ~491-~491: This word is normally spelled as one.
Context: .../discussions/567) ## 0.9.21 - Supports sub directories for protocol class files. - Updates dep...
(EN_COMPOUNDS_SUB_DIRECTORIES)
[grammar] ~520-~520: After the number ‘404’, use a plural noun. Did you mean “codes”?
Context: ... ## 0.9.15 - Correctly sets 404 return code if no route is matched in Relic web ser...
(CD_NNU)
[uncategorized] ~547-~547: The preposition ‘of’ seems more likely in this position.
Context: ...es the serverpod run command in favor for continuous generation. - Updates depend...
(AI_HYDRA_LEO_REPLACE_FOR_OF)
[uncategorized] ~560-~560: Possible missing comma found.
Context: ...urces. Most notably, only uses one load balancer which will fit within AWS free tier. - ...
(AI_HYDRA_LEO_MISSING_COMMA)
[grammar] ~575-~575: The word ‘install’ is not a noun.
Context: ...w working on Windows. Tested on a fresh install of Windows 10. ## 0.9.6 - Improved, bu...
(A_INSTALL)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md
[uncategorized] ~11-~11: Possible missing comma found.
Context: ...when the client is code generated. When accessing you can simply use the endpoint name in...
(AI_HYDRA_LEO_MISSING_COMMA)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md
[style] ~37-~37: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng a default value for Enum models. - feat(EXPERIMENTAL): Adds support for attachi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[uncategorized] ~42-~42: You might be missing the article “the” here.
Context: ...eries for models without fields or when id column is specified. - fix: Fixes impo...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~43-~43: You might be missing the article “the” here.
Context: ...t issue causing WASM incompatibility in client. - fix: Re-enables support for models n...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~48-~48: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ort for non-nullable Set in models. - fix(EXPERIMENTAL): Includes Uri path in dia...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...cludes Uri path in diagnostic events. - fix(EXPERIMENTAL): Reports diagnostic event...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[uncategorized] ~56-~56: You might be missing the article “an” here.
Context: ...ners in Streaming methods. - feat: Adds option to disable caching for static content m...
(AI_EN_LECTOR_MISSING_DETERMINER_AN)
[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...OD_SERVER_ID` environmental variable. - feat(EXPERIMENTAL): Adds support for excepti...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...iagnostic events to monitoring tools. - feat(EXPERIMENTAL): Adds API for submitting ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[uncategorized] ~80-~80: You might be missing the article “the” here.
Context: ...dpoint definition placement anywhere in server's src directory. - feat: Adds support...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~81-~81: You might be missing the article “the” here.
Context: ...model definitions placement anywhere in server's src directory. - fix: Adds addition...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...in different modules. ## 2.2.1 - fix: Fixes an issue where invalid Dart import path...
(FIX_RESOLVE)
[uncategorized] ~115-~115: This verb may not be in the correct form. Consider using a different form for this context.
Context: ...es current transaction into account for include queries. - fix: Loads passwords from e...
(AI_EN_LECTOR_REPLACEMENT_VERB_FORM)
[style] ~124-~124: It’s more common nowadays to write this noun as one word.
Context: ...## 2.1.2 - fix: Supports updating full user name in auth module. - fix: Adds missing tr...
(RECOMMENDED_COMPOUNDS)
[uncategorized] ~128-~128: You might be missing the article “the” here.
Context: ... letting a user change name or image in auth module. ## 2.1.1 - fix: Posts revoked...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~149-~149: You might be missing the article “the” here.
Context: ...e created without fields. - feat: Adds ability to register custom environment variable...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~150-~150: You might be missing the article “the” here.
Context: ...s to loaded as passwords. - feat: Adds ability to modify maxFileSize and expiration ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[misspelling] ~152-~152: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...endpoint methods. - feat: When sending a HTTP 400 Bad Request error message to t...
(EN_A_VS_AN)
[uncategorized] ~152-~152: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rror message may now be included in the client side exception. - fix: Allows Serverpod def...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~155-~155: You might be missing the article “the” here.
Context: ...on. - fix: Fixes top error handling on server's request handler to ensure proper erro...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~165-~165: The preposition ‘to’ seems more likely in this position.
Context: ...es iss value for all possible domains in Sign in with Google. - fix: Add `metho...
(AI_HYDRA_LEO_REPLACE_IN_TO)
[duplication] ~175-~175: Possible typo: you repeated a word.
Context: ... db storage. - fix: Adds logging for when when uploads to buckets fail. - fix: Remove...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~182-~182: You might be missing the article “the” here.
Context: ...o improve compatibility. - fix: Improve encodeForProtocol method for List and...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~199-~199: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... fix: Adds explicit exception types for client side exceptions. - fix: Correctly sets offse...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~214-~214: You might be missing the article “the” here.
Context: ...ry constructor. - fix: BREAKING. Remove allToJson method. - fix: BREAKING. Makes user nam...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~215-~215: It’s more common nowadays to write this noun as one word.
Context: ...llToJson method. - fix: BREAKING. Makes user name nullable in UserInfo. - fix: BREAKING...
(RECOMMENDED_COMPOUNDS)
[uncategorized] ~219-~219: You might be missing the article “the” here.
Context: ...AKING. Updates transaction interface in database. - fix: BREAKING. Changes `Serializable...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~224-~224: You might be missing the article “the” here.
Context: ...G. Removes customConstructor map from protocol class. - chore: BREAKING. Updates Postg...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[grammar] ~231-~231: The operating system from Apple is written “macOS”.
Context: ...le. - feat: Adds client entitlements to MacOS after creating Flutter project. - fix: ...
(MAC_OS)
[uncategorized] ~231-~231: You might be missing the article “the” here.
Context: ...nt entitlements to MacOS after creating Flutter project. - fix: Improves server only fi...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~246-~246: You might be missing the article “the” here.
Context: ...streaming message handler exceptions to console. - chore: Bumps minimum required Dart v...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~263-~263: You might be missing the article “the” here.
Context: ...callbacks when sending chat messages in chat module. - fix: Updates password hash al...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~284-~284: You might be missing the article “an” here.
Context: ...ation in pool manager. - fix: CLI gives error if non-string value is used as parent k...
(AI_EN_LECTOR_MISSING_DETERMINER_AN)
[uncategorized] ~284-~284: You might be missing the article “a” here.
Context: ...pool manager. - fix: CLI gives error if non-string value is used as parent keyword....
(AI_EN_LECTOR_MISSING_DETERMINER_A)
[uncategorized] ~303-~303: You might be missing the article “the” here.
Context: ... missing table. - fix: Fixes issue with DevTools extension not being bundled with the `s...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~306-~306: You might be missing the article “the” here.
Context: ...: Bumps vm_service version to support latest version. ## 1.2.0 This is a summary of...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~309-~309: The verb “is” doesn’t seem to fit in this context, “are” is probably more formally correct.
Context: ...ions for updating from 1.1 of Serverpod is available in our documentation [here](h...
(AI_HYDRA_LEO_CPT_IS_ARE)
[style] ~319-~319: Consider using “outdated” to strengthen your wording.
Context: ...ser to update Serverpod when running an old version of the CLI. - feat: Improves ex...
(OLD_VERSION)
[uncategorized] ~346-~346: You might be missing the article “the” here.
Context: ... API documentation. - chore: Updates to latest version of Flutter. - chore: Updates de...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~365-~365: You might be missing the article “the” here.
Context: ...sions. - feat: Adds column selection to generated update method. - fix: Adds helpful erro...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~366-~366: You might be missing the article “the” here.
Context: ...d. - fix: Adds helpful error message if wrong table is used for where or orderBy ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~367-~367: You might be missing the article “the” here.
Context: ... or orderBy expression. - fix: Change signature of orderBy and orderByList to callb...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~390-~390: You might be missing the article “the” here.
Context: ...ve a table defined. - fix: Enforce that parent keyword is only used if a model ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[grammar] ~391-~391: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...if the referenced parent table does not exists. - fix: Report an error if the table na...
(DID_BASEFORM)
[uncategorized] ~401-~401: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...otocols. - fix: Enum value restrictions matches default linting in Dart. - fix: Less re...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
[uncategorized] ~412-~412: You might be missing the article “the” here.
Context: ...neration of protocol.yaml. - fix: Use version command to check if a command exists. -...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~417-~417: You might be missing the article “the” here.
Context: ...zing null Map values. - fix: Restrict length of user defined Postgres identifier nam...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~417-~417: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...Map values. - fix: Restrict length of user defined Postgres identifier names. ### Insight...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~421-~421: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...base configuration. - feat: Adds module name and Dart class names to table definitio...
(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)
[uncategorized] ~435-~435: You might be missing the article “the” here.
Context: ...mplete in auth. - fix: Corrects typo in sign in button. - fix: Require consent in or...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~436-~436: Consider a more concise word here.
Context: ... sign in button. - fix: Require consent in order to generate refresh token for Google Signi...
(IN_ORDER_TO_PREMIUM)
[uncategorized] ~453-~453: Possible missing comma found.
Context: ...` option to yaml-files, which is set to true will prevent the code to be generated f...
(AI_HYDRA_LEO_MISSING_COMMA)
[misspelling] ~456-~456: This word is normally spelled as one.
Context: ...s in Relic. - feat: Allows endpoints in sub directories. - feat: Support for GCP Cloud Storage....
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~462-~462: This verb may not be in the correct form. Consider using a different form for this context.
Context: ...fix: Prevents self referencing table to cause serverpod generate to hang. - fix: Ad...
(AI_EN_LECTOR_REPLACEMENT_VERB_FORM)
[uncategorized] ~478-~478: Loose punctuation mark.
Context: ...pose` ## 1.0.0 - First stable release! :D - Fixes incorrectly set database index...
(UNLIKELY_OPENING_PUNCTUATION)
[misspelling] ~491-~491: This word is normally spelled as one.
Context: .../discussions/567) ## 0.9.21 - Supports sub directories for protocol class files. - Updates dep...
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~497-~497: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...fields of UserInfo in the auth module has been removed. These fields need to be r...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
[grammar] ~520-~520: After the number ‘404’, use a plural noun. Did you mean “codes”?
Context: ... ## 0.9.15 - Correctly sets 404 return code if no route is matched in Relic web ser...
(CD_NNU)
[uncategorized] ~521-~521: You might be missing the article “the” here.
Context: ... server. - Templates are updated to use latest version of flutter_lints. - Adds connec...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~535-~535: You might be missing the article “a” here.
Context: ...omatically reconnect to the server when streaming connection is lost. - Automatically upg...
(AI_EN_LECTOR_MISSING_DETERMINER_A)
[uncategorized] ~547-~547: The preposition ‘of’ seems more likely in this position.
Context: ...es the serverpod run command in favor for continuous generation. - Updates depend...
(AI_HYDRA_LEO_REPLACE_FOR_OF)
[uncategorized] ~548-~548: You might be missing the article “the” here.
Context: ...s generation. - Updates dependencies to latest versions. - Cleans up serverpod help ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~560-~560: Possible missing comma found.
Context: ...urces. Most notably, only uses one load balancer which will fit within AWS free tier. - ...
(AI_HYDRA_LEO_MISSING_COMMA)
[uncategorized] ~560-~560: You might be missing the article “the” here.
Context: ...one load balancer which will fit within AWS free tier. - Adds web server to Terrafo...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[grammar] ~575-~575: The word ‘install’ is not a noun.
Context: ...w working on Windows. Tested on a fresh install of Windows 10. ## 0.9.6 - Improved, bu...
(A_INSTALL)
[uncategorized] ~612-~612: You might be missing the article “the” here.
Context: ...tes documentation and logos - Ready for 0.9 release! ## 0.8.12 - Updates default ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
🪛 markdownlint-cli2 (0.17.2)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md
28-28: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
30-30: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
87-87: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
90-90: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
93-93: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
94-94: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
95-95: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
96-96: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
97-97: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
98-98: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
99-99: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
100-100: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
101-101: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
102-102: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
103-103: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
104-104: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
105-105: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
106-106: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
109-109: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
110-110: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
111-111: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
114-114: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
115-115: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
116-116: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
117-117: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
118-118: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
121-121: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
124-124: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
125-125: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
126-126: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
128-128: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
131-131: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
132-132: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
135-135: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
136-136: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
137-137: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
138-138: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
139-139: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
140-140: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
141-141: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
142-142: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
143-143: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
144-144: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
145-145: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
146-146: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
147-147: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
148-148: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
149-149: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
150-150: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
151-151: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
152-152: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
153-153: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
154-154: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
155-155: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
156-156: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
157-157: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
158-158: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
159-159: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
160-160: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
161-161: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
162-162: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
163-163: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
164-164: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
165-165: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
166-166: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
167-167: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
168-168: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
169-169: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
170-170: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
171-171: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
172-172: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
173-173: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
174-174: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
175-175: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
176-176: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
177-177: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
178-178: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md
28-28: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
30-30: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
87-87: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
90-90: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
93-93: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
94-94: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
95-95: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
96-96: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
97-97: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
98-98: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
99-99: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
100-100: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
101-101: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
102-102: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
103-103: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
104-104: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
105-105: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
106-106: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
109-109: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
110-110: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
111-111: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
114-114: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
115-115: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
116-116: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
117-117: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
118-118: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
121-121: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
124-124: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
125-125: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
126-126: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
128-128: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
131-131: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
132-132: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
135-135: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
136-136: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
137-137: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
138-138: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
139-139: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
140-140: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
141-141: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
142-142: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
143-143: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
144-144: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
145-145: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
146-146: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
147-147: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
148-148: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
149-149: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
150-150: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
151-151: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
152-152: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
153-153: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
154-154: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
155-155: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
156-156: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
157-157: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
158-158: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
159-159: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
160-160: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
161-161: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
162-162: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
163-163: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
164-164: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
165-165: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
166-166: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
167-167: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
168-168: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
169-169: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
170-170: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
171-171: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
172-172: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
173-173: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
174-174: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
175-175: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
176-176: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
177-177: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
178-178: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
🪛 YAMLlint (1.37.1)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml
[error] 2-2: trailing spaces
(trailing-spaces)
[error] 5-5: no new line character at the end of file
(new-line-at-end-of-file)
⏰ Context from checks skipped due to timeout of 90000ms (37)
- GitHub Check: Serverpod integration tests (flutter)
- GitHub Check: CLI e2e tests (3.24.0, ubuntu-latest, tests/serverpod_cli_e2e_test)
- GitHub Check: CLI e2e tests (3.32.1, ubuntu-latest, tests/serverpod_cli_e2e_test)
- GitHub Check: Migration e2e tests (3.24.0)
- GitHub Check: Version change test
- GitHub Check: Bootstrap tests (3.32.1, windows-latest, tests/bootstrap_project)
- GitHub Check: Migration e2e tests (3.32.1)
- GitHub Check: Bootstrap tests (3.32.1, ubuntu-latest, tests/bootstrap_project)
- GitHub Check: Bootstrap tests (3.24.0, windows-latest, tests/bootstrap_project)
- GitHub Check: Serverpod concurrent integration tests (server) (3.32.1)
- GitHub Check: Bootstrap tests (3.24.0, ubuntu-latest, tests/bootstrap_project)
- GitHub Check: Serverpod concurrent integration tests (server) (3.24.0)
- GitHub Check: Module integration tests in modules/new_serverpod_auth/serverpod_auth_email_account/serverpod_auth_email_account_server with Flutter 3.32.1
- GitHub Check: dart analyze latest (3.32.1, ubuntu-latest)
- GitHub Check: Serverpod E2E IO tests (3.24.0)
- GitHub Check: dart analyze latest (3.32.1, windows-latest)
- GitHub Check: Serverpod E2E IO tests (3.32.1)
- GitHub Check: Serverpod integration tests (server) (3.24.0)
- GitHub Check: Unit tests IO (3.24.0, ubuntu-latest)
- GitHub Check: Serverpod integration tests (server) (3.32.1)
- GitHub Check: Flutter unit tests (3.24.0, windows-latest, packages/serverpod_flutter)
- GitHub Check: Unit tests IO (3.24.0, windows-latest)
- GitHub Check: Serverpod E2E web tests (3.32.1)
- GitHub Check: Flutter unit tests (3.32.1, windows-latest, packages/serverpod_flutter)
- GitHub Check: Serverpod E2E web tests (3.24.0)
- GitHub Check: Unit tests Web (3.32.1, windows-latest)
- GitHub Check: dart analyze downgrade (3.32.1, ubuntu-latest)
- GitHub Check: Unit tests Web (3.24.0, windows-latest)
- GitHub Check: Unit tests IO (3.32.1, windows-latest)
- GitHub Check: Unit tests IO (3.32.1, ubuntu-latest)
- GitHub Check: dart analyze downgrade (3.24.0, ubuntu-latest)
- GitHub Check: serverpod generate (3.32.1)
- GitHub Check: dart analyze downgrade (3.32.1, windows-latest)
- GitHub Check: dart analyze (3.24.0, ubuntu-latest)
- GitHub Check: dart analyze downgrade (3.24.0, windows-latest)
- GitHub Check: serverpod generate (3.24.0)
- GitHub Check: dart analyze (3.24.0, windows-latest)
🔇 Additional comments (8)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md (1)
1-650: Skip: Auto-generated CHANGELOG.md
This file is produced by theutil/update_pubspecsscript and is overwritten automatically. It should be excluded from manual review.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/serverpod_auth_migration_server.dart (1)
1-4: LGTM! Clean and well-organized library exports.The export structure properly exposes the core business logic and generated code modules for the migration functionality.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md (1)
1-651: Auto-generated changelog - no manual modifications needed.Based on retrieved learnings, this CHANGELOG.md file is auto-generated and should not be manually modified during the development process.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (4)
23-91: Excellent migration logic with proper transaction handling.The method correctly handles all migration scenarios including existing accounts, authentication validation, and atomic transaction processing. The cleanup of old AuthKey after migration is properly implemented.
98-147: Sound implementation for password-less migration.The method correctly handles password-less migration scenarios with proper transaction support and early returns for existing accounts.
149-185: Well-structured helper method for user migration.The method correctly handles duplicate migration prevention, user creation, optional profile import, and migration tracking.
187-222: Proper profile import with robust error handling.The method correctly creates user profiles and handles image migration with appropriate error handling that logs failures without blocking the overall migration process.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart (1)
1-520: Comprehensive test coverage with excellent scenario coverage.The test suite thoroughly covers all migration scenarios including:
- Non-existent accounts
- Valid and invalid credentials
- Blocked users
- Profile import configurations
- Password migration workflows
- Database state validation
The test structure using
withServerpodprovides proper isolation and the comprehensive assertions validate both success and failure cases effectively.
|
Requires #3690 to be merged first. |
df116c0 to
506a402
Compare
506a402 to
af0f4a1
Compare
5e037e0 to
62d8e4e
Compare
|
@SandPod Since this was rebased on I double-checked that the "generate" does not contain any implementation files. These were the individual commits working on the comments from this PR (as that is tricky to see in GitHub web): |
|
@coderabbitai full review Focus especially on 62d8e4e |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@tp I'll examine the specific commit you mentioned and provide a focused review. 🏁 Script executed: Length of output: 86111 🏁 Script executed: Length of output: 8414 🏁 Script executed: Length of output: 3568 🏁 Script executed: Length of output: 2640 @tp Great work on the focused implementation! Here's my review of commit 62d8e4e: 🎯 Core Implementation AnalysisExcellent Design Decisions:
Smart Implementation Details:// Excellent: Removes old auth key to prevent session leakage
await legacy_auth.AuthKey.db.deleteWhere(
session,
where: (final t) => t.id.equals(authenticationResult.keyId!),
transaction: transaction,
);// Good: Handles password backfill scenario elegantly
if (emailAccountInfo != null && !emailAccountInfo.hasPassword) {
await new_email_account.EmailAccounts.admin.setPassword(/*...*/);
return;
}Data Model Design:The 🧪 Test Coverage AssessmentThe integration tests cover critical scenarios:
🔍 Minor Suggestions:
session.log('Migrating user ${userInfo.id} from legacy auth', level: LogLevel.info);
✅ Security & Reliability
Overall Assessment: This is a well-architected, robust implementation that handles the complex migration scenarios thoughtfully. The code demonstrates excellent understanding of both the legacy and new authentication systems, with proper error handling and transaction safety. The comprehensive test coverage gives confidence in the reliability of the migration process. 🐰 |
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml (1)
2-5: Fix YAML lint errors.Remove the trailing space after
categories:(line 2) and add a newline at EOF to satisfy YAMLlint.dartdoc: - categories: + categories: "Endpoint": markdown: doc/endpoint.md name: Endpoint +
🧹 Nitpick comments (2)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md (1)
11-11: Grammar: Add missing commas for clarity.Refine the sentence as follows:
-The name "EndpointClass" where Class is your class name will have the "Endpoint" part stripped when the client is code generated. When accessing you can simply use the endpoint name in lowercase. +The name "EndpointClass", where Class is your class name, will have the "Endpoint" part stripped when the client is code generated. When accessing, you can simply use the endpoint name in lowercase.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (1)
12-13: Fix grammatical error in class documentation.The documentation comment has a grammatical error: "Helper functions to migration" should be "Helper functions to migrate" or "Helper functions for migration".
-/// Helper functions to migration email accounts from `serverpod_auth` to +/// Helper functions to migrate email accounts from `serverpod_auth` to
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (12)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/client.dartis excluded by!**/lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/src/protocol/protocol.dartis excluded by!**/lib/src/protocol/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/endpoints.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/migrated_user.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.dartis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/generated/protocol.yamlis excluded by!**/generated/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition.sqlis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/definition_project.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/migration.jsonis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/20250617075139838/migration.sqlis excluded by!**/migrations/**modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/migrations/migration_registry.txtis excluded by!**/migrations/**
📒 Files selected for processing (32)
.github/workflows/dart-tests.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/.gitignore(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/analysis_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/serverpod_auth_migration_client.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/.gitignore(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/analysis_options.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/generator.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/passwords.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/test.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/dart_test.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/docker-compose.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/serverpod_auth_migration_server.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email_config.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/models/migrated_user.spy.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart(1 hunks)modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart(1 hunks)templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml(1 hunks)templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml(1 hunks)util/generate_all(1 hunks)util/pub_get_all(1 hunks)util/recreate_all_migrations(1 hunks)util/run_tests_analyze(1 hunks)util/update_pubspecs(2 hunks)
✅ Files skipped from review due to trivial changes (2)
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/passwords.yaml
- templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml
🚧 Files skipped from review as they are similar to previous changes (25)
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email_config.dart
- .github/workflows/dart-tests.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/README.md
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/dart_test.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/analysis_options.yaml
- util/run_tests_analyze
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/analysis_options.yaml
- util/pub_get_all
- util/update_pubspecs
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/.gitignore
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/README.md
- util/recreate_all_migrations
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/lib/serverpod_auth_migration_client.dart
- templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml
- util/generate_all
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/docker-compose.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/test.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/serverpod_auth_migration_server.dart
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/config/generator.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/pubspec.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/pubspec.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/models/migrated_user.spy.yaml
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/test_tools/serverpod_test_tools.dart
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/test/integration/auth_migration_email_test.dart
- modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/.gitignore
🧰 Additional context used
🧠 Learnings (3)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md (1)
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.
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (3)
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:0-0
Timestamp: 2025-06-17T13:04:19.522Z
Learning: In serverpod_auth_migration profile image migration, the image must be fetched from the URL rather than just copying the URL because the database schema requires storing the storage bucket and relative path information in addition to the public URL. This storage information is necessary for proper cleanup when profiles are deleted. The fetch approach works fine in production but requires localhost exclusion in testing environments where no HTTP file server is running.
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.736Z
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#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.736Z
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_migration/serverpod_auth_migration_client/CHANGELOG.md (3)
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_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.
🪛 LanguageTool
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md
[style] ~37-~37: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng a default value for Enum models. - feat(EXPERIMENTAL): Adds support for attachi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~48-~48: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ort for non-nullable Set in models. - fix(EXPERIMENTAL): Includes Uri path in dia...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...cludes Uri path in diagnostic events. - fix(EXPERIMENTAL): Reports diagnostic event...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...OD_SERVER_ID` environmental variable. - feat(EXPERIMENTAL): Adds support for excepti...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...iagnostic events to monitoring tools. - feat(EXPERIMENTAL): Adds API for submitting ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...in different modules. ## 2.2.1 - fix: Fixes an issue where invalid Dart import path...
(FIX_RESOLVE)
[style] ~124-~124: It’s more common nowadays to write this noun as one word.
Context: ...## 2.1.2 - fix: Supports updating full user name in auth module. - fix: Adds missing tr...
(RECOMMENDED_COMPOUNDS)
[misspelling] ~152-~152: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...endpoint methods. - feat: When sending a HTTP 400 Bad Request error message to t...
(EN_A_VS_AN)
[uncategorized] ~152-~152: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rror message may now be included in the client side exception. - fix: Allows Serverpod def...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~165-~165: The preposition ‘to’ seems more likely in this position.
Context: ...es iss value for all possible domains in Sign in with Google. - fix: Add `metho...
(AI_HYDRA_LEO_REPLACE_IN_TO)
[duplication] ~175-~175: Possible typo: you repeated a word.
Context: ... db storage. - fix: Adds logging for when when uploads to buckets fail. - fix: Remove...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~199-~199: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... fix: Adds explicit exception types for client side exceptions. - fix: Correctly sets offse...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~215-~215: It’s more common nowadays to write this noun as one word.
Context: ...llToJson method. - fix: BREAKING. Makes user name nullable in UserInfo. - fix: BREAKING...
(RECOMMENDED_COMPOUNDS)
[grammar] ~231-~231: The operating system from Apple is written “macOS”.
Context: ...le. - feat: Adds client entitlements to MacOS after creating Flutter project. - fix: ...
(MAC_OS)
[uncategorized] ~309-~309: The verb “is” doesn’t seem to fit in this context, “are” is probably more formally correct.
Context: ...ions for updating from 1.1 of Serverpod is available in our documentation [here](h...
(AI_HYDRA_LEO_CPT_IS_ARE)
[style] ~319-~319: Consider using “outdated” to strengthen your wording.
Context: ...ser to update Serverpod when running an old version of the CLI. - feat: Improves ex...
(OLD_VERSION)
[grammar] ~391-~391: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...if the referenced parent table does not exists. - fix: Report an error if the table na...
(DID_BASEFORM)
[uncategorized] ~417-~417: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...Map values. - fix: Restrict length of user defined Postgres identifier names. ### Insight...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[style] ~436-~436: Consider a more concise word here.
Context: ... sign in button. - fix: Require consent in order to generate refresh token for Google Signi...
(IN_ORDER_TO_PREMIUM)
[uncategorized] ~453-~453: Possible missing comma found.
Context: ...` option to yaml-files, which is set to true will prevent the code to be generated f...
(AI_HYDRA_LEO_MISSING_COMMA)
[misspelling] ~456-~456: This word is normally spelled as one.
Context: ...s in Relic. - feat: Allows endpoints in sub directories. - feat: Support for GCP Cloud Storage....
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~478-~478: Loose punctuation mark.
Context: ...pose` ## 1.0.0 - First stable release! :D - Fixes incorrectly set database index...
(UNLIKELY_OPENING_PUNCTUATION)
[misspelling] ~491-~491: This word is normally spelled as one.
Context: .../discussions/567) ## 0.9.21 - Supports sub directories for protocol class files. - Updates dep...
(EN_COMPOUNDS_SUB_DIRECTORIES)
[grammar] ~520-~520: After the number ‘404’, use a plural noun. Did you mean “codes”?
Context: ... ## 0.9.15 - Correctly sets 404 return code if no route is matched in Relic web ser...
(CD_NNU)
[uncategorized] ~547-~547: The preposition ‘of’ seems more likely in this position.
Context: ...es the serverpod run command in favor for continuous generation. - Updates depend...
(AI_HYDRA_LEO_REPLACE_FOR_OF)
[uncategorized] ~560-~560: Possible missing comma found.
Context: ...urces. Most notably, only uses one load balancer which will fit within AWS free tier. - ...
(AI_HYDRA_LEO_MISSING_COMMA)
[grammar] ~575-~575: The word ‘install’ is not a noun.
Context: ...w working on Windows. Tested on a fresh install of Windows 10. ## 0.9.6 - Improved, bu...
(A_INSTALL)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md
[style] ~37-~37: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ng a default value for Enum models. - feat(EXPERIMENTAL): Adds support for attachi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~48-~48: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ort for non-nullable Set in models. - fix(EXPERIMENTAL): Includes Uri path in dia...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...cludes Uri path in diagnostic events. - fix(EXPERIMENTAL): Reports diagnostic event...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~59-~59: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...OD_SERVER_ID` environmental variable. - feat(EXPERIMENTAL): Adds support for excepti...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~60-~60: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...iagnostic events to monitoring tools. - feat(EXPERIMENTAL): Adds API for submitting ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[uncategorized] ~80-~80: You might be missing the article “the” here.
Context: ...dpoint definition placement anywhere in server's src directory. - feat: Adds support...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~90-~90: Consider using a different verb for a more formal wording.
Context: ...in different modules. ## 2.2.1 - fix: Fixes an issue where invalid Dart import path...
(FIX_RESOLVE)
[uncategorized] ~115-~115: This verb may not be in the correct form. Consider using a different form for this context.
Context: ...es current transaction into account for include queries. - fix: Loads passwords from e...
(AI_EN_LECTOR_REPLACEMENT_VERB_FORM)
[style] ~124-~124: It’s more common nowadays to write this noun as one word.
Context: ...## 2.1.2 - fix: Supports updating full user name in auth module. - fix: Adds missing tr...
(RECOMMENDED_COMPOUNDS)
[uncategorized] ~128-~128: You might be missing the article “the” here.
Context: ... letting a user change name or image in auth module. ## 2.1.1 - fix: Posts revoked...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~150-~150: You might be missing the article “the” here.
Context: ...s to loaded as passwords. - feat: Adds ability to modify maxFileSize and expiration ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[misspelling] ~152-~152: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...endpoint methods. - feat: When sending a HTTP 400 Bad Request error message to t...
(EN_A_VS_AN)
[uncategorized] ~152-~152: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...rror message may now be included in the client side exception. - fix: Allows Serverpod def...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~155-~155: You might be missing the article “the” here.
Context: ...on. - fix: Fixes top error handling on server's request handler to ensure proper erro...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[duplication] ~175-~175: Possible typo: you repeated a word.
Context: ... db storage. - fix: Adds logging for when when uploads to buckets fail. - fix: Remove...
(ENGLISH_WORD_REPEAT_RULE)
[uncategorized] ~199-~199: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... fix: Adds explicit exception types for client side exceptions. - fix: Correctly sets offse...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~214-~214: You might be missing the article “the” here.
Context: ...ry constructor. - fix: BREAKING. Remove allToJson method. - fix: BREAKING. Makes user nam...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~215-~215: It’s more common nowadays to write this noun as one word.
Context: ...llToJson method. - fix: BREAKING. Makes user name nullable in UserInfo. - fix: BREAKING...
(RECOMMENDED_COMPOUNDS)
[uncategorized] ~219-~219: You might be missing the article “the” here.
Context: ...AKING. Updates transaction interface in database. - fix: BREAKING. Changes `Serializable...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~224-~224: You might be missing the article “the” here.
Context: ...G. Removes customConstructor map from protocol class. - chore: BREAKING. Updates Postg...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[grammar] ~231-~231: The operating system from Apple is written “macOS”.
Context: ...le. - feat: Adds client entitlements to MacOS after creating Flutter project. - fix: ...
(MAC_OS)
[uncategorized] ~231-~231: You might be missing the article “the” here.
Context: ...nt entitlements to MacOS after creating Flutter project. - fix: Improves server only fi...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~246-~246: You might be missing the article “the” here.
Context: ...streaming message handler exceptions to console. - chore: Bumps minimum required Dart v...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~263-~263: You might be missing the article “the” here.
Context: ...callbacks when sending chat messages in chat module. - fix: Updates password hash al...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~284-~284: You might be missing the article “an” here.
Context: ...ation in pool manager. - fix: CLI gives error if non-string value is used as parent k...
(AI_EN_LECTOR_MISSING_DETERMINER_AN)
[uncategorized] ~284-~284: You might be missing the article “a” here.
Context: ...pool manager. - fix: CLI gives error if non-string value is used as parent keyword....
(AI_EN_LECTOR_MISSING_DETERMINER_A)
[uncategorized] ~303-~303: You might be missing the article “the” here.
Context: ... missing table. - fix: Fixes issue with DevTools extension not being bundled with the `s...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~306-~306: You might be missing the article “the” here.
Context: ...: Bumps vm_service version to support latest version. ## 1.2.0 This is a summary of...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~309-~309: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...ions for updating from 1.1 of Serverpod is available in our documentation [here](h...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
[style] ~319-~319: Consider using “outdated” to strengthen your wording.
Context: ...ser to update Serverpod when running an old version of the CLI. - feat: Improves ex...
(OLD_VERSION)
[uncategorized] ~365-~365: You might be missing the article “the” here.
Context: ...sions. - feat: Adds column selection to generated update method. - fix: Adds helpful erro...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~366-~366: You might be missing the article “the” here.
Context: ...d. - fix: Adds helpful error message if wrong table is used for where or orderBy ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~367-~367: You might be missing the article “the” here.
Context: ... or orderBy expression. - fix: Change signature of orderBy and orderByList to callb...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~390-~390: You might be missing the article “the” here.
Context: ...ve a table defined. - fix: Enforce that parent keyword is only used if a model ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[grammar] ~391-~391: The auxiliary verb ‘do’ requires the base form of the verb.
Context: ...if the referenced parent table does not exists. - fix: Report an error if the table na...
(DID_BASEFORM)
[uncategorized] ~401-~401: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...otocols. - fix: Enum value restrictions matches default linting in Dart. - fix: Less re...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
[uncategorized] ~412-~412: You might be missing the article “the” here.
Context: ...neration of protocol.yaml. - fix: Use version command to check if a command exists. -...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~417-~417: You might be missing the article “the” here.
Context: ...zing null Map values. - fix: Restrict length of user defined Postgres identifier nam...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~417-~417: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...Map values. - fix: Restrict length of user defined Postgres identifier names. ### Insight...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[uncategorized] ~421-~421: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...base configuration. - feat: Adds module name and Dart class names to table definitio...
(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)
[uncategorized] ~435-~435: You might be missing the article “the” here.
Context: ...mplete in auth. - fix: Corrects typo in sign in button. - fix: Require consent in or...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[style] ~436-~436: Consider a more concise word here.
Context: ... sign in button. - fix: Require consent in order to generate refresh token for Google Signi...
(IN_ORDER_TO_PREMIUM)
[misspelling] ~456-~456: This word is normally spelled as one.
Context: ...s in Relic. - feat: Allows endpoints in sub directories. - feat: Support for GCP Cloud Storage....
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~462-~462: This verb may not be in the correct form. Consider using a different form for this context.
Context: ...fix: Prevents self referencing table to cause serverpod generate to hang. - fix: Ad...
(AI_EN_LECTOR_REPLACEMENT_VERB_FORM)
[uncategorized] ~478-~478: Loose punctuation mark.
Context: ...pose` ## 1.0.0 - First stable release! :D - Fixes incorrectly set database index...
(UNLIKELY_OPENING_PUNCTUATION)
[misspelling] ~491-~491: This word is normally spelled as one.
Context: .../discussions/567) ## 0.9.21 - Supports sub directories for protocol class files. - Updates dep...
(EN_COMPOUNDS_SUB_DIRECTORIES)
[uncategorized] ~497-~497: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...fields of UserInfo in the auth module has been removed. These fields need to be r...
(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
[grammar] ~520-~520: After the number ‘404’, use a plural noun. Did you mean “codes”?
Context: ... ## 0.9.15 - Correctly sets 404 return code if no route is matched in Relic web ser...
(CD_NNU)
[uncategorized] ~521-~521: You might be missing the article “the” here.
Context: ... server. - Templates are updated to use latest version of flutter_lints. - Adds connec...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~535-~535: You might be missing the article “a” here.
Context: ...omatically reconnect to the server when streaming connection is lost. - Automatically upg...
(AI_EN_LECTOR_MISSING_DETERMINER_A)
[uncategorized] ~547-~547: The preposition “of” seems more likely in this position.
Context: ...es the serverpod run command in favor for continuous generation. - Updates depend...
(AI_EN_LECTOR_REPLACEMENT_PREPOSITION)
[uncategorized] ~548-~548: You might be missing the article “the” here.
Context: ...s generation. - Updates dependencies to latest versions. - Cleans up serverpod help ...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[grammar] ~575-~575: The word ‘install’ is not a noun.
Context: ...w working on Windows. Tested on a fresh install of Windows 10. ## 0.9.6 - Improved, bu...
(A_INSTALL)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/doc/endpoint.md
[uncategorized] ~11-~11: Possible missing comma found.
Context: ...when the client is code generated. When accessing you can simply use the endpoint name in...
(AI_HYDRA_LEO_MISSING_COMMA)
🪛 markdownlint-cli2 (0.17.2)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md
28-28: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
30-30: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
87-87: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
90-90: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
93-93: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
94-94: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
95-95: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
96-96: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
97-97: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
98-98: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
99-99: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
100-100: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
101-101: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
102-102: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
103-103: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
104-104: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
105-105: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
106-106: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
109-109: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
110-110: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
111-111: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
114-114: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
115-115: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
116-116: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
117-117: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
118-118: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
121-121: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
124-124: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
125-125: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
126-126: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
128-128: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
131-131: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
132-132: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
135-135: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
136-136: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
137-137: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
138-138: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
139-139: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
140-140: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
141-141: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
142-142: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
143-143: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
144-144: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
145-145: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
146-146: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
147-147: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
148-148: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
149-149: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
150-150: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
151-151: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
152-152: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
153-153: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
154-154: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
155-155: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
156-156: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
157-157: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
158-158: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
159-159: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
160-160: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
161-161: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
162-162: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
163-163: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
164-164: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
165-165: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
166-166: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
167-167: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
168-168: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
169-169: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
170-170: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
171-171: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
172-172: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
173-173: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
174-174: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
175-175: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
176-176: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
177-177: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
178-178: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md
28-28: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
29-29: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
30-30: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
87-87: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
90-90: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
93-93: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
94-94: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
95-95: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
96-96: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
97-97: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
98-98: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
99-99: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
100-100: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
101-101: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
102-102: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
103-103: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
104-104: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
105-105: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
106-106: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
109-109: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
110-110: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
111-111: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
114-114: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
115-115: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
116-116: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
117-117: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
118-118: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
121-121: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
124-124: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
125-125: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
126-126: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
127-127: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
128-128: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
131-131: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
132-132: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
135-135: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
136-136: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
137-137: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
138-138: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
139-139: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
140-140: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
141-141: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
142-142: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
143-143: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
144-144: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
145-145: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
146-146: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
147-147: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
148-148: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
149-149: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
150-150: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
151-151: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
152-152: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
153-153: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
154-154: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
155-155: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
156-156: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
157-157: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
158-158: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
159-159: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
160-160: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
161-161: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
162-162: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
163-163: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
164-164: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
165-165: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
166-166: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
167-167: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
168-168: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
169-169: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
170-170: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
171-171: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
172-172: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
173-173: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
174-174: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
175-175: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
176-176: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
177-177: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
178-178: Unordered list indentation
Expected: 0; Actual: 1
(MD007, ul-indent)
🪛 YAMLlint (1.37.1)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/dartdoc_options.yaml
[error] 2-2: trailing spaces
(trailing-spaces)
[error] 5-5: no new line character at the end of file
(new-line-at-end-of-file)
🔇 Additional comments (6)
modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/CHANGELOG.md (1)
1-650: Skip review: Auto-generated file
This CHANGELOG.md is generated automatically and should not be manually edited.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_client/CHANGELOG.md (1)
1-650: Skip review of auto-generated CHANGELOG.mdThis file is generated by the
util/update_pubspecsscript and should be ignored in code reviews.modules/new_serverpod_auth/serverpod_auth_migration/serverpod_auth_migration_server/lib/src/business/auth_migration_email.dart (4)
38-110: Well-structured migration method with proper transaction handling.The
migrateOnLoginmethod correctly handles the complex migration scenarios:
- ✅ Email normalization for consistency
- ✅ Early return for already-migrated accounts with passwords
- ✅ Legacy authentication validation
- ✅ Auth key cleanup to prevent leakage
- ✅ Password backfill for existing accounts without passwords
- ✅ Atomic transaction wrapping for user migration and email auth creation
The logic flow aligns well with the PR objectives and handles edge cases appropriately.
122-178: Background migration method correctly implemented.The
migrateWithoutPasswordmethod properly handles background migration:
- ✅ Consistent email normalization
- ✅ Early return for already-migrated accounts
- ✅ Legacy system lookup with proper null handling
- ✅ Atomic transaction wrapping
- ✅ Creates email authentication without password as intended
The implementation aligns with the PR objectives for background migration of inactive accounts.
180-216: User migration helper method is well-implemented.The
_migrateUserIfNeededmethod correctly handles user migration:
- ✅ Checks for existing migration to prevent duplicates
- ✅ Preserves user state (blocked, scopes) from legacy system
- ✅ Configurable profile import behavior
- ✅ Creates migration tracking record
- ✅ Requires transaction parameter for proper atomicity
The implementation ensures idempotency and proper data preservation during migration.
218-253: Profile import method handles image migration correctly.The
_importProfilemethod properly handles profile data migration:
- ✅ Creates user profile with all legacy data fields
- ✅ Robust URL parsing with null checks
- ✅ Proper error handling around image fetching
- ✅ Comprehensive logging for debugging
- ✅ Continues migration even if image fails
The image fetching approach is correct per the database schema requirements for storage bucket and path information needed for proper cleanup.
62d8e4e to
ea58a91
Compare
…t of email-based accounts - `migrateOnLogin`: For importing a user during the login call, if the credentials match in the old system - `migrateWithoutPassword`: For background processes and any other occasion (e.g. account creation, password reset) where the plain-text password from the client is not available, and thus the user can only be migrated without password
ea58a91 to
a932c3f
Compare
SandPod
left a comment
There was a problem hiding this comment.
Solution looks good and solid! 👍
Looking forward to seeing this in action.
Just have one last discussion to close around migrating to custom profile.
I don't think that's an issue at all. If later on they decide to drop the migration and default endpoint packages and rather create there own without I would be open to revisit the profile migration, but then we should probably find a way that also aligns with the Maybe we should have an This is probably little code in the end, but a lot of design work and discussions, so I think I would defer it for now and create a follow-up issue gathering these points. Edit: Added #3709 |

Adds a new migration package that can be used to import existing users ("profiles") and authentication methods (now called "providers") from the current
serverpod_authpackage to the newly createdserverpod_auth_*ones.For starters this supports migrating profiles and their associated email based accounts.
This is achieved by providing 2 methods:
emailandpasswordemailmigrateOnLoginis supposed to be called before a login takes place (e.g. in the exposed endpoint'sloginmethod), and would migrate any existing email-based user from the old system into the new one, if one could be found and the credentials match. In case no user is found or the credentials are not valid (or the user is blocked) this does not do anything (apart from increasing the rate-limit…).migrateWithoutPasswordis meant to be called in the background, e.g. by a Future-call, to migrate accounts which are not actively used. Since the password hashing changed in the new package and we don't have access to the plain-text password in this method, this can not migrate the password, but instead leaves that empty, so that all password-based logins for these accounts would fail, unlessmigrateOnLoginis called for such an account, in which case the missing password will be transferred from the old system.To support these migrations, 3 new methods had to be added to
EmailAccountsAdmin:findAccount: A simple look-up that can tell whether a givenemailis already known in the new system. In this case no further attempt at migrating the user is made (unless the password is still missing, in which case that will be backfilled bymigrateOnLogin).createEmailAuthentication: A low-level helper to "forcefully" create an email/password based authentication, whereby the email is automatically trusted (i.e. the verification flow is skipped).setPassword: Helper to directly set the password on an account. This is used bymigrateOnLoginto backfill a missing password.For each successful migration a
MigratedUseris written to the database, which is a mapping from the oldUserInfoto the newAuthUser(with full foreign key support).This will become useful when adding support for further providers in this new module, so we can look-up whether a user has already been migrated and then only add the next provider as a further authentication method without attempting to migrate the profile data again.
Relates to #3450
Closes #3648
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Tests
Chores