feat(update): add release status check#882
Conversation
b5eeb53 to
f85ffd2
Compare
|
Codex review: needs maintainer review before merge. Reviewed June 26, 2026, 5:29 PM ET / 21:29 UTC. Summary Reproducibility: not applicable. this is a new CLI feature PR, not a bug report. The contributor posted terminal output for Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Have a maintainer decide whether release status belongs in core as Do we have a high-confidence way to reproduce the issue? Not applicable: this is a new CLI feature PR, not a bug report. The contributor posted terminal output for Is this the best way to solve the issue? Unclear: the implementation is narrow and tested, but VISION.md says new product/API surfaces and command-structure changes should be discussed first. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 213ddb60d7d1. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Added real behavior proof for the current PR head Fresh build: $ make build
$ ./bin/gog --json update statusOutput: {
"current_version": "v0.31.1-3-gf85ffd26",
"current_commit": "f85ffd26ceea",
"current_date": "2026-06-26T17:29:58Z",
"latest_version": "v0.31.1",
"latest_url": "https://github.com/openclaw/gogcli/releases/tag/v0.31.1",
"update_available": false,
"platform": "linux/amd64",
"platform_asset": "gogcli_0.31.1_linux_amd64.tar.gz",
"platform_asset_url": "https://github.com/openclaw/gogcli/releases/download/v0.31.1/gogcli_0.31.1_linux_amd64.tar.gz",
"checksum_available": true,
"checksums_url": "https://github.com/openclaw/gogcli/releases/download/v0.31.1/checksums.txt",
"platform_asset_sha256": "5f5c35eb8c5603a59ee1eaf31909463f4e8c5f645130d9a4296571966a77aef2",
"install_method": "standalone",
"executable": "/root/.openclaw/workspace/upstream/gogcli-update-status/bin/gog",
"self_update_supported": true
}Plain output also works: The command is read-only: it only reads GitHub release metadata and local executable/build metadata; it does not write binaries, restart services, or modify local state. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Summary
gog update statuswithcheckalias for read-only release status checksNotes
Testing
go test -vet=off ./internal/cmd -run 'TestUpdate'node scripts/check-docs-coverage.mjsmake build./bin/gog --json update statusgo test -vet=off ./...