Skip to content

test(project-install): Stabilize notification refetch test - #120539

Merged
jaydgoss merged 1 commit into
masterfrom
test/project-install-notification-refetch-flake
Jul 24, 2026
Merged

test(project-install): Stabilize notification refetch test#120539
jaydgoss merged 1 commit into
masterfrom
test/project-install-notification-refetch-flake

Conversation

@jaydgoss

Copy link
Copy Markdown
Member

TLDR

Stabilizes persisted notification-selection refetch coverage by waiting for the hook's initial setup state before triggering the focus refetch.

Details

The test previously waited only for React Query's success flag and then synchronously asserted state set by a later effect, so slower CI runs could observe shouldRenderSetupButton before that effect committed. It now treats the setup button as the observable initial-state boundary, then preserves the existing assertions that the focus refetch restores the persisted provider, integration, channel, and action without changing production behavior.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 24, 2026
@jaydgoss
jaydgoss marked this pull request as ready for review July 24, 2026 00:06
@jaydgoss
jaydgoss requested a review from a team as a code owner July 24, 2026 00:06
@jaydgoss
jaydgoss requested a review from a team July 24, 2026 00:06
@jaydgoss
jaydgoss marked this pull request as draft July 24, 2026 00:07
@jaydgoss
jaydgoss marked this pull request as ready for review July 24, 2026 00:39
@jaydgoss
jaydgoss force-pushed the test/vdy-78-scm-project-creation-unit-coverage branch from 72fe0e6 to 1bda545 Compare July 24, 2026 02:23
@jaydgoss
jaydgoss requested review from a team as code owners July 24, 2026 02:23
@jaydgoss
jaydgoss force-pushed the test/vdy-78-scm-project-creation-unit-coverage branch from 1bda545 to 07ea7bc Compare July 24, 2026 02:32
Base automatically changed from test/vdy-78-scm-project-creation-unit-coverage to master July 24, 2026 02:44
@jaydgoss
jaydgoss force-pushed the test/project-install-notification-refetch-flake branch from 1713f01 to 058c453 Compare July 24, 2026 02:45
@jaydgoss
jaydgoss merged commit 006c6cd into master Jul 24, 2026
71 checks passed
@jaydgoss
jaydgoss deleted the test/project-install-notification-refetch-flake branch July 24, 2026 17:59
Christinarlong pushed a commit that referenced this pull request Jul 24, 2026
## TLDR

Stabilizes persisted notification-selection refetch coverage by waiting
for the hook's initial setup state before triggering the focus refetch.

## Details

The test previously waited only for React Query's success flag and then
synchronously asserted state set by a later effect, so slower CI runs
could observe `shouldRenderSetupButton` before that effect committed. It
now treats the setup button as the observable initial-state boundary,
then preserves the existing assertions that the focus refetch restores
the persisted provider, integration, channel, and action without
changing production behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants