Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 18, 2025

Bumps github.com/stretchr/testify from 1.10.0 to 1.11.1.

Release notes

Sourced from github.com/stretchr/testify's releases.

v1.11.1

This release fixes #1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

What's Changed

Full Changelog: stretchr/testify@v1.11.0...v1.11.1

v1.11.0

What's Changed

Functional Changes

v1.11.0 Includes a number of performance improvements.

Fixes

Documentation, Build & CI

... (truncated)

Commits
  • 2a57335 Merge pull request #1788 from brackendawson/1785-backport-1.11
  • af8c912 Backport #1786 to release/1.11
  • b7801fb Merge pull request #1778 from stretchr/dependabot/github_actions/actions/chec...
  • 69831f3 build(deps): bump actions/checkout from 4 to 5
  • a53be35 Improve captureTestingT helper
  • aafb604 mock: improve formatting of error message
  • 7218e03 improve error msg
  • 929a212 Merge pull request #1758 from stretchr/dolmen/suite-faster-method-filtering
  • bc7459e suite: faster filtering of methods (-testify.m)
  • 7d37b5c suite: refactor methodFilter
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.10.0 to 1.11.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.10.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 18, 2025

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the github.com/stretchr/testify dependency from version 1.10.0 to 1.11.1, which includes performance improvements and bug fixes, notably addressing a mock argument matching regression introduced in v1.11.0.

Key Changes:

  • Bumps testify to v1.11.1, which includes performance optimizations and fixes for mock argument matching with mutating stringers
  • Updates module checksums in go.sum to reflect the new version

Reviewed Changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates testify dependency version from 1.10.0 to 1.11.1
go.sum Updates checksums for the new testify version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

vivekr-splunk pushed a commit that referenced this pull request Nov 18, 2025
Add comprehensive dependency management tools and documentation to reduce
Dependabot noise and streamline dependency updates.

Changes:

1. **Updated .github/dependabot.yml**
   - Reduced update frequency: weekly → monthly for Go, quarterly for Actions
   - Reduced open PR limit: 10 → 5 for Go, 10 → 3 for Actions
   - Added dependency grouping to batch related updates:
     - kubernetes-core: k8s.io/* packages together
     - kubernetes-sigs: sigs.k8s.io/* packages together
     - cloud-providers: Azure, AWS SDKs together
     - observability: Prometheus, logr together
     - testing: Test frameworks together
   - Ignore major version updates (require manual review)
   - This reduces ~20 individual PRs down to ~5 grouped PRs per month

2. **New: scripts/close-dependabot-issues.sh**
   - Automated script to close irrelevant Dependabot issues
   - Closes GitHub Actions updates (we pin to commit hashes)
   - Closes invalid issues (e.g., Golang 1.24→1.25 when we're on 1.23.0)
   - Adds explanatory comments before closing
   - Handles 12 current issues: #29-41 (Actions), #34 (invalid)

3. **New: .github/ISSUE_TEMPLATE/dependency-updates-tracking.md**
   - Template for creating consolidated dependency update issues
   - Includes checklists for testing and validation
   - Guides through update process step-by-step
   - Reusable for future release cycles

4. **New: docs/post-v0.1.0-dependency-updates.md**
   - Complete tracking issue content for v0.2.0 dependency updates
   - Categorizes 9 remaining Dependabot issues by priority:
     - HIGH: K8s core (#46,#45,#42), controller-runtime (#49), cert-manager (#44)
     - MEDIUM: Azure SDK (#48), observability (#39,#43)
     - LOW: Testing deps (#47,#38)
   - Includes implementation plan, testing checklist, timeline
   - Ready to be posted as GitHub issue after v0.1.0 release

Benefits:
- Reduces Dependabot noise from 20+ weekly PRs to 5 monthly grouped PRs
- Provides clear process for handling dependency updates
- Batches related updates for easier testing
- Documents why certain issues are closed
- Creates structured approach for future updates

Impact:
- 12 irrelevant issues can be closed immediately
- 9 valid issues consolidated into one v0.2.0 tracking issue
- Future Dependabot PRs will be grouped and less frequent

Usage:
1. Run: ./scripts/close-dependabot-issues.sh (after v0.1.0 release)
2. Create tracking issue using docs/post-v0.1.0-dependency-updates.md
3. New Dependabot config takes effect immediately

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 18, 2025

Superseded by #61.

@dependabot dependabot bot closed this Nov 18, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/stretchr/testify-1.11.1 branch November 18, 2025 21:55
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.

0 participants