chore(deps): refresh Go dependencies and CI toolchain - #8
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 5:36 AM ET / 09:36 UTC. ClawSweeper reviewWhat this changesThe PR updates Go module dependencies, prefers Go 1.27.0, refreshes the CI actions and deadcode tool, and documents the toolchain requirement. Merge readiness✅ Ready for maintainer review Keep open for normal maintainer review: this is a focused dependency and CI refresh with no definite introduced defect found, and its supplied live trace exercises the built node through pairing, transcript delivery, mDNS registration, and clean shutdown. Priority: P2 Review scores
Verification
How this fits togetherClawgo is a headless Go node that connects to an OpenClaw bridge, sends transcript events, and advertises itself through mDNS. Its module manifest determines the dependency graph used by local builds, while CI selects the Go toolchain and runs static checks, tests, and a build. flowchart LR
A[Developer checkout] --> B[Go module and toolchain]
B --> C[Clawgo build]
C --> D[Bridge pairing and transcript events]
C --> E[mDNS advertisement]
B --> F[CI checks]
F --> G[Test and build results]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Land the focused refresh after ordinary exact-head CI review, retaining the pinned action revisions and deferring incompatible mDNS-library major migrations to a separate change. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug report; the PR includes a concrete live local run of the dependency-affected node behavior after the update. Is this the best way to solve the issue? Yes; updating compatible modules and pinning CI actions is the narrowest maintainable path, while leaving incompatible major mDNS dependency migrations out of this refresh. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 5f1b9d90abe2. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Refresh the Go dependencies used by Clawgo and the tools that build it. The application and bridge protocol are unchanged; the updated binary passes a live local pairing/transcript exchange with mDNS enabled.
Dependency changes
godirectivetoolchain; minimum remains 1.26.0github.com/miekg/dnsgolang.org/x/netgolang.org/x/sysgolang.org/x/syncin the selected module graphdeadcodeactions/checkoutactions/setup-goRegenerated manifests with
go get -u ./...,go get toolchain@go1.27.0, andgo mod tidy. Tidy removed the unnecessary directx/cryptorequirement;go mod why -m golang.org/x/cryptoreports that the main module does not need it. Existing transitive module metadata still selects v0.55.0. No new library was introduced.zeroconfv1.0.0, backoff v2.2.1+incompatible, and the dispatch workflow's app-token action v3.2.0 are already current on their existing release/import paths. Every module used by the application's packages and tests is current on its existing path. Generator-only module constraints inherited from dependencies are left to their owners.Major upgrades taken: checkout v7 adds safer checkout defaults for privileged events; this build workflow uses ordinary
push/pull_requestevents. setup-go v7 changes its internal module format without changing inputs or outputs. Its documentedtoolchain-directive support selects Go 1.27.0 fromgo.mod.NEEDS-PETER: defer backoff v5 and the DNS v2 successor.
zeroconfowns the imports of both older APIs; migrating them requires changing/forking/replacing that dependency. Recommendation: retain the latest compatible versions in this maintenance PR and handle any mDNS-library migration separately. See the backoff import contract and DNS successor notice.Validation and live proof
Run on macOS arm64 with Go 1.27.0. Build artifacts and the private build cache were kept inside
.git/deps-refreshfor cleanup.Builds exited 0 with no output. Test and live output:
The fixture uses a loopback TCP bridge and synthetic state, writes real transcript text to the built CLI's stdin, checks the received protocol frames, and verifies mDNS registration and graceful shutdown. It does not contact a production gateway or send messages to a provider. This proves local protocol behavior, not compatibility with a deployed gateway.
Additional commands:
CI reasoning
The initial
NORUNSobservation was a discovery gap. The current default-branch commit already passed the realCIworkflow: https://github.com/openclaw/clawgo/actions/runs/30230830563. Its deadcode, test, and build assertions remain intact. The PR build/test run passed with the refreshed toolchain, actions, and deadcode version: https://github.com/openclaw/clawgo/actions/runs/33378295860. No failing assertions or jobs were weakened or removed. Both CodeQL analyses (Go and Actions) also passed: https://github.com/openclaw/clawgo/actions/runs/33378292377.ClawSweeper Dispatchis event-driven operational automation, not a build/test gate or a scheduled production monitor. Its latest observed run succeeded: https://github.com/openclaw/clawgo/actions/runs/33368092116. Its current pinned action and workflow behavior are unchanged.Codex autoreview completed scoped-clean at its default P0 threshold with no accepted/actionable findings. No runtime behavior change is intended, so no changelog entry is needed. This PR is for maintainer review; it must not be merged by this worker.
Reproduce the live fixture
Save the following as
.git/deps-refresh/live.pyafter creating.git/deps-refresh, then run the build and live-proof commands above.