Repository navigation
Fix the 5bfcd6e QA follow-ups: release Compose loopback, docs checklist, lint - #438
Merged
PaxMachinaOne merged 4 commits intoNov 26, 2026
Merged
Conversation
Handle or explicitly discard unchecked errors, simplify the staticcheck findings, delete unused code, replace the deprecated net.Error.Temporary accept check, add .golangci.yml with no issue caps, and add a pinned golangci-lint v2.15.0 CI job.
The release Compose ports bind to 127.0.0.1 only, but the proxy advertised localhost and the docs used localhost, which fails where localhost resolves to ::1 first. Advertise 127.0.0.1, document it, and add a kcat round trip to the release smoke test. Fixes KafScale#436
Link the console at /ui/, pass --replication-factor to kafka-topics, keep the console password off the command line, name v2.1.0 for KafScale#28, make the CLI download block pastable and test it against built assets, and update the release notes. Fixes KafScale#437
…ence Delete the broker build output from the repo root and ignore it. Close the kcat code fence in docs/s3-connection.md, and add a docs test that fails on unclosed code fences or text after a closing fence in docs/ and README files.
PaxMachinaOne
approved these changes
Nov 26, 2026
PaxMachinaOne
left a comment
Collaborator
There was a problem hiding this comment.
The broker binary is removed and /broker is in .gitignore. The code fence in s3-connection.md is closed, and a new test checks every README and docs page for unclosed fences. Every CI check passes
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.
Follow-ups from the main QA run on 5bfcd6e.
Fixes #436
Fixes #437
Release Compose and localhost (#436)
The release Compose file publishes its ports on 127.0.0.1 only, but the proxy advertised
localhostand the docs told host clients to uselocalhost. Wherelocalhostresolves to::1first, clients hit a refused IPv6 connection.The proxy now advertises
127.0.0.1, and the release docs use127.0.0.1:9093,http://127.0.0.1:9094/readyzandhttp://127.0.0.1:3080/ui/. I chose this over also publishing on[::1]because Docker fails to start a container when it cannot bind[::1], for example on hosts with IPv6 disabled. Using 127.0.0.1 everywhere works on every host. Changing only the bootstrap address would not be enough, because clients connect to the advertised address after the first metadata request.The release smoke test now produces and consumes one record through 127.0.0.1:9093 with the kcat image CI already pins. A new test checks that every release port binds 127.0.0.1, that the proxy advertises 127.0.0.1, and that the release docs section uses no
localhostports.Docs checklist (#437)
/ui/.kafka-topics --createexamples pass--replication-factor 1, and docs/protocol.md explains the CreateTopics v0 to v2 requirement.--set console.auth.password. It points toconsole.auth.existingSecret, or a mode 600 values file passed with-f.v2.1.0as the first release with idempotent producers (JAVA_CLIENT Connection problem: #28). The ComposeTAGdefaults and the chartappVersionstay atv2.0.1until that release is tagged.sha256sumorshasum, extracts only after the checksum passes, and defaults tov2.1.0. A new test runs the block against the release assets built in the Docker Images workflow, and another checks that it is valid bash with no placeholders.New tests in test/docs_checklist_test.go cover each item. They fail on main.
Lint
QA's
make lintoutput showed 77 findings, but golangci-lint caps the issues it prints per linter and per message by default. Without the caps, main had 307: errcheck 261, staticcheck 41, unused 5. All are fixed in code, and there are no nolint directives./metricsinto a buffer and writes it once./healthzand/readyzlog failed writes. The CLIversioncommand returns its write error. The schema registry joins the etcd close error into its return value. The proxy closes backend connections through one helper that logs unexpected close errors. Three discards are explicit_ =because no caller can act on them: two pooled connection closes, and clearing a write deadline after a frame is written. In tests, setup calls such as CreateTopic, UpdateOffsets, Acquire, Sscan and Unsetenv now fail the test on error. Deferred cleanup closes are explicit discards.net.Error.Temporary. A newisTemporaryAcceptErrorretries timeouts and the same accept errnos as before, and has a table test..golangci.yml(v2 config, standard linters) sets no issue caps. A newGo LintCI job runs golangci-lint v2.15.0 through golangci-lint-action v9.3.0, pinned by commit SHA.make lintprints the install command if golangci-lint is missing.The nested modules under addons/processors are not covered by
make lintand still have findings. They are left for a follow-up.Checks run locally
make lint(0 issues),make commit-check(fmt, chart mTLS, 100% auth coverage, vet,go test -race ./..., nested modules, LFS SDK unit tests, fuzz, CodeQL gate). I also built the release assets and ranTestReleaseAssetsand the new CLI download block test against them.After merge, the docs changes also need to go live on gh-pages.