Windows has no POSIX permission bits: os.WriteFile mode is ignored and
files report 0666-style permissions, so the 0600 assertions in the
qualityguard bootstrap and runtime-config tests always fail on Windows.
Skip them on Windows; POSIX behavior is unchanged.
(cherry picked from commit 0b9d0487b066472d33755c531b6f3f6a5c0da8ab)
Add a hot-reloadable routing switch so different accounts no longer share
the same upstream HTTP/TCP client pool, while the same account keeps
connection reuse. This helps upstream egress load balancers spread
traffic by connection across Build/Web/Console outbound calls.
feat: filter accounts by egress node or subscription source
The account list could only split proxy bindings into bound and unbound.
Operators troubleshooting one proxy exit or one subscription had no way to
see just the accounts sitting behind it.
The bound branch of the proxy-binding filter now opens a third menu level
listing every egress node and every subscription source that can serve the
current account pool, so the options re-scope as the list switches between
Grok Build, Web and Console.
The egress query value carries the narrowing: "node:<id>" and "source:<id>"
both mean bound, restricted to one node or to every node owned by one
subscription. Invalid targets are rejected as an invalid filter.
Part.FileName() applies filepath.Base, which is platform-dependent:
Windows treats backslash as a separator and strips the leading "a\",
while Linux returns the name unchanged. Compute the expectation with
filepath.Base as well so the assertion holds on both platforms.
Test-only change; sanitization coverage and Linux behavior unchanged.
CommitVideoUpload opened the temp file with os.Open (O_RDONLY) and
called Sync on it. POSIX allows fsync on read-only descriptors, but
Windows FlushFileBuffers requires a handle with write access, so
video upload commits failed with "Access is denied" on Windows.
Open the file O_RDWR instead (no O_TRUNC, contents untouched);
fsync semantics on POSIX are identical. Fixes the six Windows-only
media test failures; Linux behavior unchanged.