Skip to content

Conversation

@MarcusGoldschmidt
Copy link
Contributor

@MarcusGoldschmidt MarcusGoldschmidt commented Dec 18, 2025

Description

  • Bug fix
  • New feature

Useful links:

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated project dependencies to latest stable versions.

✏️ Tip: You can customize this high-level summary in your review settings.

@MarcusGoldschmidt MarcusGoldschmidt requested a review from a team December 18, 2025 15:52
@coderabbitai
Copy link

coderabbitai bot commented Dec 18, 2025

Walkthrough

Updated dependency versions in go.mod, including baton-sdk (v0.6.5 to v0.6.7), purego, gopsutil, tklauser modules, and golang.org/x/sys. No functional or API changes.

Changes

Cohort / File(s) Summary
Dependency Version Updates
go.mod
Bumped direct and indirect dependencies: baton-sdk (v0.6.5→v0.6.7), purego (v0.8.4→v0.9.1), gopsutil (v4.25.8→v4.25.11), go-sysconf (v0.3.15→v0.3.16), numcpus (v0.10.0→v0.11.0), golang.org/x/sys (v0.37.0→v0.38.0). Updated transitive versions accordingly.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 A hop and a skip, dependencies aligned,
New versions in place, no conflicts to find,
Baton and purego dance hand in paw,
The module path steady—no breaking at all! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'Upgrade baton-sdk' directly and clearly summarizes the main change in the changeset, which is upgrading the baton-sdk dependency along with related transitive dependencies.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch goldschmidt/upgrade-baton-sdk

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

Copy link

@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: 0

🧹 Nitpick comments (1)
go.mod (1)

7-7: Verify dependency versions and test compatibility.

This PR updates multiple dependencies including baton-sdk from v0.6.5 to v0.6.7, along with indirect dependency updates (purego, gopsutil, and tklauser modules). Before merging:

  1. Confirm all updated versions exist and are stable releases
  2. Check for breaking changes in baton-sdk v0.6.6 and v0.6.7
  3. Verify the code builds and tests pass with these new versions
  4. Confirm no known security vulnerabilities in the updated packages

Run go mod tidy, go build ./..., and go test ./... to validate the updates resolve correctly and maintain compatibility.

Also applies to: 62-62, 97-97, 105-105, 106-106, 128-128

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5408753 and f71eef2.

⛔ Files ignored due to path filters (135)
  • go.sum is excluded by !**/*.sum and included by none
  • vendor/github.com/conductorone/baton-sdk/internal/connector/connector.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/internal/connector/connector_server_unix.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connector/v2/annotation_security_insight.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connector/v2/annotation_security_insight.pb.validate.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connector/v2/annotation_security_insight_protoopaque.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connector/v2/resource.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connector/v2/resource.pb.validate.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connector/v2/resource_protoopaque.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connectorapi/baton/v1/baton.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connectorapi/baton/v1/baton.pb.validate.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/connectorapi/baton/v1/baton_protoopaque.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/reader/v2/grant.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pb/c1/reader/v2/grant_protoopaque.pb.go is excluded by !**/*.pb.go, !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/cli/commands.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/connectorbuilder/accounts.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/connectorrunner/runner.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/assets.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/c1file.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/decoder.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/diff.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/entitlements.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/file.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/grants.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/resouce_types.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/resources.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/session_store.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/sql_helpers.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/dotc1z/sync_runs.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/sdk/version.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/session/json_session.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/session/session.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/sync/expand/expander.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/sync/expand/graph.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/sync/expand/scc/bitset.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/sync/syncer.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/synccompactor/compactor.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/tasks/c1api/full_sync.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/tasks/c1api/hello.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/tasks/c1api/manager.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/tasks/local/action_invoker.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/tasks/local/syncer.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/types/resource/security_insight_trait.go is excluded by !vendor/** and included by none
  • vendor/github.com/conductorone/baton-sdk/pkg/types/sessions/sessions.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/README.md is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/abi_loong64.h is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/cgo.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/dlerror.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/dlfcn.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/dlfcn_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/dlfcn_nocgo_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/dlfcn_stubs.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/func.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/gen.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/go_runtime.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/abi_loong64.h is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/asm_loong64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_loong64.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/go_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_loong64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/nocgo.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/struct_amd64.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/struct_arm64.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/struct_loong64.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/struct_other.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/sys_amd64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/sys_arm64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/sys_loong64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/sys_unix_arm64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/sys_unix_loong64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/syscall.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/syscall_cgo_linux.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/syscall_sysv.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/syscall_windows.go is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/zcallback_amd64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/zcallback_arm64.s is excluded by !vendor/** and included by none
  • vendor/github.com/ebitengine/purego/zcallback_loong64.s is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/cpu/cpu_windows.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/host/host_aix_ppc64.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common_darwin.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common_freebsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common_linux.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common_openbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/common_windows.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/internal/common/warnings.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/net/net_linux.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/net/net_windows.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/process/process.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/process/process_darwin.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/process/process_linux.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/process/process_solaris.go is excluded by !vendor/** and included by none
  • vendor/github.com/shirou/gopsutil/v4/process/process_windows.go is excluded by !vendor/** and included by none
  • vendor/github.com/tklauser/go-sysconf/.cirrus.yml is excluded by !vendor/** and included by none
  • vendor/github.com/tklauser/go-sysconf/sysconf_netbsd.go is excluded by !vendor/** and included by none
  • vendor/github.com/tklauser/numcpus/.cirrus.yml is excluded by !vendor/** and included by none
  • vendor/github.com/tklauser/numcpus/numcpus_linux.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu_arm64.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu_arm64.s is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/unix/mkerrors.sh is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/unix/syscall_linux.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/unix/zerrors_linux.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/unix/zsyscall_linux.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/unix/ztypes_linux.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/windows/syscall_windows.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/windows/types_windows.go is excluded by !vendor/** and included by none
  • vendor/golang.org/x/sys/windows/zsyscall_windows.go is excluded by !vendor/** and included by none
  • vendor/modules.txt is excluded by !vendor/** and included by none
📒 Files selected for processing (1)
  • go.mod (4 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: go-lint
  • GitHub Check: go-test (ubuntu-latest)

@MarcusGoldschmidt MarcusGoldschmidt merged commit 68a57c1 into main Dec 18, 2025
4 checks passed
@MarcusGoldschmidt MarcusGoldschmidt deleted the goldschmidt/upgrade-baton-sdk branch December 18, 2025 16:28
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.

4 participants