mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4083] [Other] test_no_acquisition: the DeepSeek engine's reachability HEAD is not in NETWORK_ALLOWED #1777
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1777
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheHubUser4860938 on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4083
Problem
tests/terminal/test_no_acquisition.py::ImportGraphTests::test_no_installer_subprocess_or_network_call_on_the_serving_sidefails at v0.2.4.2. The static scan reports one unwhitelisted network call on the start/serve side:Environment
Upstream tag
v0.2.4.2(dfa3f402), checked out clean in its own worktree — not a fork tree.Linux (CachyOS
7.3.0-4-cachyos), Python 3.14,.venvcreated bysetup.py. No GPU work involved: this is a pure test run.Reproduce
Expected: no
urlopenin a scanned serving-side file outsideNETWORK_ALLOWED, which carries six entries with reasons —serve/server.py,serve/mcp.py,strata_control/tune_api.py,strata_control/tune_session.py,strata_control/loopback.py,strata_control/components.py.SERVING_DIRSis("serve", "strata_cli", "strata_control"), sostrata_control/dsv41_engine.pyis scanned.Actual: the test fails on the DeepSeek engine manager's reachability probe:
Evidence
HEADrequest, not an acquisition: nothing is downloaded, and it is the 10-second "GitHub cannot be reached" check the 0.2.4.2 notes describe. The rule's intent (a start or a serve must not fetch packages) therefore looks satisfied; the whitelist appears not to have been updated when the new module landed.git show v0.2.4.2:tests/terminal/test_no_acquisition.py | grep -c dsv41→0: that test file never mentions the new module.Reproduction status: reproduced locally, twice — in this fork's merged tree and in a clean worktree of the tag itself.
Limits / what I did not test
tests/terminal. If it does, something in this box's environment (Python 3.14, Linux, a.venvinside the checkout) may differ from the CI image.NETWORK_ALLOWEDwith its reason looks like the intended shape of the fix, but I am reporting rather than prescribing. Say the word and I will send the one-line PR.@TheHubUser4860938 commented on GitHub (Oct 25, 2026):
Closed as completed — upstream fixed this before the report landed.
a3e4cb64("test: serving never reaches the DeepSeek engine check (only launch and setup import it)", 2026-10-24 15:26 +0200 = 13:26 UTC) both added theNETWORK_ALLOWEDentry and tightened the import side so serving never reaches the module at all. It shipped in v0.2.5, tagged 2026-10-25 09:41 UTC; this issue was filed at 10:46 UTC the same morning. My report was written against v0.2.4.2 (the tag this fork was riding when I checked it), so the search of open and closed issues and PRs correctly found nothing — the fix had simply landed an hour before I filed, and I had not looked at the new tag.Verified here after merging v0.2.5 into this fork:
One note from the same file, so it is not mistaken for a second bug:
test_start_and_serve_modules_do_not_load_installer_codestill fails on this box and has nothing to do with DeepSeek. jinja2 3.1.6 importsjinja2.bccacheonimport jinja2, so when.venvsits inside the checkout, that test's "every loaded module must live inserve/,strata_cli/orstrata_control/" assert trips on a site-packages path (.venv/lib/python3.14/site-packages/jinja2/bccache.py). It reproduces on this fork's own pre-merge tip too, so it is an environment shape rather than a regression.