You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/sow/current/SOW-0014-20260603-maintainability-hotspots.md
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -879,6 +879,47 @@ Sensitive data gate:
879
879
880
880
Raw cache, Go typed-facade, apps lookup builder, cgroups lookup builder, apps lookup semantic validation, five Go code-scanning findings, C lookup builder function-level complexity, and C POSIX/Windows service helper duplication are locally remediated; the overall maintainability SOW remains in progress pending the next selected maintainability target and Codacy metric re-check after push.
881
881
882
+
### 2026-06-04 Windows CI And CodeQL Coverage
883
+
884
+
- User decision: add Windows CI coverage after discovering that current CodeQL coverage is Linux-shaped, not a CodeQL product limit.
885
+
- Purpose: make Windows runtime and Windows static-analysis coverage first-class CI signals for this cross-platform SDK.
886
+
- Evidence:
887
+
-`.github/workflows/codeql.yml` currently runs every matrix entry on `ubuntu-latest`.
888
+
- The C/C++ CodeQL job currently builds only POSIX targets: `netipc_protocol`, `netipc_uds`, `netipc_shm`, and `netipc_service`.
889
+
- The Go CodeQL job currently runs `go test ./...` on Linux, so Windows-only Go files guarded by `//go:build windows` are not extracted.
890
+
-`CMakeLists.txt` already has Windows runtime targets guarded by `NETIPC_WINDOWS_RUNTIME`.
891
+
- Existing Windows validation scripts and local validation use MSYS2/MinGW, not MSVC.
892
+
- Decision:
893
+
- Add GitHub-hosted Windows CI on `windows-latest`.
894
+
- Use MSYS2/MinGW for the Windows runtime build because it matches the existing tested Windows scripts.
895
+
- Keep heavyweight Windows coverage and benchmark jobs out of push/PR CI for now; they remain explicit scripts.
896
+
- Add Windows CodeQL jobs for C/C++ and Go so Windows-only sources are extracted.
897
+
- Risk:
898
+
- Windows hosted runners may expose timing flakiness in named-pipe/SHM tests.
899
+
- Adding MSYS2 introduces another pinned CI action and package-install surface.
900
+
- CodeQL Windows jobs increase CI time and may surface a new backlog of valid Windows-only findings.
901
+
- Validation plan:
902
+
- Run local action/workflow linting.
903
+
- Run relevant local CMake/Go validation.
904
+
- Push and verify GitHub Windows runtime and CodeQL jobs.
905
+
- Implemented:
906
+
- Added a `windows-latest` MSYS2/MinGW runtime job to `.github/workflows/runtime-safety.yml`.
907
+
- Expanded CodeQL into distinct POSIX and Windows categories for C/C++ and Go.
908
+
- Expanded POSIX C/C++ CodeQL build targets so test, interop, cache, stress, hardening, and benchmark C sources are compiled during extraction.
909
+
- Added Windows C/C++ CodeQL build targets for named pipe, Windows SHM, Windows service, Windows interop, guard, stress, and benchmark C sources.
910
+
- Added Windows Go CodeQL build execution so Windows build-tagged Go packages are extracted.
911
+
- Local validation:
912
+
- YAML parsing passed for `.github/workflows/codeql.yml` and `.github/workflows/runtime-safety.yml`.
- POSIX expanded C/C++ CodeQL target list built locally with `cmake --build build`.
915
+
- Windows/MSYS runtime build command passed on the Windows validation host.
916
+
- Windows/MSYS runtime CTest slice passed on the Windows validation host: 12/12 targeted Windows tests.
917
+
- Windows Go CodeQL build command passed on the Windows validation host for `src/go`, `tests/fixtures/go`, and `bench/drivers/go`.
918
+
- Windows C/C++ CodeQL-only `bench_windows_c` target built on the Windows validation host.
919
+
-`git diff --check` passed.
920
+
-`bash .agents/sow/audit.sh` passed.
921
+
-`codacy-analysis analyze --output-format json` passed with 0 issues and 0 errors across Checkov, Opengrep/Semgrep, Trivy, cppcheck, ShellCheck, and Spectral.
0 commit comments