Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] adjust migration job #17730

Merged
merged 1 commit into from
May 24, 2023
Merged

[server] adjust migration job #17730

merged 1 commit into from
May 24, 2023

Conversation

svenefftinge
Copy link
Member

@svenefftinge svenefftinge commented May 24, 2023

Description

Increases the amount of users migrated per job run and adds more log information

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

/hold

@svenefftinge svenefftinge requested a review from a team May 24, 2023 09:07
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label May 24, 2023
@@ -33,8 +33,9 @@ export class OrgOnlyMigrationJob implements Job {

const result: User[] = [];
for (const user of users) {
result.push(await this.migrationService.migrateUser(user));
result.push(await this.migrationService.migrateUser(user, true, this.name));
Copy link
Member

@geropl geropl May 24, 2023

Choose a reason for hiding this comment

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

Before the 2nd argument was false, right? Is that intended?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, but it should be true

Copy link
Member

Choose a reason for hiding this comment

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

Awh, makes sense. 💡

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

LGTM! ✔️

@svenefftinge
Copy link
Member Author

/unhold

@roboquat roboquat merged commit c05976e into main May 24, 2023
@roboquat roboquat deleted the se/migration-job-adjustment branch May 24, 2023 09:35
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production size/S team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants