Skip to content

vendor: github.com/sirupsen/logrus v1.10.1 - #13294

Merged
mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_logrus1.10
Aug 21, 2026
Merged

mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_logrus1.10

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Apr 27, 2026 •

Copy link
Copy Markdown
Member

vendor: github.com/sirupsen/logrus v1.10.0

Notable changes:

  • Add bidirectional log/slog integration with a Logrus hook and slog.Handler.
  • Add minimal, composable logging interfaces for individual log levels.
  • Fix reentrant logging deadlocks and improve concurrency safety around formatters, hooks, and entries.
  • Fix generic Log, Logf, Logln, and LogFn methods unexpectedly panicking at PanicLevel.
  • Allow Entry.Caller to be set explicitly and preserved across derived entries.
  • Improve TextFormatter performance and reduce allocations significantly.
  • Improve common Logger and Entry hot paths and caller-reporting performance.
  • Update TextFormatter handling for []byte, debug/trace colors, and Windows ANSI terminals.
  • Raise the minimum supported Go version to Go 1.23.
  • Deprecate Entry.HasCaller and MutexWrap.

release-notes: https://github.com/sirupsen/logrus/releases/tag/v1.10.0
full diff: sirupsen/logrus@v1.9.4...v1.10.1

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the vendored github.com/sirupsen/logrus dependency to an untagged commit (pseudo-version) beyond v1.9.4, bringing in upstream formatting, terminal-detection, and concurrency/race fixes.

Changes:

  • Bump github.com/sirupsen/logrus to v1.9.5-0.20260426203557-6878cb36b029 (vendored + go.mod/go.sum updates).
  • Sync upstream formatter refactors (text/json), including new color/prefix handling and various performance/concurrency improvements.
  • Refresh OS/build-tag terminal detection matrix (including TinyGo support and WASI handling changes).

Reviewed changes

Copilot reviewed 1 out of 29 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vendor/modules.txt Updates vendored module version metadata for logrus.
vendor/github.com/sirupsen/logrus/writer.go Minor internal cleanup of writer logging function selection and any usage.
vendor/github.com/sirupsen/logrus/text_formatter.go Significant refactor of text formatting (sorting, quoting, coloring, terminal detection).
vendor/github.com/sirupsen/logrus/terminal_check_windows.go Updates build tags and Windows terminal detection implementation.
vendor/github.com/sirupsen/logrus/terminal_check_wasip1.go Removes WASI Preview 1 terminal stub (moved to consolidated no-terminal handling).
vendor/github.com/sirupsen/logrus/terminal_check_wasi.go Removes legacy WASI terminal stub (moved to consolidated no-terminal handling).
vendor/github.com/sirupsen/logrus/terminal_check_unix.go Updates build tags to exclude TinyGo and adjusts supported targets.
vendor/github.com/sirupsen/logrus/terminal_check_tinygo.go Adds TinyGo-specific terminal check implementation.
vendor/github.com/sirupsen/logrus/terminal_check_solaris.go Adds/updates build tags and keeps Solaris terminal probing.
vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go Tightens build tags and adds fd overflow guard before int conversion.
vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go Consolidates “no terminal” platforms (incl. wasi/wasip1) and simplifies signature.
vendor/github.com/sirupsen/logrus/terminal_check_js.go Removes JS-specific terminal stub (covered by consolidated no-terminal handling).
vendor/github.com/sirupsen/logrus/terminal_check_bsd.go Updates build tags to exclude TinyGo and clarifies BSD targets.
vendor/github.com/sirupsen/logrus/terminal_check_appengine.go Updates build tags and simplifies App Engine terminal check.
vendor/github.com/sirupsen/logrus/logrus.go Internal parsing/level string logic changes and any modernization.
vendor/github.com/sirupsen/logrus/logger.go Logger API/internal updates: hook snapshotting, exit func type, any modernization.
vendor/github.com/sirupsen/logrus/level.go Adds cached ANSI-colored level prefix helpers used by the text formatter.
vendor/github.com/sirupsen/logrus/json_formatter.go Formatter refactor and small performance tweaks (caller formatting, buffer handling).
vendor/github.com/sirupsen/logrus/formatter.go Documentation/constant restructuring (default field count, timestamp format doc).
vendor/github.com/sirupsen/logrus/exported.go Documentation refresh and any modernization for package-level helpers.
vendor/github.com/sirupsen/logrus/entry.go Concurrency/race-related refactors (formatter snapshotting, hook selection, cloning).
vendor/github.com/sirupsen/logrus/doc.go Documentation formatting cleanup (Go doc example formatting).
vendor/github.com/sirupsen/logrus/buffer_pool.go Initializes default buffer pool via var init instead of init().
vendor/github.com/sirupsen/logrus/README.md README maintenance-mode wording + minor doc updates.
vendor/github.com/sirupsen/logrus/CHANGELOG.md Changelog content updates for older versions included in vendored tree.
vendor/github.com/sirupsen/logrus/.travis.yml Removes Travis CI config from vendored dependency.
vendor/github.com/sirupsen/logrus/.golangci.yml Updates vendored golangci-lint configuration.
go.sum Updates checksums for the new logrus pseudo-version.
go.mod Updates required logrus version to the pseudo-version.

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

