README: document XCL_NETWORK=0 #3118
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3118"
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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-28T11:03:31Z.
What is in it
e429936: enabled() is true only when the value trims to exactly "0"; the module header states the title then runs as on a console without a network (WinHTTP requests and sockets fail as name-not-resolved / network-unreachable) while loopback connections and local-name lookups stay. The README had no mention of XCL_NETWORK.Tested
e429936and checked the README had no mention of XCL_NETWORK. Documentation only; no code changed.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-28T11:34:17Z.
Tested
Exact
6cd9ce140edaaca1fd4f8266ef547c7c5cd834f6on Windows 11 x64 build 26200.9974, Ryzen 7 3800X, and Rust 1.100.1 MSVC. I verified that the pinned standalone harness contained the byte-identicalnetoff::enabledpredicate from this revision.I ran
predicate.exe --exact tests::<case> --test-threads=1 --nocapturein one fresh process per case, withXCL_NETWORKset or omitted only in that child.unsetErr(NotPresent)emptyOk("")zero"0"padded_zero" \t0 \t"one"1"false_literal"false"double_zero"00"hex_zero"0x0"The predicate accepted zero after trimming spaces and tabs. 8 passed, 0 failed, 0 ignored, 0 runtime skips, 0 timeouts. All eight native exits were 0, with seven filtered out per process.
Not tested
Runtime connectivity, sockets, title launches, GPU execution, CI, and the workspace suite.
AI use
T3 Code through the Codex harness (
gpt-6.2-sol, high reasoning effort) prepared the private harness, verified source and executable provenance, reran the cases, and wrote this report.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:32:33Z.
Triage (#1607) – head
6cd9ce1#299 also adds a README line recommending
XCL_NETWORK=0, but as part of a preflight warning change. No PR adds this switch entry. The text matcheshle/netoff.rs.Nit:
enabled()trims the value, so "exactly0" is slightly too strict.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:13:44Z.
Review (head
6cd9ce14, diff read, not a merge-check; draft, README only, conflicts with main):Fine: the text matches
hle/netoff.rs.enabled()(~63) turns on only for a trimmed0. WinHTTP sends,connect,sendto,gethostbyname,WSAConnectand the rest oftable()fail as an offline console's would.local_name(~50) still resolves the empty name, localhost, 127.x / ::1 and the machine's own name, and loopback connects still go through. The README doesn't mention it yet. It only needs a rebase for the conflict.AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.