chore: Add pre-commit blocker report and improve Go version management
- Created a comprehensive pre-commit blocker report detailing GolangCI-Lint and TypeScript type check failures, including remediation steps and verification commands. - Enhanced the golangci-lint pre-commit hook to automatically rebuild the tool if a Go version mismatch is detected. - Introduced a new script `rebuild-go-tools.sh` to rebuild essential Go development tools, ensuring they are compiled with the current Go version. - Improved error handling and user feedback in the rebuilding process, providing clear instructions for manual intervention if needed. - Updated supervisor review report to reflect the successful implementation of Go version management and associated documentation.
This commit is contained in:
13
.vscode/tasks.json
vendored
13
.vscode/tasks.json
vendored
@@ -721,6 +721,19 @@
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Utility: Rebuild Go Tools",
|
||||
"type": "shell",
|
||||
"command": "./scripts/rebuild-go-tools.sh",
|
||||
"group": "none",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared",
|
||||
"close": false
|
||||
},
|
||||
"detail": "Rebuild Go development tools (golangci-lint, gopls, govulncheck, dlv) with the current Go version"
|
||||
},
|
||||
{
|
||||
"label": "Utility: Update Grype Version",
|
||||
"type": "shell",
|
||||
|
||||
Reference in New Issue
Block a user