Comment thread go.mod Resolved
@k8s-ci-robot

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copilot AI review requested due to automatic review settings August 13, 2026 10:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

Suppressed comments (1)

go.mod:63

  • The PR description links a logrus compare diff ending at commit 6878cb36b029, but this update actually vendors pseudo-version v1.9.5-0.20260813103326-84cedf9d8b02 (commit 84cedf9d8b02). To avoid confusion during review/audits, please update the PR description (and/or title) to reference the commit being vendored here.
	github.com/pelletier/go-toml/v2 v2.4.3
	github.com/prometheus/client_golang v1.24.0
	github.com/prometheus/client_model v0.6.2
	github.com/sirupsen/logrus v1.9.5-0.20260813103326-84cedf9d8b02 // master (v1.10.0-dev)
	github.com/stretchr/testify v1.11.1

Copilot AI review requested due to automatic review settings August 13, 2026 15:50
@thaJeztah
thaJeztah marked this pull request as ready for review August 13, 2026 15:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

Copilot AI review requested due to automatic review settings August 19, 2026 22:47
@thaJeztah thaJeztah changed the title vendor: github.com/sirupsen/logrus v1.10.0 vendor: github.com/sirupsen/logrus v1.10.1 Aug 19, 2026
@thaJeztah
thaJeztah marked this pull request as draft August 19, 2026 22:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

Notable changes:

- Add bidirectional `log/slog` integration with a Logrus hook and `slog.Handler`.
- Add minimal, composable logging interfaces for individual log levels.
- Fix reentrant logging deadlocks and improve concurrency safety around formatters, hooks, and entries.
- Fix generic `Log`, `Logf`, `Logln`, and `LogFn` methods unexpectedly panicking at `PanicLevel`.
- Allow `Entry.Caller` to be set explicitly and preserved across derived entries.
- Improve `TextFormatter` performance and reduce allocations significantly.
- Improve common Logger and Entry hot paths and caller-reporting performance.
- Update `TextFormatter` handling for `[]byte`, debug/trace colors, and Windows ANSI terminals.
- Raise the minimum supported Go version to Go 1.23.
- Deprecate `Entry.HasCaller` and `MutexWrap`.

release-notes: https://github.com/sirupsen/logrus/releases/tag/v1.10.0
full diff: sirupsen/logrus@v1.9.4...v1.10.0

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copilot AI review requested due to automatic review settings August 20, 2026 22:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

Suppressed comments (1)

go.mod:63

  • The PR description text references logrus v1.10.0 and links to the v1.10.0 release notes/diff, but the code change here vendors v1.10.1. Please update the PR description/release-notes links to match v1.10.1 so dependency audits don’t have to reconcile mismatched metadata.
	github.com/pelletier/go-toml/v2 v2.4.3
	github.com/prometheus/client_golang v1.24.0
	github.com/prometheus/client_model v0.6.2
	github.com/sirupsen/logrus v1.10.1
	github.com/stretchr/testify v1.12.1

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Aug 21, 2026
@dmcgowan
dmcgowan added this pull request to the merge queue Aug 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 21, 2026
@mxpv
mxpv added this pull request to the merge queue Aug 21, 2026
Merged via the queue into containerd:main with commit dff1368 Aug 21, 2026
52 of 53 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Aug 21, 2026
@thaJeztah
thaJeztah deleted the bump_logrus1.10 branch August 21, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants