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:
GitHub Actions
2026-02-12 23:50:13 +00:00
parent 8a207ad846
commit 54f5ff5db3
11 changed files with 2983 additions and 1399 deletions

13
.vscode/tasks.json vendored
View File

@@ -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",