Skip to content

UserSession migration to SQL (dual use in Postgres and Datastore)#9482

Merged
isoos merged 6 commits into
dart-lang:masterfrom
isoos:sql-usersession
Jul 14, 2026
Merged

UserSession migration to SQL (dual use in Postgres and Datastore)#9482
isoos merged 6 commits into
dart-lang:masterfrom
isoos:sql-usersession

Conversation

@isoos

@isoos isoos commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@isoos
isoos requested a review from jonasfj July 13, 2026 11:43
@isoos
isoos force-pushed the sql-usersession branch from 3c611ed to 622144b Compare July 13, 2026 12:06
Comment on lines +18 to +20
_logger.info('Backfill SQL UserSessions');
await accountBackend.copyUserSessionsFromDatastoreToSql();
await accountBackend.copyUserSessionsFromSqlToDatastore();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wouldn't it be better to just make a dedicated action for each of these.

This is for things that are manually invoked right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is a periodic task, run daily (first at deployment time).

Comment thread app/lib/account/backend.dart Outdated
@isoos
isoos merged commit 30538e0 into dart-lang:master Jul 14, 2026
36 checks passed
@isoos
isoos deleted the sql-usersession branch July 14, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants