|
4 | 4 |
|
5 | 5 | Status: completed |
6 | 6 |
|
7 | | -Sub-state: Reopened after GitHub Static Analysis exposed staticcheck |
8 | | -annotations from the previous commit; fixed and locally validated. |
| 7 | +Sub-state: Codacy Cloud remaining findings were fixed locally and scanner |
| 8 | +validation passed. |
9 | 9 |
|
10 | 10 | ## Requirements |
11 | 11 |
|
@@ -414,3 +414,60 @@ Artifact updates: |
414 | 414 | overflow behavior and makes it explicit. |
415 | 415 | - Runtime project skills: no update needed. |
416 | 416 | - End-user/operator docs and skills: no public workflow changed. |
| 417 | + |
| 418 | +## Regression - 2026-06-02 Codacy Cloud Remaining Findings |
| 419 | + |
| 420 | +What broke: |
| 421 | + |
| 422 | +- Codacy Cloud showed 70 remaining issues after the scanner cleanup commits: |
| 423 | + 68 Trivy Go standard-library vulnerability findings at `src/go/go.mod:3` |
| 424 | + and `tests/fixtures/go/go.mod:3`, one ShellCheck `SC2015` finding at |
| 425 | + `tests/run-verifier-windows.sh:196`, and one Semgrep file-permission finding |
| 426 | + at `tests/fixtures/go/cmd/interop_codec/main.go:22`. |
| 427 | +- GitHub Code Scanning still showed 7,199 open alerts. All but one were stale |
| 428 | + alerts from removed or tuned producers: markdownlint, Flawfinder, broad |
| 429 | + Semgrep, lizard, revive, Agentlinter, and Scorecard. The one live |
| 430 | + result-bearing rule class was ShellCheck `SC2015`. |
| 431 | + |
| 432 | +Why previous validation missed it: |
| 433 | + |
| 434 | +- Local Codacy analysis produced zero findings, but Codacy Cloud also reported |
| 435 | + Trivy findings against Go standard-library patch levels from `go.mod` files. |
| 436 | +- The previous GitHub validation focused on the new commit's successful |
| 437 | + workflows and did not yet reconcile Codacy Cloud's issue list after |
| 438 | + reanalysis. |
| 439 | + |
| 440 | +Repair plan: |
| 441 | + |
| 442 | +- Update all Go module declarations from the vulnerable `go 1.25` language |
| 443 | + version to the patched `go 1.25.10` patch release, preserving the same Go |
| 444 | + language family. |
| 445 | +- Replace the ambiguous ShellCheck `SC2015` expression with explicit shell |
| 446 | + control flow. |
| 447 | +- Change the Go interop fixture output file mode from world-readable `0644` to |
| 448 | + owner-only `0600`. |
| 449 | +- Re-run local Go tests, ShellCheck, Trivy, staticcheck, Codacy local analysis, |
| 450 | + SOW audit, and post-push GitHub/Codacy remote checks. |
| 451 | + |
| 452 | +Validation: |
| 453 | + |
| 454 | +- `cd src/go && go test ./...` passed. |
| 455 | +- `cd tests/fixtures/go && go test ./...` passed. |
| 456 | +- `cd bench/drivers/go && go test ./...` passed. |
| 457 | +- `shellcheck tests/run-verifier-windows.sh` passed after fixing `SC2015`, |
| 458 | + `SC2059`, and `SC2034` findings in that script. |
| 459 | +- `trivy fs --scanners vuln --format json --output /tmp/plugin-ipc-trivy-after.json .` |
| 460 | + passed with zero vulnerabilities after updating Go module patch levels. |
| 461 | +- `cd src/go && "$(go env GOPATH)/bin/staticcheck" ./...` passed. |
| 462 | +- `cd tests/fixtures/go && "$(go env GOPATH)/bin/staticcheck" ./...` passed. |
| 463 | +- `cd bench/drivers/go && "$(go env GOPATH)/bin/staticcheck" ./...` passed. |
| 464 | +- `codacy-analysis analyze . --output-format sarif --output /tmp/plugin-ipc-codacy-after-cloud-fixes.sarif --parallel-tools 2 --tool-timeout 900000` |
| 465 | + reported zero issues across Checkov, cppcheck, Opengrep, Revive, |
| 466 | + ShellCheck, Spectral, and Trivy. The CLI logged the same 15 non-fatal tool |
| 467 | + errors as earlier: 14 Semgrep and 1 Revive parser/runtime errors. |
| 468 | + |
| 469 | +Artifact updates: |
| 470 | + |
| 471 | +- Specs: no protocol/API behavior changes are planned. |
| 472 | +- Runtime project skills: no project runtime skill update is expected. |
| 473 | +- End-user/operator docs and skills: no public SDK workflow change is expected. |
0 commit comments