Repository navigation
fix(flows): preserve frontend entry points with test-only callers - #1241
Open
azizur100389 wants to merge 1 commit into
Open
azizur100389 wants to merge 1 commit into
azizur100389 wants to merge 1 commit into
Conversation
code-review-graph reviewOverall risk: 0.55 (MEDIUM) — 2 changed function(s)/class(es), 9 affected flow(s), 0 test gap(s) Risk-scored changes
Affected execution flows
Powered by code-review-graph — local-first analysis; no code leaves the CI runner. |
This branch has not been deployed
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.
Linked issue
Refs #882. This covers one reproducible cause of missing React flows in the Action report.
What & why
A component's flow can disappear when a test becomes its only indexed caller. Use the existing production-caller check for JavaScript, TypeScript, and TSX, so a test render leaves the component's flow visible. The Action guide explains where runtime wiring still limits flow detection.
How it was tested
python -m pytest tests/test_flows.py tests/test_postprocessing.py tests/test_js_wrapped_functions.py tests/test_action_render.py -q --tb=short— 227 passed. The expanded TSX regression passed on rerun.Final validation
1d88e66. The Python 3.10–3.13 matrix passed 8,285 tests per version at 88.87–88.90% coverage. The minimum-dependency matrix, browser, native Windows, and Linux/macOS/Windows MCP end-to-end jobs passed.