Sample
verify pgx.Conn.Begin in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
sha256:6f79891a179ca3fbdd8fc48044ef98181d973b5fb4d1820fa498ea65698f32f4
Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures.
Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments.
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
- Evidence basis
- Independent cross-verification
- Verification receipts
- 1
- Verification level
- L4_CROSS_PASS
Declared environment
- Execution context
- go 1.26
- Operating system
- linux
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- gomod
Verification-run environments
- Execution context
- go 1.26
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- gomod
- Execution
- container · docker
Case
HOW- Goal
- verify pgx.Conn.Begin in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
- Packages
- Symbols
-
- pgx.Conn.Begin
- pgx.Tx.Commit
- pgx.Tx.Rollback
- pgx.ErrTxClosed
- Environment
- go 1.26
- Created
- 2026-08-18T13:18:30Z
Contract
- pgx.Conn.Begin sends BEGIN and returns a transaction whose lifetime is not bound to the context used for the BEGIN command.
- Cancelling the Begin context after Begin returns does not send ROLLBACK and the transaction can still be committed with another context.
- Rollback must be called explicitly on abandoned transactions.
- Rollback after a successful Commit and repeated Rollback calls return pgx.ErrTxClosed without sending another server command, making defer tx.Rollback safe.
Files
- PROMPT.md
- contract_test.go
- csx.json
- go.mod
- go.sum
- spec.json
Origin Seeder
anonymous
Verification receipts
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1