Use deterministic Go guide linting - #171
Draft
walker-tx wants to merge 11 commits into
Draft
Conversation
walker-tx
force-pushed
the
worktree/brave-meadow-31a8
branch
2 times, most recently
from
August 28, 2026 04:19
6db2b3f to
f6d6003
Compare
walker-tx
force-pushed
the
worktree/brave-meadow-31a8
branch
from
August 28, 2026 04:42
f6d6003 to
8cba338
Compare
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.
Summary
tools/lint-guide, preserving grouped human/JSON output, target and finding order, and0/1/2contractsmainafter the prerequisite factory series through PR fix(factory): bundle phase one guide context #178 merged: retain the live Kit factory, remove its duplicate public-module checker, and make the tested--meta-onlymode a required partial-export compatibility surfaceactions/setup-go@v5withgo-version-file: tools/lint-guide/go.mod, build once at${{ runner.temp }}/lint-guide, and pass it to validation/tests throughLINT_GUIDE_BINmise run lint-guide -- [--json] [--meta-only] <slug|guides/<slug>|path>…Verification
go test -count=1 ./...(2 packages),go vet ./..., andgo mod tidydrift check--meta-onlycontracts; all 21 published guides produce 0 findingsLINT_GUIDE_BINactionlinton production/Factory CI workflows andshellcheckon changed factory scripts/testsbash go/check.sh, including generated-guide drift checkstools/lint-guide; linux/amd64 production image build passesgit diff --checkpass; worktree is cleanLocal Go commands used
CGO_ENABLED=0only for the known host macOSLC_UUIDlinker issue. The production Docker build used its targetlinux/amd64platform on this arm64 host; no workaround changed product files.Merge ordering
Historical ordering note: “Draft: prerequisite work mentioned by the author must merge before this PR.” The prerequisite factory series through PR #178 has merged, and this branch has been rebased and reconciled onto current
main.