Skip to content

Bump staging to d58747 - #860

Merged
corneliusroemer merged 1 commit into
mainfrom
create-pull-request/patch
Sep 29, 2026
Merged

corneliusroemer merged 1 commit into
mainfrom
create-pull-request/patch

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

@corneliusroemer wants to update the staging deployment from pathoplexus/pathoplexus@b1a6c9b to pathoplexus/pathoplexus@d58747e.

Commit date: 2026-09-29T17:20:51Z

Changelog

Comparison

pathoplexus/pathoplexus@b1a6c9b...d58747e

Pre-merge checklists

Before merging this PR and bumping the staging version, clone the production database to staging and confirm this was successful:

  • DB clone: ssh bastion "cd pathoplexus/scripts/db-clone/ && ./clone-prod-to-staging.sh"
  • Restart staging backend: kubectl rollout restart deployment/loculus-backend -n staging
  • Did db surgery for host migration
  • Run regressions tests to confirm staging is now identical to production (you will need to wait for SILO pods to import any new data)

Post-merge checklists

After merging this PR, work through these checks (or provide justification for anything that was skipped) to confirm functionality and data integrity of Pathoplexus under the new version.

Standard checklist:

  • Run regression tests, highlight any observed differences and discuss why they are expected. If the new version includes new preprocessing pipeline versions: wait for reprocessing to finish and for all new SILO pods to come up first
  • Confirm submit/revise/revoke flow works (also pay close attention to the UI, document anything out of the ordinary):
    • Submit test data to the staging preview
      • Confirm submission goes through (paste AccessionVersion(s) here)
    • Revise a test sequence (paste AccessionVersion here)
      • Confirm revision goes through
    • Revoke a test sequence (paste AccessionVersion here)
      • Confirm revocation goes through

Rollout-specific checklist:

Document any checks that were performed to test newly added features, database surgeries, etc. here.

@github-actions
github-actions Bot force-pushed the create-pull-request/patch branch from 20cfa31 to 9d21b70 Compare September 29, 2026 17:21
@github-actions github-actions Bot changed the title Bump staging to 414c81 Bump staging to d58747 Sep 29, 2026
@corneliusroemer
corneliusroemer merged commit 1c83461 into main Sep 29, 2026
@corneliusroemer
corneliusroemer deleted the create-pull-request/patch branch September 29, 2026 17:45
@anna-parker

Copy link
Copy Markdown
Contributor

Just to check @corneliusroemer is this the surgery you ran?

BEGIN;

UPDATE public.sequence_entries
SET submitted_data = jsonb_set(
    submitted_data,
    '{metadata,host}',
    submitted_data->'metadata'->'hostNameScientific'
)
WHERE group_id != 1
      AND is_revocation IS NOT TRUE
      AND (
          submitted_data->'metadata'->'host' IS NULL
          OR submitted_data->'metadata'->'host' = 'null'::jsonb
          OR submitted_data->'metadata'->'host' = '""'::jsonb
      )
      AND submitted_data->'metadata' ? 'hostNameScientific';

UPDATE public.sequence_entries
SET submitted_data = jsonb_set(
    submitted_data,
    '{metadata,host}',
    '"Homo sapiens"'
)
WHERE submitted_data->'metadata'->>'hostNameCommon' = 'Human'
  AND NOT (submitted_data->'metadata' ? 'host')
  AND NOT (submitted_data->'metadata' ? 'hostNameScientific');

COMMIT;

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