Skip to content

Extract TargetedMSHelper and add upgrade test for 26.3 schema migration#1211

Open
labkey-jeckels wants to merge 5 commits into
release25.11-SNAPSHOTfrom
25.11_fb_Item1045
Open

Extract TargetedMSHelper and add upgrade test for 26.3 schema migration#1211
labkey-jeckels wants to merge 5 commits into
release25.11-SNAPSHOTfrom
25.11_fb_Item1045

Conversation

@labkey-jeckels
Copy link
Copy Markdown
Contributor

@labkey-jeckels labkey-jeckels commented May 18, 2026

Rationale

Create the first upgrade test for the TargetedMS module.

Changes

  • Set up a folder and import a Skyline document
  • Extract a helper for use in upgrade and non-upgrade subclasses
  • Check that the upgrade calculates the counts correctly (for use in 26.3)

Extracts setupFolder(), selectFolderType(), and importData() from TargetedMSTest
into a new TargetedMSHelper class so the logic can be shared without subclassing.
Adds TargetedMSUpgradeTest to verify the targetedms-26.006-26.007 migration correctly
populates PeptideGroupCount, MoleculeGroupCount, and ProteinCount on existing runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@labkey-jeckels labkey-jeckels self-assigned this May 18, 2026
@github-actions
Copy link
Copy Markdown

ERROR: A pull request from 25.11_fb_Item1045 is expected to target release25.11-SNAPSHOT, not release26.3-SNAPSHOT

@labkey-jeckels labkey-jeckels changed the base branch from release26.3-SNAPSHOT to release25.11-SNAPSHOT May 18, 2026 16:50
labkey-jeckels and others added 4 commits May 18, 2026 13:18
testPreUpgradeCounts queries columns available in 25.11 (Peptides, SmallMolecules,
Replicates) and runs on both setup and verify phases. testPostUpgradeCounts is
gated with @EarliestVersion("26.3") and Assume.assumeFalse(isUpgradeSetupPhase)
so it only runs on the new server after the 26.006-26.007 migration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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