-
Notifications
You must be signed in to change notification settings - Fork 13
docs(#206): update stale Go 1.21 references to 1.22 #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -104,5 +104,5 @@ make pre-commit | |
| | `panic: index out of range` | Regex `FindStringSubmatch` returned nil, code accessed `[1]` | Check `len(matches)` before indexing | | ||
| | `GITHUB_TOKEN must be set` | Env var not exported | `export GITHUB_TOKEN="$YOUR_TOKEN"` | | ||
| | `golangci-lint` ignores config | Config is `.golang-ci.yml` not `.golangci.yml` | Use `make lint` or `-c .golang-ci.yml` | | ||
| | Tests pass locally, fail in CI | Go version mismatch (local 1.22, go.mod 1.21) | Avoid 1.22-only features | | ||
| | Tests pass locally, fail in CI | Go version mismatch (local 1.22, go.mod 1.22) | Check Dockerfile UBI9 go-toolset version | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [low] technical accuracy in documentation After the PR, the Cause column reads 'Go version mismatch (local 1.22, go.mod 1.22)' but both versions are identical, so 'mismatch' is self-contradictory. The actual mismatch is between local/CI Go 1.22 and the Dockerfile UBI9 go-toolset which may ship an older version. Suggested fix: Change the Cause column to something like 'Go version mismatch (local/CI 1.22, UBI9 container may differ)' to accurately describe where the mismatch occurs. |
||
| | `permission denied` on binary | Built binary not executable | `chmod +x qe-tools` or use `go run` | | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[low] documentation consistency
The consequence text says 'Stick to Go 1.22 language features unless go.mod is bumped' which is self-consistent, but the same sentence warns UBI9 may ship an older Go — meaning Go 1.22 features could still fail in the container, contradicting the advice.
Suggested fix: Clarify that while go.mod permits 1.22 features, developers should verify the UBI9 go-toolset version supports them before relying on 1.22-specific syntax.