Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(lint): drop dead golangci exclusions, pin local -j 8 (#21395)
Danny Xu7144047686e4
diff --git a/.golangci.yaml b/.golangci.yamlindex cd0f60d7db..61955c03b6 100644--- a/.golangci.yaml+++ b/.golangci.yaml@@ -116,12 +116,9 @@ linters:text: Exit(.*)_(.*)- path: action/bitbucket/bitbucket.gotext: "unsecure-url-scheme.*http://api.bitbucket.org"+ # Filters reported issues only; excluded paths are still analyzed. Not a speed knob.paths:- - proto/generated-go- - frontend- - third_party$- - builtin$- - examples$+ - backend/generated-goformatters:enable:- goimports@@ -132,8 +129,4 @@ formatters:exclusions:generated: laxpaths:- - proto/generated-go- - frontend- - third_party$- - builtin$- - examples$+ - backend/generated-godiff --git a/AGENTS.md b/AGENTS.mdindex e038442420..6a92ba7d17 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -40,7 +40,7 @@ During iteration, run focused checks for the changed behavior. Before handoff, r### Go changes1. Run `gofmt -w` on modified Go files.-2. Run `golangci-lint run --fix --allow-parallel-runners`, then `golangci-lint run --allow-parallel-runners` until clean after corrections. Run at repo root without filenames so package context is available.+2. Run `golangci-lint run --fix -j 8 --allow-parallel-runners`, then `golangci-lint run -j 8 --allow-parallel-runners` until clean after corrections. Run at repo root without filenames so package context is available. Keep `-j 8`: on a cold cache it trades ~15s of wall time for ~30% less CPU and ~1.5 GB less peak RSS on the shared box.3. Run tests for changed packages and affected behavior, including required collision or contention coverage.4. Build: `go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go`.5. After dependency changes, run `go mod tidy` and recheck affected code.