Skip to content

chore: bump go-m1cpu to v0.2.1#768

Merged
Mzack9999 merged 5 commits into
devfrom
bump-go-m1cpu
Jun 4, 2026
Merged

chore: bump go-m1cpu to v0.2.1#768
Mzack9999 merged 5 commits into
devfrom
bump-go-m1cpu

Conversation

@dogancanbakir

@dogancanbakir dogancanbakir commented Jun 3, 2026

Copy link
Copy Markdown
Member

Fixes SIGSEGV on Apple M5 / macOS Tahoe — go-m1cpu v0.1.6 crashes in cgo init; v0.2.0+ fixes it. Closes #767. Refs projectdiscovery/httpx#2501

Summary by CodeRabbit

  • Chores
    • Updated project dependencies for improved stability and compatibility.

dependabot Bot and others added 4 commits May 19, 2026 21:50
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.45.0.
- [Commits](golang/crypto@v0.21.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/cloudflare/circl from 1.3.7 to 1.6.3

Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.7 to 1.6.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](cloudflare/circl@v1.3.7...v1.6.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-version: 1.6.3
  dependency-type: indirect
...

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

* relax TestRunner to structural assertions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
)

* chore(deps): bump github.com/quic-go/quic-go from 0.42.0 to 0.57.0

Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.42.0 to 0.57.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](quic-go/quic-go@v0.42.0...v0.57.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.57.0
  dependency-type: indirect
...

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

* relax TestRunner to structural assertions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 026bc235-4f32-48ea-a2a1-123ab04649fa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This PR updates an indirect dependency in go.mod, bumping github.com/shoenig/go-m1cpu from version v0.1.6 to v0.2.1. The change is a single-line modification with no alterations to the project's exported entities or Go version declarations.

Changes

Dependency Update

Layer / File(s) Summary
go-m1cpu version bump
go.mod
github.com/shoenig/go-m1cpu indirect module requirement updated from v0.1.6 to v0.2.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Poem

🐰 A tiny bump, so small yet grand,
From point-one-six to point-two-one,
The M5 crashes flee the land,
With newer code, the bugs are done! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: bump go-m1cpu to v0.2.1' is fully aligned with the main change: updating the go-m1cpu dependency from v0.1.6 to v0.2.1 as documented in go.mod.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump-go-m1cpu

Comment @coderabbitai help to get the list of available commands and usage tips.

@dogancanbakir dogancanbakir self-assigned this Jun 3, 2026
@dogancanbakir dogancanbakir requested a review from Mzack9999 June 3, 2026 14:37
@Mzack9999 Mzack9999 changed the base branch from main to dev June 4, 2026 11:45
Resolve go.mod/go.sum conflicts by taking dev dependency updates.
go-m1cpu is no longer in the tree after dev moved to gopsutil/v4.
@Mzack9999 Mzack9999 merged commit 2e15d76 into dev Jun 4, 2026
4 checks passed
@Mzack9999 Mzack9999 deleted the bump-go-m1cpu branch June 4, 2026 11:51
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.

SIGSEGV on Apple M5 (go-m1cpu v0.1.6)

2 participants