Repository navigation
Fix intermittent WNPRC_EHRTest virology import failures - #1072
Merged
Merged
Conversation
This was referenced Oct 29, 2026
3 tasks done
…pup open on failure
labkey-jeckels
requested review from
labkey-bpatel,
labkey-martyp and
labkey-tchad
November 6, 2026 00:14
labkey-jeckels
added a commit
to LabKey/platform
that referenced
this pull request
Nov 6, 2026
## Rationale Destroying an Ext4 combo while it still has deferred work pending throws a client-side error, because Ext 4.2.1 nulls the combo's store on destroy but lets its delayed type-ahead, delayed query, and remote load callback run afterward. Any combo can hit this; the EHR Apply Template window does when Submit is clicked right after picking a template, which made TNPRC_RequestsTest fail intermittently. Fixing it in the shared Ext4 patches covers every combo, including the duplicated ONPRC template window, instead of patching one window. ## Related Pull Requests - LabKey/tnprcEHRModules#455 - LabKey/wnprc-modules#1072 - LabKey/testAutomation#3274 ## Changes - Skip a combo's delayed type-ahead, delayed query, and query completion once the combo has been destroyed ## Tasks - [x] Claude Code Review - [x] Manual Testing - N/A - [x] Test Automation - N/A - this is a test fix
labkey-tchad
approved these changes
Nov 10, 2026
labkey-tchad
pushed a commit
that referenced
this pull request
Nov 10, 2026
Fix intermittent WNPRC_EHRTest virology import failures caused by test timing, which recently showed up as a new failure on an unrelated feature branch. The tests picked files by their position in a list whose order varied between runs, and checked for import results and error messages before the asynchronous import request had returned. - LabKey/platform#8286 - LabKey/tnprcEHRModules#455 - LabKey/testAutomation#3274 - Sort the import dialog's file list so its order is stable - Select virology files by name rather than by position - Wait for the import to finish before submitting, and for error messages instead of expecting them right away - Close the preview popup only after its check passes, so failure screenshots capture it - [x] Claude Code Review - [x] Manual Testing - N/A - [x] Test Automation - test fix (cherry picked from commit 9986ee4)
labkey-tchad
pushed a commit
to LabKey/platform
that referenced
this pull request
Nov 10, 2026
## Rationale Destroying an Ext4 combo while it still has deferred work pending throws a client-side error, because Ext 4.2.1 nulls the combo's store on destroy but lets its delayed type-ahead, delayed query, and remote load callback run afterward. Any combo can hit this; the EHR Apply Template window does when Submit is clicked right after picking a template, which made TNPRC_RequestsTest fail intermittently. Fixing it in the shared Ext4 patches covers every combo, including the duplicated ONPRC template window, instead of patching one window. ## Related Pull Requests - LabKey/tnprcEHRModules#455 - LabKey/wnprc-modules#1072 - LabKey/testAutomation#3274 ## Changes - Skip a combo's delayed type-ahead, delayed query, and query completion once the combo has been destroyed ## Tasks - [x] Claude Code Review - [x] Manual Testing - N/A - [x] Test Automation - N/A - this is a test fix (cherry picked from commit cb67456)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
Fix intermittent WNPRC_EHRTest virology import failures caused by test timing, which recently showed up as a new failure on an unrelated feature branch. The tests picked files by their position in a list whose order varied between runs, and checked for import results and error messages before the asynchronous import request had returned.
Related Pull Requests
Changes
Tasks