feat(cli): hint Ctrl+G restart after auto-upgrade - #71
Merged
Merged
Conversation
Auto-update already installs in place. After it lands, tell the user to press Ctrl+G in the agent to restart and resume, and mention the same in upgrade help and the post-spinner hint.
Contributor
anyr size and startupStartup is wall time for a cold Size budget:
Budget check: ok raw timings[
{
"asset": "anyr-darwin-arm64",
"kind": "native",
"path": "/Users/runner/work/cli/cli/anyr-darwin-arm64",
"bytes": 2927912,
"size": "2.8 MiB",
"version": "0.1.13 (built 2026-09-15 19:41:17)",
"target": "aarch64-apple-darwin",
"os": "macos-latest",
"startup_version": {
"n": 21,
"min_ms": 3.58,
"median_ms": 3.81,
"p95_ms": 4.97,
"mean_ms": 4.05
},
"startup_help": {
"n": 21,
"min_ms": 3.23,
"median_ms": 3.84,
"p95_ms": 6.47,
"mean_ms": 4.39
}
},
{
"asset": "anyr-darwin-x86_64",
"kind": "native",
"path": "/Users/runner/work/cli/cli/anyr-darwin-x86_64",
"bytes": 3137904,
"size": "3.0 MiB",
"version": "0.1.13 (built 2026-09-15 19:42:00)",
"target": "x86_64-apple-darwin",
"os": "macos-latest",
"startup_version": {
"n": 21,
"min_ms": 34.98,
"median_ms": 42.22,
"p95_ms": 59.5,
"mean_ms": 45.31
},
"startup_help": {
"n": 21,
"min_ms": 32.91,
"median_ms": 37.14,
"p95_ms": 49.29,
"mean_ms": 40.55
}
},
{
"asset": "anyr-linux-arm64",
"kind": "native",
"path": "/home/runner/work/cli/cli/anyr-linux-arm64",
"bytes": 2888744,
"size": "2.8 MiB",
"version": "0.1.13 (built 2026-09-15 19:40:52)",
"target": "aarch64-unknown-linux-gnu",
"os": "ubuntu-24.04-arm",
"startup_version": {
"n": 21,
"min_ms": 0.68,
"median_ms": 0.75,
"p95_ms": 0.84,
"mean_ms": 0.76
},
"startup_help": {
"n": 21,
"min_ms": 0.74,
"median_ms": 0.79,
"p95_ms": 0.81,
"mean_ms": 0.78
}
},
{
"asset": "anyr-linux-x86_64",
"kind": "native",
"path": "/home/runner/work/cli/cli/anyr-linux-x86_64",
"bytes": 3234088,
"size": "3.1 MiB",
"version": "0.1.13 (built 2026-09-15 19:40:51)",
"target": "x86_64-unknown-linux-gnu",
"os": "ubuntu-latest",
"startup_version": {
"n": 21,
"min_ms": 0.79,
"median_ms": 0.84,
"p95_ms": 0.93,
"mean_ms": 0.85
},
"startup_help": {
"n": 21,
"min_ms": 0.76,
"median_ms": 0.78,
"p95_ms": 0.85,
"mean_ms": 0.79
}
},
{
"asset": "anyr-windows-x86_64.exe",
"kind": "native",
"path": "D:\\a\\cli\\cli\\anyr-windows-x86_64.exe",
"bytes": 2682368,
"size": "2.6 MiB",
"version": "0.1.13 (built 2026-09-15T19:42:35Z)",
"target": "x86_64-pc-windows-msvc",
"os": "windows-latest",
"startup_version": {
"n": 21,
"min_ms": 8.54,
"median_ms": 8.85,
"p95_ms": 9.95,
"mean_ms": 9.01
},
"startup_help": {
"n": 21,
"min_ms": 8.57,
"median_ms": 8.87,
"p95_ms": 10.03,
"mean_ms": 9.08
}
},
{
"asset": "anyr.wasm",
"kind": "wasm",
"path": "/home/runner/work/cli/cli/target/wasm-pkg/anyr_cli_bg.wasm",
"bytes": 184025,
"size": "179.7 KiB",
"version": "wasm",
"target": "wasm32-unknown-unknown",
"os": ""
}
] |
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.
Why
0.1.14 release notes should mention auto-upgrade and Ctrl+G restart/resume. Those were not in conventional commits since v0.1.13, so this lands the behavior + changelog entries before merging release-please.
What
anyr: auto-updated to …andPress Ctrl+G in the agent to restart and resume.anyr upgrade --help.Does not edit the release-please PR. After merge, release-please should refresh #70.