aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* microprom: fix outdated doc linksStefan Majewsky2026-08-182-5/+7
|
* v1.14.0v1.14.0Stefan Majewsky2026-08-181-1/+1
|
* microprom: add BenchmarkFormatLabelsStefan Majewsky2026-08-181-0/+25
|
* Merge branch 'microprom'Stefan Majewsky2026-08-1819-80/+1119
|\
| * test coverage for micropromStefan Majewsky2026-08-188-11/+165
| |
| * test coverage for internal/acceptStefan Majewsky2026-08-182-2/+88
| |
| * assert: add Panics, PanicsWithStefan Majewsky2026-08-188-77/+152
| | | | | | | | | | | | | | | | I want to use this for test coverage in microprom. This turned out to be a bigger change than expected because testcapture has a dependency on assert, which I had to invert to be able to use testcapture.Capture() in assert.
| * add testing/microprom, initial parity with promhttpStefan Majewsky2026-08-176-20/+364
| |
| * add package micropromStefan Majewsky2026-08-175-0/+380
|/ | | | | | This does not have test coverage yet, because the test coverage will be in the `testing/` module, but `go mod tidy` will not run there until there is a commit that has the microprom package itself.
* jsonmatch: write down idea for func CapturedFieldStefan Majewsky2026-08-111-0/+9
|
* v1.13.3v1.13.3Stefan Majewsky2026-08-051-1/+1
|
* pgruntime: add ConnectionTarget.ApplicationName attributeStefan Majewsky2026-08-053-12/+82
|
* v1.13.2v1.13.2Stefan Majewsky2026-08-051-1/+1
|
* gitignore: add go.work.sumStefan Majewsky2026-08-051-0/+1
|
* pgruntime: protect against concurrent migrationsStefan Majewsky2026-08-052-1/+22
|
* v1.13.1v1.13.1Stefan Majewsky2026-08-051-1/+1
|
* pgruntime: fix `psql --version` parsing on UbuntuStefan Majewsky2026-08-052-2/+11
| | | | | This currently breaks all repeated calls to WithTestDB (i.e., all users where more than two packages call WithTestDB) within GH Actions.
* v1.13.0v1.13.0Stefan Majewsky2026-08-013-3/+3
|
* pgruntime: link to pkg.go.dev for gg-pgxStefan Majewsky2026-08-011-1/+1
|
* Merge branch 'pgruntime'Stefan Majewsky2026-08-0121-1/+1232
|\
| * add testing/pgruntimeStefan Majewsky2026-08-0114-14/+238
| | | | | | | | | | | | | | | | Testing pgruntime has quickly turned out to be a nightmare, because so many parts of the test logic are not easily reproducible (e.g. `stopDBIfLingering`). I decided to not waste a bunch of time testing code that is relatively compact and easy to verify by careful examination, and that is unlikely to change a lot in the future.
| * pgruntime: allow overriding .testdb pathStefan Majewsky2026-07-312-4/+34
| |
| * pgruntime: in ConnectForTest, only truncate tables instead of recreating the ↵Stefan Majewsky2026-07-315-29/+97
| | | | | | | | | | | | | | | | database DROP + CREATE DATABASE was measured at 100 ms per ConnectForTest(), which is prohibitively slow in large test suites. This should be more in the ballpark of 10 ms per test.
| * Merge branch 'main' into pgruntimeStefan Majewsky2026-07-311-2/+8
| |\
| * | pgruntime: add t.Helper() and better error messages in ConnectForTest()Stefan Majewsky2026-07-311-2/+7
| | |
| * | pgruntime: fix parameter syntax in migration queryStefan Majewsky2026-07-311-1/+1
| | |
| * | pgruntime: add OverrideDatabaseNameStefan Majewsky2026-07-311-3/+27
| | |
| * | gsql: add context.Context argument to GSQLClose()Stefan Majewsky2026-07-303-5/+6
| | | | | | | | | | | | Required for pgx.Conn.Close().
| * | add package pgruntimeStefan Majewsky2026-07-3014-1/+880
| | |
* | | gsql: add WithinTransactionStefan Majewsky2026-07-312-1/+32
| |/ |/|
* | v1.12.0v1.12.0Stefan Majewsky2026-07-311-1/+1
| |
* | gsql: add context.Context argument to GSQLClose()Stefan Majewsky2026-07-312-2/+3
|/ | | | Required for pgx.Conn.Close().
* add package errextStefan Majewsky2026-07-295-1/+126
|
* add package gsqlStefan Majewsky2026-07-294-0/+291
|
* v1.11.1v1.11.1Stefan Majewsky2026-06-272-0/+7
|
* v1.11.0v1.11.0Stefan Majewsky2026-06-271-1/+1
|
* add func assert.ErrsEqualStefan Majewsky2026-06-274-20/+87
|
* add package pathrouterStefan Majewsky2026-06-2718-2/+870
|
* assert: represent string literals with backticks when appropriateStefan Majewsky2026-06-223-11/+43
|
* update descriptionStefan Majewsky2026-06-211-1/+1
|
* v1.10.1v1.10.1Stefan Majewsky2026-06-201-1/+1
|
* assert: fix crash in ErrEqual on expected being a struct kind valueStefan Majewsky2026-06-203-1/+23
|
* v1.10.0v1.10.0Stefan Majewsky2026-06-201-1/+1
|
* assert: improve output of Equal() for slice types with only partial diffsStefan Majewsky2026-06-203-8/+148
|
* assert: add smart implementation for func EqualStefan Majewsky2026-06-204-5/+413
|
* jsonmatch: factor out type Path for reuse in assert.Equal() implementationStefan Majewsky2026-06-192-79/+107
|
* add package testcapture, package assert (minimal implementation)Stefan Majewsky2026-06-1917-210/+1253
|
* raise minimum Go version to 1.26Stefan Majewsky2026-06-177-14/+15
|
* v1.9.1v1.9.1Stefan Majewsky2026-06-171-1/+1
|
* columnar: fix handling of json:"-" fieldsStefan Majewsky2026-06-173-1/+27
|