Repository navigation
fix(deps): bump the toolchain to go1.26.6, clearing seven stdlib advisories - #431
Merged
Merged
Conversation
…sories `Security Scan` went from green to red on every branch with no commit touching Go code: go1.26.6 shipped, the advisory database learned about its fixes, and go.mod's `toolchain` still named 1.26.5. govulncheck reported seven standard library advisories, all reachable from this code — GO-2026-6218 net/url quadratic complexity in resolvePath GO-2026-6091 html/template JavaScript regexp context tracking GO-2026-6090 crypto/tls post-handshake message limit GO-2026-6089 net/http ReadHeaderTimeout on the h2c check GO-2026-6088 encoding/xml recursion depth guard (via CopyObject) GO-2026-5972 encoding/asn1 recursion depth guard (via PredictiveCache.Close) GO-2026-5026 x/net/idna ASCII-only Punycode labels (via testaws, the S3 client) — and none a defect in it. This is exactly the procedure the comment above the directive describes: bump it when a patch release carries a fix worth having, which for a filesystem handling other people's data is most of them. `govulncheck ./...` reports no vulnerabilities on 1.26.6. Worth recording that a security gate turning red with no code change is the gate working, not breaking — the alternative is shipping release binaries built by a compiler with seven known advisories, which is what the 19-advisory state described in go.mod's comment was.
This was referenced Aug 14, 2026
scttfrdmn
added a commit
that referenced
this pull request
Aug 14, 2026
…433) * ci: stop install-script from throwing away the output it asserts on The success branch captured the install output in a command substitution without `|| true`, so under `set -e` a failing install killed the step at the assignment and `echo "$out"` never ran. The log then held only bash's /opt/ofs/bin/objectfs: No such file or directory Process completed with exit code 127 and none of the three ::error:: messages below it — messages written specifically for the runs where they would now never be printed. The refusal branch above already has `|| true` for exactly this reason. Found while diagnosing a transient rockylinux:9 failure on #431 whose only diff was a toolchain line. The same job passed on main and on #430 at the same time, and the rerun was green, so the failure was a flake — but the flake's cause is unrecoverable because the step discarded the evidence. A job whose assertions can only be read when they pass reports the same non-answer this job exists to reject. The idempotency step below has the same shape and does not need the same fix: its substitution ends in `[ ... ] && echo SAME || echo DIFFERENT`, which exits 0 regardless. * docs(install): objectfs.io is served now, and that is not why the repo host is absent install.sh's header said "Both objectfs.io and packages.objectfs.io resolve to registrar parking IPs", which stopped being true when #429 put the landing page and the docs on Pages. The conclusion is unchanged and the reason it is unchanged is the part worth writing down: Porkbun answers a wildcard, so packages.objectfs.io resolves exactly like every other name under the domain and completes no TLS handshake. Resolution was never the evidence — which is the same argument the landing-page domain test exists to make.
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.
Security Scanwent from green to red on every branch with no commit touching Go code. go1.26.6 shipped, the advisory database learned about its fixes, andgo.mod'stoolchainstill named 1.26.5.Seven standard-library advisories, all reachable from this code:
net/urlresolvePathhtml/templatecrypto/tlsnet/httpReadHeaderTimeouton the h2c checkencoding/xmls3.Backend.CopyObjectencoding/asn1PredictiveCache.Closex/net/idnatestaws, the S3 clientNone is a defect in this code; all were being shipped by it. This is the procedure the comment above the directive already describes — "bump it when a patch release carries a fix worth having, which for a filesystem handling other people's data is most of them" — and the 19-advisory state that comment was written about is what happens when it does not get followed.
Verification
govulncheck ./...on 1.26.6 —No vulnerabilities found.go build ./... && gofmt -l . && go vet ./...— cleanOne-line diff. Worth stating plainly: a security gate that turns red on its own, with no change to the code, is the gate working. The alternative is release binaries built by a compiler with seven known advisories and nothing saying so.