Skip to content

remove configuration responsible for transitioning to logical synchronizer deployment#5708

Merged
mblaze-da merged 5 commits into
mainfrom
mblaze-da/lsu-intro-config-cleanup/5707
Jun 1, 2026
Merged

remove configuration responsible for transitioning to logical synchronizer deployment#5708
mblaze-da merged 5 commits into
mainfrom
mblaze-da/lsu-intro-config-cleanup/5707

Conversation

@mblaze-da
Copy link
Copy Markdown
Contributor

@mblaze-da mblaze-da commented May 27, 2026

part of #5707

cluster test: https://app.circleci.com/pipelines/github/DACH-NY/canton-network-internal/67412
lsu test: https://app.circleci.com/pipelines/github/DACH-NY/canton-network-internal/67605

Somehow, I managed to break the base deployment in an lsu_test but it still works in a cluster_test. AFAICT the issue in lsu_test was that the participant script responsible for creating the DB had some auth issues but I'm not sure. I did not touch the postgres layer so I'm wondering if it wasn't broken already before my change.

@canton-network-da
Copy link
Copy Markdown
Contributor

[backport] Reminder

Please consider backporting to the following branches:

  • release-line-0.6.5
  • release-line-0.6.4
  • release-line-0.6.3
  • release-line-0.6.2

▶️ Please check the boxes for branches that you wish to backport to and backport PRs will
automatically be created when you merge this PR.

And your PR is currently against base branch: main.

Note: Any PR comment containing [backport] will be considered for auto-backporting upon merge,
you can always add those manually for PRs that did not get these reminders. You can also edit
this comment manually and add more branches that this should be backported to.

…nizer deployment

[static]

Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
@mblaze-da mblaze-da force-pushed the mblaze-da/lsu-intro-config-cleanup/5707 branch from ca25f89 to fd946f3 Compare May 27, 2026 20:01
@mblaze-da mblaze-da requested a review from nicu-da May 28, 2026 10:39
Copy link
Copy Markdown
Contributor

@nicu-da nicu-da left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

if [ "$#" -gt 1 ]; then
_error "Usage: $SCRIPTNAME enable_logical_synchronizer_deployment [migration_type (Default: active)]"
fi
_update_cluster_config 'true' "synchronizerMigration.$migration_type.enableLogicalSynchronizerDeploymentMode"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

any reason not to just remove it in one go? (will require we update the splice bump to remove it's usage but might be easier)
works either way for me, though in this scenario we might wanna add a todo for it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm planning to immediately follow up with a splice-bump, pr to internal and lastly a PR to splice that cleans those up.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The main purpose for leaving those was that I wanted to do an lsu_test and conclude that I did not break anything. But the test failed on base deploy :/ I'm really confused why it did not fail in the same way when doing a cluster_test.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

does it make sense that this file is in common now? can we move it to the sv project?

Comment thread cluster/pulumi/sv/src/participant.ts
attachPvc: z.boolean().default(true),
lsuEnabled: z.boolean().default(false),
frozenMigrationId: z.number().optional(),
// legacy config, to be removed once all usage is removed
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same point as above, either we purge it in one go or we add a todo item

Comment thread cluster/pulumi/sv-canton/src/canton.ts Outdated
withAddedDependencies(opts, ledgerApiUserSecret ? [ledgerApiUserSecret] : [])
)
: { chart: undefined, db: undefined };
const { chart: participant, db: participantDb } = { chart: undefined, db: undefined };
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

does this still make sense to even keep here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right, forgot to remove those.

mblaze-da added 3 commits May 28, 2026 11:54
[static]

Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
[static]

Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
[static]

Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
@canton-network canton-network deleted a comment from github-actions Bot May 28, 2026
@canton-network canton-network deleted a comment from github-actions Bot May 28, 2026
@mblaze-da
Copy link
Copy Markdown
Contributor Author

/cluster_test

@github-actions
Copy link
Copy Markdown

Deploy cluster test triggered for Commit d8a7239678f5aa3729815aa9f15eb71d1f3410c4 in , please contact a Contributor to approve it in CircleCI: https://app.circleci.com/pipelines/github/DACH-NY/canton-network-internal/67411

@canton-network canton-network deleted a comment from github-actions Bot May 29, 2026
@canton-network canton-network deleted a comment from github-actions Bot May 29, 2026
@mblaze-da
Copy link
Copy Markdown
Contributor Author

/lsu_test

@github-actions
Copy link
Copy Markdown

Deploy LSU pipeline triggered for Commit d8a7239678f5aa3729815aa9f15eb71d1f3410c4 in , please contact a Contributor to approve it in CircleCI: https://app.circleci.com/pipelines/github/DACH-NY/canton-network-internal/67604

[static]

Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
@mblaze-da mblaze-da enabled auto-merge (squash) June 1, 2026 08:34
@mblaze-da mblaze-da merged commit 29fd6c7 into main Jun 1, 2026
47 checks passed
@mblaze-da mblaze-da deleted the mblaze-da/lsu-intro-config-cleanup/5707 branch June 1, 2026 08:42
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.

3 participants