Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/wicked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 18 additions & 5 deletions docs/changelogs/2026-11-20-db-timeout-after-acquire.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -117,8 +118,20 @@ 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.
- 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

- 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.
2 changes: 1 addition & 1 deletion internal/endtoend/testdata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions internal/endtoend/testdata/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
Loading