test(tui): shard tui gateway test suite s5 clusters (tests/test_tui_gateway_server.py, tracker #78647) - #80541
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
|
This test-suite refactor is recorded at current 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 s5 of the 5×2×3 double-blind decomposition: the browser-cdp-connect and config-indicator test families move verbatim into focused observable modules.tests/tui_gateway/test_browser_manage.pytests/tui_gateway/test_config_indicator.py_stub_urlopenhelper stays in the godfile (retained browser.manage tests still use it) and is copied byte-identically into the c1 module as its required local seam.How 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:
9d4ef04ed00source_stub_urlopenhelper fidelity)git diff --checkclean;py_compilecleanWitness verdicts:
C:/tmp/tg-campaign/godfile/tui_test/extraction/ew2/s5-w2a.json,s5-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