Skip to content

chore: prepare for soft-deployment (v2.9.4)#968

Open
v0idpwn wants to merge 7 commits intomainfrom
appups-for-db-connection
Open

chore: prepare for soft-deployment (v2.9.4)#968
v0idpwn wants to merge 7 commits intomainfrom
appups-for-db-connection

Conversation

@v0idpwn
Copy link
Copy Markdown
Member

@v0idpwn v0idpwn commented May 5, 2026

Since we are bumping DbConnection, needed an appup for it and some
adjustments in our soft deployment generation.

v0idpwn added 2 commits May 5, 2026 14:32
Since we are bumping DbConnection, needed an appup for it and some
adjustments in our soft deployment generation.
@v0idpwn v0idpwn requested a review from a team as a code owner May 5, 2026 17:52
Comment thread mix.exs Outdated
Comment thread lib/supavisor/hot_upgrade/db_connection_migration.ex Fixed
Comment thread lib/supavisor/hot_upgrade/db_connection_migration.ex Fixed
Comment thread mix.exs
# If appups directory exist, don't run the task to generate, and instead
# use the existing appups.
# Copy any hand-written appups from relups/<from>-<vsn>/appups/, then
# generate the supavisor appup if it isn't among them.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Should be easier to maintain. Previous impl required the supavisor appup to be written if any other appup was.

@@ -0,0 +1,110 @@
defmodule Supavisor.HotUpgrade.DbConnectionMigration do
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Needed to hand roll the migration as there's no code_change implemented.

Copy link
Copy Markdown

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

What about the appup for 2.9.3-2.9.4?

@v0idpwn
Copy link
Copy Markdown
Member Author

v0idpwn commented May 6, 2026

We don't have production deployments of v2.9.3

Comment on lines +30 to +31
other ->
other
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.

Worth logging the other?

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.

4 participants