Skip to content

chore(deps): upgraded github.com/projectdiscovery/utils v0.10.0 => v0.10.1#7345

Merged
dwisiswant0 merged 1 commit intodevfrom
dwisiswant0/chore/deps/upgraded-github-com-projectdiscovery-utils-v0-10-0-v0-10-1
Apr 15, 2026
Merged

chore(deps): upgraded github.com/projectdiscovery/utils v0.10.0 => v0.10.1#7345
dwisiswant0 merged 1 commit intodevfrom
dwisiswant0/chore/deps/upgraded-github-com-projectdiscovery-utils-v0-10-0-v0-10-1

Conversation

@dwisiswant0
Copy link
Copy Markdown
Member

@dwisiswant0 dwisiswant0 commented Apr 14, 2026

Proposed changes

upgraded github.com/projectdiscovery/utils v0.10.0 => v0.10.1

Closes #7327

Proof

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Summary by CodeRabbit

  • Chores
    • Updated project dependencies to latest stable versions for improved compatibility and performance.

@auto-assign auto-assign bot requested a review from Mzack9999 April 14, 2026 22:36
@dwisiswant0 dwisiswant0 requested a review from ehsandeep April 14, 2026 22:36
@neo-by-projectdiscovery-dev
Copy link
Copy Markdown

neo-by-projectdiscovery-dev bot commented Apr 14, 2026

Neo - PR Security Review

No security issues found

Hardening Notes
  • The upstream utils v0.10.1 change bumps github.com/shirou/gopsutil/v4 to v4.26.3, which includes bug fixes for AIX platform support and a SIGBUS/SIGSEGV crash fix on macOS ARM64
  • No security scanners (TruffleHog, Semgrep, ast-grep) flagged any issues in this dependency update
  • No CVEs or known security vulnerabilities found for the updated dependency versions

Comment @pdneo help for available commands. · Open in Neo

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 14, 2026

Walkthrough

Updated five Go module dependencies to newer versions: projectdiscovery/utils to v0.10.1, ebitengine/purego to v0.10.0, shirou/gopsutil/v4 to v4.26.3, and tklauser/go-sysconf and numcpus to v0.3.16 and v0.11.0 respectively, all specified in the go.mod require block.

Changes

Cohort / File(s) Summary
Dependency Version Updates
go.mod
Updated five indirect dependencies to newer patch/minor versions: github.com/projectdiscovery/utils (v0.10.0→v0.10.1), github.com/ebitengine/purego (v0.8.4→v0.10.0), github.com/shirou/gopsutil/v4 (v4.25.7→v4.26.3), github.com/tklauser/go-sysconf (v0.3.15→v0.3.16), and github.com/tklauser/numcpus (v0.10.0→v0.11.0).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 Hops of joy for Apple's arm,
Dependencies upgraded calm,
No more crashes in the night,
Silicon M1 shining bright!
Purego's flow, gopsutil's grace,
Bug squashed with update's embrace!

🚥 Pre-merge checks | ✅ 2 | ❌ 3

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions only one dependency upgrade (projectdiscovery/utils v0.10.0→v0.10.1), but the changeset also updates multiple other dependencies (purego, gopsutil, go-sysconf, numcpus). Update the title to reflect all significant dependency changes, or narrow the scope of this PR to only upgrade projectdiscovery/utils.
Out of Scope Changes check ⚠️ Warning The PR updates four additional dependencies beyond projectdiscovery/utils (purego, gopsutil, go-sysconf, numcpus), which are not mentioned in the title or the linked issue #7327. Remove unrelated dependency updates or update the PR title and issue reference to document why these additional dependencies need upgrading.
Linked Issues check ❓ Inconclusive Issue #7327 reports a macOS arm64 crash caused by go-m1cpu initialization. The PR upgrades projectdiscovery/utils v0.10.0→v0.10.1 but does not directly address the go-m1cpu crash; it appears to rely on utils v0.10.1 containing a transitive fix. Clarify whether utils v0.10.1 includes a fix for the go-m1cpu issue or if the crash is resolved through an indirect dependency update. Verify the fix addresses the macOS arm64 SIGSEGV.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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 dwisiswant0/chore/deps/upgraded-github-com-projectdiscovery-utils-v0-10-0-v0-10-1

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

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 114: The go.mod bump to github.com/projectdiscovery/utils v0.10.1 is not
documented to fix the macOS arm64 startup crash (Issue `#7327`); before merging
either provide evidence that the transitive gopsutil v4.26.3 change resolves the
crash (runtime logs, repro steps, or CI macOS arm64 run showing successful
startup) or add a runtime validation in the startup path to detect macOS/arm64
and assert CPU/init behavior (e.g., in your main init/startup routine) and
log/exit with a clear error if the go-m1cpu/gopsutil initialization still fails;
reference the go.mod change to github.com/projectdiscovery/utils v0.10.1 and tie
the validation or evidence to Issue `#7327`.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d8d74240-c893-41f5-b128-8718b5df180a

📥 Commits

Reviewing files that changed from the base of the PR and between f893b6c and 8d8eebf.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
github-actions[bot]

This comment was marked as outdated.

@dwisiswant0 dwisiswant0 merged commit 24af3d9 into dev Apr 15, 2026
21 checks passed
@dwisiswant0 dwisiswant0 deleted the dwisiswant0/chore/deps/upgraded-github-com-projectdiscovery-utils-v0-10-0-v0-10-1 branch April 15, 2026 17:16
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.

[BUG] Crash on macOS (Apple Silicon): SIGSEGV in go-m1cpu during initialization

2 participants