Skip to content

Drop testify for stdlib test helpers - #3

Merged
fschoell merged 2 commits into
mainfrom
remove-testify
Sep 10, 2026
Merged

fschoell merged 2 commits into
mainfrom
remove-testify

Conversation

@fschoell

Copy link
Copy Markdown
Contributor

The cache had no runtime dependencies, only testify in the tests. The assertions it provided fit in one small file, so the module now has none at all and go.sum is gone.

assert* reports and continues, require* stops the test: the concurrency tests assert from goroutines, where t.Fatal is not allowed.

Go stays at 1.22. testing/synctest would have made the sleeping concurrency tests instant and deterministic, but locking a mutex is not durably blocking, so the keyed-mutex waiters deadlock the bubble clock. Nothing else needed a newer version.

fschoell and others added 2 commits September 10, 2026 18:00
The cache had no runtime dependencies, only testify in the tests. The
assertions it provided fit in one small file, so the module now has
none at all and go.sum is gone.

assert* reports and continues, require* stops the test: the concurrency
tests assert from goroutines, where t.Fatal is not allowed.

Go stays at 1.22. testing/synctest would have made the sleeping
concurrency tests instant and deterministic, but locking a mutex is not
durably blocking, so the keyed-mutex waiters deadlock the bubble clock.
Nothing else needed a newer version.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@fschoell
fschoell merged commit f5c7293 into main Sep 10, 2026
1 check passed
@fschoell
fschoell deleted the remove-testify branch September 10, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant