Bump stretchr/testify from v1.11.1 to v1.12.1 - #11574
Conversation
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates Testify to v1.12.1, reducing transitive dependencies and improving assertion failure output.
Changes:
- Bumps
github.com/stretchr/testifyto v1.12.1. - Replaces legacy transitive dependencies with
go.yaml.in/yaml/v3.
Show a summary per file
| File | Description |
|---|---|
go.mod |
Updates Testify and its indirect dependencies. |
go.sum |
Refreshes checksums for the dependency graph. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Balanced
🔒 mcpg Read-Only Stress — defaultSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
|
🔒 mcpg Read-Only Stress — gVisorSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
No writes leaked. The INCONCLUSIVE status reflects methodology gaps (backend read-only mode + unauthenticated gh), not enforcement failures.
|
🔒 mcpg Read-Only Stress — docker-sbxSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
No writes leaked. All write attempts were blocked (by backend config or unauthenticated token). Gateway-level write enforcement could not be independently confirmed for this runtime due to structural limitations noted above. References: §32412564311
|
The Go Fan module review flagged that
stretchr/testify— our most heavily used direct dependency (303 files) — is pinned atv1.11.1whilev1.12.1is available with a leaner dependency tree and better failure-message output.Changes
go.mod/go.sum:github.com/stretchr/testifyv1.11.1→v1.12.1davecgh/go-spewandpmezard/go-difflib— testify vendors both as of v1.12.0gopkg.in/yaml.v3→go.yaml.in/yaml/v3 v3.0.5, following testify's move to the maintained YAML forkNotes
No source changes were needed. The
mock.Returnremoval in v1.12.0 doesn't apply —testify/mockandtestify/suitearen't used in this codebase — and there are no breaking changes inassert/require.Notable behavioral change to expect in test output: very long objects are now truncated in failure messages, which should improve readability of large struct diffs (e.g.
internal/configvalidation tests).The issue also suggested scope-enabling
testifylintas an optional follow-up. That's left out here to keep this to the version bump.