From e6b2d91ff61633c71fb0a8a75d60beabacd1b645 Mon Sep 17 00:00:00 2001 From: Yumin Xia Date: Sun, 22 Nov 2026 08:07:44 +0000 Subject: [PATCH 1/2] test: pin wpgx v0.6.0 in the testdata module Co-Authored-By: Claude Opus 5.5 --- .../2026-11-20-db-timeout-after-acquire.md | 18 +++++++++++++----- internal/endtoend/testdata/go.mod | 2 +- internal/endtoend/testdata/go.sum | 4 ++-- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/changelogs/2026-11-20-db-timeout-after-acquire.md b/docs/changelogs/2026-11-20-db-timeout-after-acquire.md index 9fd441faaf..6c70d1497d 100644 --- a/docs/changelogs/2026-11-20-db-timeout-after-acquire.md +++ b/docs/changelogs/2026-11-20-db-timeout-after-acquire.md @@ -97,8 +97,9 @@ See the primary record, section 6. ## 7. Outcome and Evidence - Result: B1–B4 and F1–F2 as specified; generated code requires wpgx with - `WithDBTimeout`/`StatementErr` (pinned to the wpgx branch commit - `v0.5.2-0.20261120053742-4b29cac2136d` in the testdata module until tagged). + `WithDBTimeout`/`StatementErr` (wpgx v0.6.0 in the testdata module; the + reviewed content pinned the same code as + `v0.5.2-0.20261120053742-4b29cac2136d`). - Deviations (reviewed): Each reassigns `qctx` instead of declaring `vctx` (R1-05); `wpgx` is a reserved identifier; Each reports through `wpgx.StatementErr` (R2-02). The testdata module was already not tidy at the @@ -117,8 +118,15 @@ See the primary record, section 6. - Not run locally: the full CI suite (`go test --tags=examples ./...` needs MySQL and PostgreSQL services); CI runs it. +- Release follow-up (2026-11-22 US Pacific): this change merged as + `be5161e1b` and is released as v2.6.0. The testdata module pins wpgx v0.6.0 + (merged Stumble/wpgx `3673ea0`, same tree as the reviewed head) and + `.github/workflows/wicked.yml` checks out the merged Stumble/bookstore#3 + commit. `CGO_ENABLED=0 go build ./...` and + `go test -race -count=1 ./wicked_compat/go` with `SQLC_EACH_TEST_DSN` + (including `TestGeneratedTimeoutPostgres`) pass on the testdata module. + ## 8. Remaining Work -- Before merge: after wpgx is tagged and the bookstore PR merged, bump the - testdata wpgx pin to the tag and point `.github/workflows/wicked.yml` at the - merged bookstore commit; then tag a new sqlc minor. +- None in this repository. Consumers adopt the timeout semantics by + regenerating with v2.6.0 and requiring wpgx v0.6.0. diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index ec6eb0cae0..c5c21862dd 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -48,7 +48,7 @@ require ( github.com/rs/zerolog v1.35.1 // indirect github.com/satori/go.uuid v1.2.0 // indirect github.com/stumble/dcache v0.1.3 // indirect - github.com/stumble/wpgx v0.5.2-0.20261120053742-4b29cac2136d // indirect + github.com/stumble/wpgx v0.6.0 // indirect github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/volatiletech/inflect v0.0.1 // indirect diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index 0c73d4fc36..07f6c886cd 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -215,8 +215,8 @@ github.com/stumble/dcache v0.1.3 h1:ONN+Y65XgOe/tZ7Xnu5keS58oDX3KFjs5xqTk+mJG7s= github.com/stumble/dcache v0.1.3/go.mod h1:NRYV3jq62VEFw0SleYWHK5y6nONZ+LFnLXTo927ilVk= github.com/stumble/wpgx v0.3.1 h1:u56Xcj8gVBQSyk+nEf03HVqm3XUaytjsEjcEdDdkkXM= github.com/stumble/wpgx v0.3.1/go.mod h1:NzglxY/rDtz4lnR3CdP5HpMgL49Edq9Iftm9H6OKwEc= -github.com/stumble/wpgx v0.5.2-0.20261120053742-4b29cac2136d h1:pbfcjUEfEmEWvlMiPY05C230gBezNBpjZ2aEJ+rV2fc= -github.com/stumble/wpgx v0.5.2-0.20261120053742-4b29cac2136d/go.mod h1:8OzdIiJKnIXvnyF1iAjRCxkwQ6Qx1urY+cmGga0bSJE= +github.com/stumble/wpgx v0.6.0 h1:ME1NkoBEhT5LouPCBFYqgZ/NywAF0FYrWZZy5zHf+6I= +github.com/stumble/wpgx v0.6.0/go.mod h1:8OzdIiJKnIXvnyF1iAjRCxkwQ6Qx1urY+cmGga0bSJE= github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= From b8148c85bb0b0bab5b196625f92d46f2bad559a8 Mon Sep 17 00:00:00 2001 From: Yumin Xia Date: Sun, 22 Nov 2026 18:07:19 +0000 Subject: [PATCH 2/2] ci(wicked): check out the merged bookstore commit Co-Authored-By: Claude Opus 5.5 --- .github/workflows/wicked.yml | 2 +- docs/changelogs/2026-11-20-db-timeout-after-acquire.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wicked.yml b/.github/workflows/wicked.yml index 41c8317b7c..d3d1b58cb4 100644 --- a/.github/workflows/wicked.yml +++ b/.github/workflows/wicked.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v6 with: repository: Stumble/bookstore - ref: 89b3fbc09bf274e563722c3f582f5c3ac4bca3ec + ref: c8866344dc46bd93aa69bc3241327a75e8985055 path: bookstore - name: Check generated API and code working-directory: bookstore diff --git a/docs/changelogs/2026-11-20-db-timeout-after-acquire.md b/docs/changelogs/2026-11-20-db-timeout-after-acquire.md index 6c70d1497d..9de10bd72e 100644 --- a/docs/changelogs/2026-11-20-db-timeout-after-acquire.md +++ b/docs/changelogs/2026-11-20-db-timeout-after-acquire.md @@ -125,6 +125,11 @@ See the primary record, section 6. commit. `CGO_ENABLED=0 go build ./...` and `go test -race -count=1 ./wicked_compat/go` with `SQLC_EACH_TEST_DSN` (including `TestGeneratedTimeoutPostgres`) pass on the testdata module. +- Release review: Codex session `5e2002b6-dea5-4c53-96c9-cde8cdd6a84b` + round 6 (report sha256 `8327bcb40c4bc31c08dc74a4a08869602072805451e238ae791dcd31ef729341`) + ACCEPTed bookstore `7b9adb1` and this follow-up at `e6b2d91ff`, and the rule + for the `wicked.yml` ref. Stumble/bookstore#3 merged as `c886634` with tree + `22d4b62`, equal to the tree of the accepted `7b9adb1`. ## 8. Remaining Work