You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The v0.9.0 exit bar says install works cold on four targets. Nothing checks that today, so every
release risks shipping an installer that only worked on the author's laptop.
Proposed Solution
CI job on macOS runners installing from a published tag exactly as a user would
(curl | sh), not from a local build
Assert the launchd service starts and abctl service status is healthy
Set ABCTL_LAUNCHD_TESTS=required on this job so TestWaitBootedOut_RealLaunchd
(cmd_service_bootout_test.go) actually runs instead of silently skipping — true in
every CI run today, since no workflow sets the var. Mirrors ABCTL_SYSTEMD_TESTS=required
on the Linux side (Test: Real-systemd integration test for crash recovery, wired into CI #1076), which turns the same class of skip into a hard failure.
On "a failure blocks the release": today the smoke test can't block anything, because it runs after release-binaries.yaml has already published the release. Three ways to make the box true:
A, alarm only: what we have on Linux. A failure is reported, but the release is already live.
B, test before publishing: smoke-test the built tarballs, publish only if they pass. It does block, but it can't test installing from a published release, which is half of what this issue asks for.
C, publish as a prerelease, then promote: publish each tag as a prerelease, run the Linux and macOS smoke tests against it with --ref=<tag>, and promote it to the latest release only if both pass.
I recommend C. It's the only option that both blocks and tests what users actually run. The installer resolves releases/latest, which GitHub never assigns to a prerelease (that's how main-latest and -rc tags already stay out of the plain one-liner), so the one-liner never serves an untested release. That builds on existing behavior instead of adding new machinery. It needs one promotion step after the smoke tests pass, and a decision on what happens when GitHub's macOS runners queue too long.
Spike result: GitHub's macOS runners can run Cortex under launchd (run 42284398514, workflow on branch macos-launchd-spike). Both runners boot logged in as runner through automatic login, so the per-user gui/<uid> domain exists. Unlike Linux, they need no lingering step.
Install from source, status, stop/start/restart, uninstall
macos-15
macos-15-arm64 (15.8.2)
exists
pass
pass
macos-latest
macos-26-arm64 (26.6.2)
exists
pass
pass
macos-14 is no longer offered, so macOS 15 is the oldest runner available. That rules out testing the cpex build's macOS 14.5 minimum in CI. Both runners are arm64; I didn't try an Intel runner, so which architectures CI can cover is still open. Next: the smoke test itself, installing a published tag via curl | sh, on these two runners.
A new vX.Y.Z is created as a prerelease, so the one-liner, agentop update and the auto-updater don't install it.
release-promote.yaml clears the flag once both smoke workflows have passed for that release run. It sets Latest only when no higher stable version exists, so a backport no longer takes Latest from a newer release.
By hand: gh workflow run release-promote.yaml -f tag=vX.Y.Z, which doesn't check the smoke tests.
workflow_run only fires for files on main, so the first stable tag after both merge is the first live run. That is probably v0.10.0.
Intel and macOS 27 (44787735425): #1780's real-launchd tests, TestWaitBootedOut_RealLaunchd and TestServiceLifecycle_RealLaunchd, pass on every image I hadn't tried yet:
Runner
macOS
Arch
gui/<uid>
Both tests
xcode-27
27.0.1
arm64
exists
pass
macos-26-intel
26.6.1
x86_64
exists
pass
macos-15-intel
15.7.9
x86_64
exists
pass
The smoke test doesn't use xcode-27, because it's a preview image and a release gate shouldn't depend on one.
Which architectures CI covers:
In CI: Linux amd64 and arm64 (Ubuntu 24.04), macOS arm64 (15 and 26) and macOS x86_64 (15).
Manual: macOS 14 and older (GitHub retired its macOS 14 runners on Nov 2), macOS 27 until it ships, and Linux distributions other than Ubuntu.
Activity
fix: Stop cleanup noise from surviving GC, and finish doc overclaimin…
Alan-Cha commentedon Nov 4, 2026
On "a failure blocks the release": today the smoke test can't block anything, because it runs after
release-binaries.yamlhas already published the release. Three ways to make the box true:--ref=<tag>, and promote it to the latest release only if both pass.I recommend C. It's the only option that both blocks and tests what users actually run. The installer resolves
releases/latest, which GitHub never assigns to a prerelease (that's howmain-latestand-rctags already stay out of the plain one-liner), so the one-liner never serves an untested release. That builds on existing behavior instead of adding new machinery. It needs one promotion step after the smoke tests pass, and a decision on what happens when GitHub's macOS runners queue too long.Alan-Cha commentedon Nov 9, 2026
Spike result: GitHub's macOS runners can run Cortex under launchd (run 42284398514, workflow on branch
macos-launchd-spike). Both runners boot logged in asrunnerthrough automatic login, so the per-usergui/<uid>domain exists. Unlike Linux, they need no lingering step.gui/<uid>TestWaitBootedOut_RealLaunchd,AGENTOP_LAUNCHD_TESTS=requiredmacos-14is no longer offered, so macOS 15 is the oldest runner available. That rules out testing the cpex build's macOS 14.5 minimum in CI. Both runners are arm64; I didn't try an Intel runner, so which architectures CI can cover is still open. Next: the smoke test itself, installing a published tag viacurl | sh, on these two runners.Test: Run the real-launchd tests in strict mode, and add a launchd li…
CI: Spike the real-launchd tests on macOS 27 and Intel runners (#956)
Test: Add the macOS release smoke test, and check a request through C…
CI: Spike the smoke scripts against v0.9.5 on real runners (#956)
Test: Add the macOS release smoke test, and check a request through C…
CI: Spike the macOS smoke script on Intel again (#956)
CI: Spike the macOS smoke script on Intel again (#956)
Test: Add the macOS release smoke test, and check a request through C…
Alan-Cha commentedon Nov 20, 2026
The macOS smoke test and the release gate are up for review: #2036, and #2037 stacked on it.
#2036: the macOS smoke test, and a request through Cortex on both platforms
release-smoke-macos.yamlwalks the Linux test's journey on macOS:curl | sh;agentop service statusmust report healthy and launchd must run the new binary;Runners:
macos-15andmacos-26(arm64), andmacos-15-intel.Both smoke tests now send one request through the installed Cortex to a fake Anthropic API. They check that the session API recorded its 12 input and 3 output tokens. This reads the session API, not the feature: support unattended agent workloads — headless agent runs with no human present #955 capture path, which doesn't exist yet.
Tested on real runners, against v0.9.5 upgrading from v0.9.4:
#2037: a failure blocks the release (option C)
vX.Y.Zis created as a prerelease, so the one-liner,agentop updateand the auto-updater don't install it.release-promote.yamlclears the flag once both smoke workflows have passed for that release run. It sets Latest only when no higher stable version exists, so a backport no longer takes Latest from a newer release.gh workflow run release-promote.yaml -f tag=vX.Y.Z, which doesn't check the smoke tests.workflow_runonly fires for files onmain, so the first stable tag after both merge is the first live run. That is probably v0.10.0.Intel and macOS 27 (44787735425): #1780's real-launchd tests,
TestWaitBootedOut_RealLaunchdandTestServiceLifecycle_RealLaunchd, pass on every image I hadn't tried yet:gui/<uid>xcode-27macos-26-intelmacos-15-intelThe smoke test doesn't use
xcode-27, because it's a preview image and a release gate shouldn't depend on one.Which architectures CI covers:
The checklist:
AGENTOP_LAUNCHD_TESTS=requiredis done, in Test: Run the real-launchd tests in strict mode, and add a launchd lifecycle test #1780.main-latest, and the architecture list above.Feat: Publish a new release as a prerelease, and promote it once both…
Spike: run the final smoke scripts and the macOS guard (#956, not for…
Feat: Publish a new release as a prerelease, and promote it once both…
Spike: the final smoke scripts and the macOS guard, on v0.10.1 (#956,…