diff --git a/contrib/claude/make.md b/contrib/claude/make.md index 660756102..56c535160 100644 --- a/contrib/claude/make.md +++ b/contrib/claude/make.md @@ -4,20 +4,20 @@ The project uses a `GNUmakefile` at the root. Builds run with `--jobs=$(nproc)` ## Everyday targets -| Target | Purpose | -| ---------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `make build` | Build `bin/probod`, `bin/prb`, and `bin/probod-bootstrap` (does not include frontend apps, codegen, and Relay) | -| `make build WITH_APPS=1` | Build `bin/probod`, `bin/prb`, and `bin/probod-bootstrap` (includes frontend apps, codegen, and Relay) | -| `make test` | Run tests with race detection and coverage | -| `make test MODULE=./pkg/foo` | Run tests for a single module | -| `make test-verbose` | Tests with verbose output | -| `make test-short` | Short tests only | -| `make test-bench` | Run benchmarks | -| `make test-e2e` | Run console end-to-end tests (requires `bin/probod`) | -| `make lint` | Run all linters: `vet` + `go-fmt` + `go-fix` + `go-lint` + `npm-lint` | -| `make fmt` | Format Go code (`go fmt ./...`) | -| `make clean` | Remove all build artifacts, `node_modules`, generated files, and coverage | -| `make help` | List targets with `##` doc comments | +| Target | Purpose | +| ---------------------------- | ------------------------------------------------------------------------------------------------------ | +| `make build` | Build `bin/probod`, `bin/prb`, and `bin/probod-bootstrap` (does not include frontend apps and Relay) | +| `make build WITH_APPS=1` | Build `bin/probod`, `bin/prb`, and `bin/probod-bootstrap` (includes frontend apps, codegen, and Relay) | +| `make test` | Run tests with race detection and coverage | +| `make test MODULE=./pkg/foo` | Run tests for a single module | +| `make test-verbose` | Tests with verbose output | +| `make test-short` | Short tests only | +| `make test-bench` | Run benchmarks | +| `make test-e2e` | Run console end-to-end tests (requires `bin/probod`) | +| `make lint` | Run all linters: `vet` + `go-fmt` + `go-fix` + `go-lint` + `npm-lint` | +| `make fmt` | Format Go code (`go fmt ./...`) | +| `make clean` | Remove all build artifacts, `node_modules`, generated files, and coverage | +| `make help` | List targets with `##` doc comments | ## Infrastructure diff --git a/contrib/lima/sandbox.sh b/contrib/lima/sandbox.sh index f4d2ac533..b73ec8f3a 100755 --- a/contrib/lima/sandbox.sh +++ b/contrib/lima/sandbox.sh @@ -61,7 +61,7 @@ cmd_create() { local -a create_args=( --name "${VM_NAME}" --tty=false - --set ".mounts = [{\"location\": \"${REPO_ROOT}\", \"mountPoint\": \"/workspace\", \"writable\": true},{\"location\": \"/Users/${USER}/go\", \"mountPoint\": \"/home/${USER}.guest/go\", \"writable\": true}]" + --set ".mounts = [{\"location\": \"${REPO_ROOT}\", \"mountPoint\": \"/workspace\", \"writable\": true},{\"location\": \"${HOME}/go\", \"mountPoint\": \"/home/${USER}.guest/go\", \"writable\": true}]" --mount-type virtiofs ) diff --git a/pkg/bootstrap/builder_test.go b/pkg/bootstrap/builder_test.go index 5e84cdb7c..df8290591 100644 --- a/pkg/bootstrap/builder_test.go +++ b/pkg/bootstrap/builder_test.go @@ -137,8 +137,8 @@ func TestBuilder_Build_Defaults(t *testing.T) { // PG config assert.Equal(t, "localhost:5432", cfg.Probod.Pg.Addr) - assert.Equal(t, "postgres", cfg.Probod.Pg.Username) - assert.Equal(t, "postgres", cfg.Probod.Pg.Password) + assert.Equal(t, "probod", cfg.Probod.Pg.Username) + assert.Equal(t, "probod", cfg.Probod.Pg.Password) assert.Equal(t, "probod", cfg.Probod.Pg.Database) assert.Equal(t, int32(100), cfg.Probod.Pg.PoolSize) assert.Equal(t, int32(10), cfg.Probod.Pg.MinPoolSize)