Skip to content

fix(ci): run extracted findings effect in frontend test harness - #3

Merged
yashaskn8 merged 1 commit into
mainfrom
fix/ci-frontend-findings-effect-harness-20261026
Oct 26, 2026
Merged

yashaskn8 merged 1 commit into
mainfrom
fix/ci-frontend-findings-effect-harness-20261026

Conversation

@yashaskn8

Copy link
Copy Markdown
Owner

CI failure

The main CI run 40367112722 failed on two frontend scan-detail findings retry tests, while backend and Windows jobs passed.

Root cause

The test harness uses new Function(...) to construct a closure for the extracted React effect, but returned runEffect instead of invoking it. Thus the assertions ran against initial values without the effect executing.

Fix

Return runEffect() so the test receives the effect cleanup function and actually exercises retries and successful loading. Production UI code and CI gates are unchanged.

Validation

Wait for frontend unit tests, typechecking, lint, build, and backend/Windows checks to pass on this PR before merging.

@yashaskn8
yashaskn8 merged commit 947da79 into main Oct 26, 2026
3 checks passed
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.

1 participant