test(tui): shard tui gateway test suite s4 clusters (tests/test_tui_gateway_server.py, tracker #78647) - #80540
Open
andrexibiza wants to merge 1 commit into
Open
andrexibiza wants to merge 1 commit into
andrexibiza wants to merge 1 commit into
Conversation
Signed-off-by: Andrex Ibiza, MBA <84248988+andrexibiza@users.noreply.github.com>
This was referenced Aug 6, 2026
This was referenced Aug 6, 2026
Contributor
Author
TUI gateway test families separated by behaviorAt exact head For test(tui): shard tui gateway test suite s4 clusters (tests/test_tui_gateway_server.py, tracker #78647), GitHub reports check rollup SUCCESS on exact head |
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.
What changed and why
Shard slice for the
tests/test_tui_gateway_server.pylarge-file decomposition (tracker #78647, tracker #78629). This is region s4 of the 5×2×3 double-blind decomposition: the model-switch-deferral and pending-respond test families move verbatim into focused observable modules.tests/tui_gateway/test_model_switch_deferral.pytests/tui_gateway/test_pending_respond.pyHow to test
Footgun Gate
git diff --checkis clean on each branch. The newly added modules each scan clean (check-windows-footguns.py: 0 findings). The retained godfile carries 10 pre-existing barePath.read_text/write_textencoding findings; a pristine pin scan reproduced the same 10 findings. No slice-introduced footgun exists; the retained-godfile baseline debt is outside these extracted test windows and remains staged for a later test-hygiene class fix.Verification (blind, 5×2×3)
Double-blind witnesses w2a + w2b (independent, forbidden from each other's outputs and from W1 artifacts) both VERIFIED:
9d4ef04ed00sourcegit diff --checkclean;py_compileclean; working tree clean at commit0fdec7e7df4Witness verdicts:
C:/tmp/tg-campaign/godfile/tui_test/extraction/ew2/s4-w2a.json,s4-w2b.json(schematui-test-extraction-w2-witness/1.0, both VERIFIED).Platforms tested
Windows (git-bash host), repo main venv python 3.11.
Why this matters to users
No user-visible change — large-file decomposition: the 16,245-line test monolith shrinks, each focused module is independently runnable and debuggable, and the 2K-law kill track advances. Test-file slices are behavior-neutral by construction (epic method 3).
Part of #78647
Part of #78629
Links