Skip to content

GoCodeAlone maintenance fork: rename module, Go 1.26.3, vuln sweep#1

Merged
intel352 merged 2 commits into
mainfrom
chore/gca-maintenance-fork
Jun 1, 2026
Merged

GoCodeAlone maintenance fork: rename module, Go 1.26.3, vuln sweep#1
intel352 merged 2 commits into
mainfrom
chore/gca-maintenance-fork

Conversation

@intel352
Copy link
Copy Markdown

@intel352 intel352 commented Jun 1, 2026

Establishes GoCodeAlone/rod as a maintained fork of go-rod/rod (upstream stale since 2024; we need dep/vuln control for workflow-plugin-hover's headless Imperva-bypass auth).

Changes

  • Rename root module github.com/go-rod/rodgithub.com/GoCodeAlone/rod so consumers can require/replace with a matching module path.
  • Bump go directive 1.21 → 1.26.3 (+ toolchain).
  • Trim go.work to root (the 3 nested example/tooling modules stay on the upstream path; not part of the maintained surface).
  • Fix a non-constant fmt.Errorf vet warning (compare-chromedp example → errors.New).
  • Bump golang.org/x/sys → v0.45.0 in the custom-websocket example (Dependabot privilege-reporting CVE). Root module is x/sys-clean after module-graph prune.

Verification

  • go build ./...go vet ./... ✓ (clean)
  • govulncheck ./... → No vulnerabilities found
  • Dependabot: both moderate x/sys alerts addressed

Deliberately NOT done: bleeding-edge dep bumps (fetchup 0.5.x breaks the launcher API for no vuln benefit) and whole-repo modernize (churns 2600+ lines of generated proto, wrecking upstream-mergeability). Kept minimal + mergeable.

🤖 Generated with Claude Code

intel352 and others added 2 commits June 1, 2026 17:38
GoCodeAlone maintenance fork of go-rod/rod (upstream stale since 2024).
Renames root module path so consumers can require/replace the fork with a
matching module path, bumps go directive 1.21->1.26.3, trims go.work to root.
Also fixes a non-constant fmt.Errorf vet warning in the compare-chromedp
example (errors.New). The 3 nested example/tooling modules are left on the
upstream path (not part of the maintained surface).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Clears the Dependabot golang.org/x/sys privilege-reporting alert in the
custom-websocket example module (go 1.18->1.25). Root module already
x/sys-clean after the module-graph prune on the rename commit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 1, 2026 21:42
@intel352 intel352 merged commit 6b5b5d1 into main Jun 1, 2026
4 checks passed
@intel352 intel352 deleted the chore/gca-maintenance-fork branch June 1, 2026 21:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR establishes GoCodeAlone/rod as a maintained fork of go-rod/rod by renaming the root Go module path, updating internal import paths accordingly, and doing a small dependency/vet cleanup in examples.

Changes:

  • Renamed the root module path to github.com/GoCodeAlone/rod and updated imports across core packages, tests, generators, and examples.
  • Updated workspace/module Go version directives and simplified go.work to only include the root module.
  • Addressed a go vet format-string warning in an example and updated x/sys in the custom-websocket example module.

Reviewed changes

Copilot reviewed 104 out of 105 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
utils.go Updates internal imports to the new fork module path.
states.go Updates proto import to the new fork module path.
setup_test.go Updates test imports to the new fork module path.
query.go Updates internal imports to the new fork module path.
query_test.go Updates test imports to the new fork module path.
page.go Updates internal imports to the new fork module path.
page_test.go Updates test imports to the new fork module path.
page_eval.go Updates internal imports to the new fork module path.
page_eval_test.go Updates test imports to the new fork module path.
must.go Updates internal imports to the new fork module path.
must_test.go Updates test imports to the new fork module path.
lib/utils/utils_test.go Updates utils test import to the new fork module path.
lib/utils/sleeper_test.go Updates utils test import to the new fork module path.
lib/utils/simple-check/main.go Updates utils import to the new fork module path.
lib/utils/shell/main.go Updates utils import to the new fork module path.
lib/utils/setup/main.go Updates utils import to the new fork module path.
lib/utils/rename/main.go Updates utils import to the new fork module path.
lib/utils/lint/prefix.go Updates utils import to the new fork module path.
lib/utils/lint/main.go Updates utils import to the new fork module path.
lib/utils/imageutil.go Updates proto import to the new fork module path.
lib/utils/imageutil_test.go Updates proto import to the new fork module path.
lib/utils/get-browser/main.go Updates launcher/utils imports to the new fork module path.
lib/utils/ci-test/main.go Updates utils import to the new fork module path.
lib/proto/generate/utils.go Updates launcher/utils imports to the new fork module path.
lib/proto/generate/main.go Updates utils/proto references to the new fork module path (including generated snippet).
lib/proto/definitions_test.go Updates proto test import to the new fork module path.
lib/proto/a_utils_test.go Updates proto test import to the new fork module path.
lib/proto/a_patch_test.go Updates proto test import to the new fork module path.
lib/proto/a_interface_test.go Updates proto/utils imports to the new fork module path.
lib/launcher/utils.go Updates utils import to the new fork module path.
lib/launcher/url_parser.go Updates utils import to the new fork module path.
lib/launcher/rod-manager/main.go Updates launcher/utils imports to the new fork module path.
lib/launcher/revision/main.go Updates utils import to the new fork module path.
lib/launcher/private_test.go Updates test imports to the new fork module path.
lib/launcher/os_unix.go Updates flags import to the new fork module path.
lib/launcher/manager.go Updates internal imports to the new fork module path.
lib/launcher/load_test.go Updates test imports to the new fork module path.
lib/launcher/launcher.go Updates defaults/flags/utils imports to the new fork module path.
lib/launcher/launcher_test.go Updates test imports to the new fork module path.
lib/launcher/example_test.go Updates example test imports to the new fork module path.
lib/launcher/browser.go Updates defaults/utils imports to the new fork module path.
lib/js/generate/main.go Updates utils import to the new fork module path.
lib/input/mouse.go Updates proto import to the new fork module path.
lib/input/mouse_test.go Updates input/proto test imports to the new fork module path.
lib/input/keyboard.go Updates proto import to the new fork module path.
lib/input/keyboard_test.go Updates input/proto test imports to the new fork module path.
lib/examples/use-rod-like-chrome-extension/main.go Updates example imports to the new fork module path.
lib/examples/translator/main.go Updates example import to the new fork module path.
lib/examples/stripe/main.go Updates example import to the new fork module path.
lib/examples/launch-managed/main.go Updates example imports to the new fork module path.
lib/examples/disable-window-alert/main.go Updates example imports to the new fork module path.
lib/examples/debug-deadlock/main.go Updates example import and embedded stack-trace reference to the new fork module path.
lib/examples/custom-websocket/go.sum Updates sums to include new dependency versions (notably x/sys v0.45.0).
lib/examples/custom-websocket/go.mod Updates example module Go version and bumps golang.org/x/sys (and resulting indirects).
lib/examples/custom-launch/main.go Updates example imports and pkg.go.dev link to the new fork module path.
lib/examples/connect-browser/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/visible/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/upload/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/text/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/subtree/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/submit/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/screenshot/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/remote/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/proxy/main.go Updates example imports and replaces fmt.Errorf(h) with errors.New(h) to satisfy vet.
lib/examples/compare-chromedp/pdf/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/logic/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/keys/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/headers/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/eval/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/emulate/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/download_image/main.go Updates example import to the new fork module path.
lib/examples/compare-chromedp/download_file/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/cookie/main.go Updates example imports to the new fork module path.
lib/examples/compare-chromedp/click/main.go Updates example import to the new fork module path.
lib/docker/main.go Updates utils import and the OCI label URL to point at the new fork repo path.
lib/devices/utils_test.go Updates devices test import to the new fork module path.
lib/devices/generate/main.go Updates utils import to the new fork module path.
lib/devices/device.go Updates proto import to the new fork module path.
lib/defaults/defaults.go Updates utils import to the new fork module path.
lib/cdp/websocket_test.go Updates test imports to the new fork module path.
lib/cdp/utils.go Updates utils import to the new fork module path.
lib/cdp/format.go Updates utils import to the new fork module path.
lib/cdp/example_test.go Updates example test imports to the new fork module path.
lib/cdp/client.go Updates defaults/utils imports to the new fork module path.
lib/cdp/client_test.go Updates test imports to the new fork module path.
lib/benchmark/basic_test.go Updates benchmark test imports to the new fork module path.
lib/assets/generate/main.go Updates utils import to the new fork module path.
input.go Updates internal imports to the new fork module path.
input_test.go Updates test imports to the new fork module path.
hijack.go Updates internal imports to the new fork module path.
hijack_test.go Updates test imports to the new fork module path.
go.work.sum Removes the workspace sum file after simplifying the workspace configuration.
go.work Bumps workspace Go version and limits workspace to just the root module.
go.mod Renames the module path and bumps the module Go version directive.
fixtures/gen-fonts/main.go Updates generator imports to the new fork module path.
examples_test.go Updates imports and documentation links to the new fork module path.
error.go Updates internal imports to the new fork module path.
element.go Updates internal imports to the new fork module path.
element_test.go Updates test imports to the new fork module path.
dev_helpers.go Updates internal imports to the new fork module path.
dev_helpers_test.go Updates test imports to the new fork module path.
context.go Updates utils import to the new fork module path.
browser.go Updates internal imports and pkg.go.dev link to the new fork module path.
browser_test.go Updates test imports to the new fork module path.
.claude/autodev-state/demo-fidelity-seen Adds a Claude Code state artifact file.

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

Comment thread go.mod
Comment on lines +1 to 4
module github.com/GoCodeAlone/rod

go 1.21
go 1.26.3

Comment thread go.work
Comment on lines +1 to +3
go 1.26.3

use (
.
./lib/examples/custom-websocket
./lib/examples/e2e-testing
./lib/utils/check-issue
)
use .
@@ -0,0 +1 @@
5f9d9317b0b15af57f7919c732b8bdc7ca20e7839a7670237800844ca90a487c
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.

2 participants