Main's CI - Build & Test workflow still fails on the current HEAD (4108e51, post #1220 "fix/main-ci-failing-jobs"), run 27325319311. Every open PR inherits these failures, so CI is red regardless of the PR's content. Three independent breakages:
-
Lint Code ("Run golangci-lint" step): a flood of findings across long-unchanged files, e.g. errcheck on cmd/cleanup-lambda/main.go:78 and cmd/configure_azure.go, errorlint on internal/config/store_postgres.go (many lines) and internal/api/handler_purchases.go:1383, godot on internal/testutil/testutil.go. The breadth suggests linter version or config drift (new linters becoming active) rather than new code. Note the repo rule to pin CI tool versions.
-
Security Scanning ("Run npm audit (frontend)" step): the job now fails at the frontend npm audit step (the Go scanners pass).
-
Integration Tests ("Run integration tests" step): real failures in internal/config:
TestPostgresStore_UpsertRecommendations_AccountScopedEviction
TestPostgresStore_UpsertRecommendations_AmbientAndRegisteredCoexist
TestPostgresStore_PurchaseExecutions/Get_execution_by_ID_-_not_found followed by panic: runtime error: invalid memory address or nil pointer dereference, failing the whole package.
The pre-commit workflow on main is also red; that one is the gocyclo breakage tracked separately in #1222.
Suggested split: pin/align golangci-lint and reconcile its config; triage the npm audit advisory (upgrade or documented exemption, no blanket --audit-level loosening without justification); fix the internal/config integration tests (the nil-pointer panic looks related to the recent (nil, nil) not-found contract change in 1017f66).
Main's CI - Build & Test workflow still fails on the current HEAD (4108e51, post #1220 "fix/main-ci-failing-jobs"), run 27325319311. Every open PR inherits these failures, so CI is red regardless of the PR's content. Three independent breakages:
Lint Code ("Run golangci-lint" step): a flood of findings across long-unchanged files, e.g. errcheck on
cmd/cleanup-lambda/main.go:78andcmd/configure_azure.go, errorlint oninternal/config/store_postgres.go(many lines) andinternal/api/handler_purchases.go:1383, godot oninternal/testutil/testutil.go. The breadth suggests linter version or config drift (new linters becoming active) rather than new code. Note the repo rule to pin CI tool versions.Security Scanning ("Run npm audit (frontend)" step): the job now fails at the frontend npm audit step (the Go scanners pass).
Integration Tests ("Run integration tests" step): real failures in
internal/config:TestPostgresStore_UpsertRecommendations_AccountScopedEvictionTestPostgresStore_UpsertRecommendations_AmbientAndRegisteredCoexistTestPostgresStore_PurchaseExecutions/Get_execution_by_ID_-_not_foundfollowed bypanic: runtime error: invalid memory address or nil pointer dereference, failing the whole package.The pre-commit workflow on main is also red; that one is the gocyclo breakage tracked separately in #1222.
Suggested split: pin/align golangci-lint and reconcile its config; triage the npm audit advisory (upgrade or documented exemption, no blanket --audit-level loosening without justification); fix the internal/config integration tests (the nil-pointer panic looks related to the recent (nil, nil) not-found contract change in 1017f66).