Repository navigation
fix: findings of the reviews before 0.52.0 (NTLM binding, GPU cap, asks) - #607
Merged
Merged
Conversation
- connpool: a connection that carried a Windows login (Negotiate, NTLM, Kerberos, CredSSP; several schemes in one value) stays with its client connection (`Bound`, one per accepted connection in the service proxy, the static forward and the public link router) instead of being dropped: #603 broke NTLM, whose handshake needs one connection. Proxy login headers are stripped as hop-by-hop. - GPUs: the cap counts what the leases hold, offers the largest free GPUs, and lets the admission give any free GPU that fits within it; `nvidia-smi` runs with a 5 s limit; `--max-gpus` goes only to an agent that takes new lanes. - asks (#599): no notice about the admin's own machine, no baseline (and burst) for a non-admin, at most one notice per machine in 30 min; the Admin tab says "same address" or "similar name, not checked" with the other's id; the coordinator drops invisible characters from a machine's name; the Machines pill shows to admins only. - watcher: the relist thread lists what came meanwhile once. - share switch and setup dialog say when the GPU cap is no whole number. Bug-Class: connection-bound-state-shared Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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 and why
The code and security reviews of everything since 0.51.0 (
79997e1..2452d4f, reports kept internally) found one serious error in #603 and smaller points in #600, #604 and #605. The owner chose to fix all of them before 0.52.0, except the 25 % threshold for a GPU in use on the machine, which stays until it is measured on a real WSL node.connpool::Bound, one per accepted connection in the service proxy, the static forward (axumConnectInfo) and the public link router) and never goes to the poolconnpooltest with a real three-leg NTLM upstream: redthe handshake went over two connections, green; proxy test with two real client connections: red when the binding is per request instead of per connection, green; a second client never gets the loginbinds_connectionsaw the first scheme onlyKerberos,CredSSP;Proxy-Authorization/Proxy-Authenticatestripped as hop-by-hopnvidia-smisharetests: red with the old semantics atErr(0)vsOk(["b"])(cap 1, 8 + 24 GiB, need 16 GiB), green; a GPU missing from the tool's list still countsnvidia-smiwithout a limit could stall every lane's container reportsdevstack_compose::output_within, 5 s--max-gpusto an older agent that only lets running lanes finishagent_argstestmeexcluded, no reading for non-admins, at most once per machine in 30 min; "same address as X (id)" / "a similar name to X (id), not checked"; the coordinator drops invisible characters (bidi, zero-width) from a machine's name; Machines pill for admins onlyaskstests (throttle with fake clock),member_nametest,asks.test.ts; in the mock dashboard: the new hint textparseCap, the form says so and does not saveChecked:
cargo fmt,cargo clippy --workspace --all-targets -D warnings,cargo test --workspace(Windows),npm run typecheck, vitest (302), mock dashboard. Not checked: against a real Kestrel/HTTP.sys service; the watcher change on Linux runs in CI only this time.ADR-0115 and ADR-0116 say what was built now; CHANGELOG entries corrected.
🤖 Generated with Claude Code