Skip to content

chore: Bump github.com/ccoveille/go-safecast to 2.0.1 - #17

Merged
hami-robot[bot] merged 1 commit into
Project-HAMi:masterfrom
ccoVeille:go-safecast
Sep 28, 2026
Merged

hami-robot[bot] merged 1 commit into
Project-HAMi:masterfrom
ccoVeille:go-safecast

Conversation

@ccoVeille

Copy link
Copy Markdown
Contributor

Signed-off-by: ccoVeille 3875889+ccoVeille@users.noreply.github.com

Note: I'm go-safecast creator and maintainer.

The v2 has breaking changes for something you were not using.

You can read https://github.com/ccoVeille/go-safecast/releases/tag/v2.0.0 if you are interested.

Signed-off-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 28, 2026 19:57
@hami-robot
hami-robot Bot requested review from DSFans2014 and archlitchi May 28, 2026 19:57
@hami-robot

hami-robot Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Welcome @ccoVeille! It looks like this is your first PR to Project-HAMi/mock-device-plugin 🎉

@hami-robot hami-robot Bot added the size/XS label May 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the go-safecast dependency to its v2 major version and aligns the codebase with the new Go module import path.

Changes:

  • Bump github.com/ccoveille/go-safecast from v1.8.2 to github.com/ccoveille/go-safecast/v2 v2.0.1
  • Update the Go import path to use /v2
  • Refresh go.sum entries for the new module version

Reviewed changes

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

File Description
internal/pkg/api/device/device.go Updates the go-safecast import path to the v2 module path.
go.mod Upgrades the go-safecast dependency to v2.0.1 using the Go modules major-version path.
go.sum Replaces v1 checksums with v2 checksums for go-safecast.

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

@moezdil

moezdil commented Sep 22, 2026 •

Copy link
Copy Markdown

Old PRs and issues are being closed because they are no longer relevant. Or it was closed because of the
inactivity of PR/issues owners.
If you believe the issue is still relevant, please submit feedback.

@moezdil moezdil closed this Sep 22, 2026
@ccoVeille

Copy link
Copy Markdown
Contributor Author

Please reopen. The v2 version of go-safecast is yhe version you should target.

The v2.0.1 is still ghe current one.

v1.8 used by the module is no longer maintained

@moezdil moezdil reopened this Sep 22, 2026

@archlitchi archlitchi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@hami-robot

hami-robot Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: archlitchi, ccoVeille

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hami-robot hami-robot Bot added the approved label Sep 28, 2026
@hami-robot
hami-robot Bot merged commit 8be1424 into Project-HAMi:master Sep 28, 2026
9 checks passed
@ccoVeille
ccoVeille deleted the go-safecast branch September 28, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants