Skip to content

feat(cli): hint Ctrl+G restart after auto-upgrade - #71

Merged
duyetbot merged 1 commit into
mainfrom
feat/ctrl-g-restart-after-upgrade
Sep 15, 2026
Merged

duyetbot merged 1 commit into
mainfrom
feat/ctrl-g-restart-after-upgrade

Conversation

@duyetbot

Copy link
Copy Markdown
Member

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

  • After an in-place auto-upgrade, print anyr: auto-updated to … and Press Ctrl+G in the agent to restart and resume.
  • Same Ctrl+G hint on the spinner success line and anyr upgrade --help.

Does not edit the release-please PR. After merge, release-please should refresh #70.

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.
@duyetbot
duyetbot merged commit 0cbd8b1 into main Sep 15, 2026
1 check passed
@github-actions

Copy link
Copy Markdown
Contributor

anyr size and startup

Startup is wall time for a cold anyr --version / anyr --help (median of 21 runs). Size is the stripped release binary, or the .wasm for the browser demo.

Size budget: anyr-linux-x86_64 must stay ≤ 4.0 MiB (4194304 bytes) stripped.

Asset Kind Size --version median --help median
anyr-darwin-arm64 native 2.8 MiB 3.81 ms 3.84 ms
anyr-darwin-x86_64 native 3.0 MiB 42.22 ms 37.14 ms
anyr-linux-arm64 native 2.8 MiB 0.75 ms 0.79 ms
anyr-linux-x86_64 native 3.1 MiB 0.84 ms 0.78 ms
anyr-windows-x86_64.exe native 2.6 MiB 8.85 ms 8.87 ms
anyr.wasm wasm 179.7 KiB

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": ""
  }
]

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