Feat/repo transfer and improve socket check#39
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the project to the new GitHub organization/module path (monitoring-forge) and tightens the Unix-socket behavior used for communicating with the background daemon, while also improving build metadata reporting.
Changes:
- Transfer module/import/release references from
github.com/kazeburo/...togithub.com/monitoring-forge/.... - Harden socket handling by setting socket permissions and adding an owner check before dialing.
- Adjust build/version metadata: introduce
main.commit, update Makefile test targets, and update documentation examples.
Reviewed changes
Copilot reviewed 8 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates usage example socket path and install command to the new repo org. |
| maxcpu/maxcpuconnect/maxcpu.connect.go | Regenerated connect-go client/server bindings with updated module path. |
| maxcpu/maxcpu.pb.go | Regenerated protobuf output reflecting updated tool/version/module path. |
| maxcpu.proto | Fixes tooling comment typo and updates go_package to the new module path. |
| Makefile | Embeds commit metadata and expands check to include verbose tests and race tests. |
| main.go | Adds socket permission enforcement, socket owner verification, and commit-aware --version output. |
| main_test.go | Updates imports to the new module path. |
| internal/statworker/command.go | Updates imports to the new module path. |
| go.mod | Updates module path to github.com/monitoring-forge/mackerel-plugin-maxcpu. |
| .goreleaser.yml | Updates release owner/org; build flags section changed. |
| .github/workflows/test.yml | Minor workflow args formatting change. |
Files not reviewed (2)
- maxcpu/maxcpu.pb.go: Generated file
- maxcpu/maxcpuconnect/maxcpu.connect.go: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.