ox01024's #4938, Bug 2. Two magpies did the gateway's work at once on a
Mac:
- launchd's com.yetone.magpie.serve ran `magpie serve` beside the app.
It ran startUp (plugin Settle/Refresh, FoldCopies, Hold, the agent
moves), the plugin host and every account's model fetch, then failed
to bind, exited 1 and was started again 5s later: 6,035 times in two
days, a 279MB serve.log, and logins.json.lock held against the app's
requests until they went 504.
- The copy an update left (.magpie-update/old) handed the socket over,
hid, and lived on ~3h, its loops writing beside the new one.
What changed:
- cli: `magpie serve` (no --web) checks codexrelay.Leave,
gateway.ServedBy and gateway.Taken before startUp, as the app's
serveGatewayLocked does. While the port is held it prints one line
and looks again every 15s, doing nothing else. Once the port is free
it serves (serve_wait.go). It waits rather than exiting 0: under
KeepAlive SuccessfulExit:false a clean exit would leave no service
after the app quits.
- gui: after a handover the old magpie's loops end with backendCtx:
- library.KeepLinked (now takes a ctx),
- provider.WatchQuotas,
- the menu bar usage loop,
- the updater's check/auto-restart loop.
lighten lets its hidden webviews go as lightweight mode does, so
their polls stop. quitBy exits it at handedOffDrain + 3m whatever
holds its quit up (gateway.HandedOffDrain getter; exitNow stubbable).
- docs/subsystems/gui-shell.md says both.
Run at the pushed head on mote (mote-run):
- gofmt -l internal/: nothing. go vet ./internal/{cli,gui,library,gateway};
GOOS=linux go vet -tags nogui and GOOS=windows go vet of the same: ok.
- go test -count=1 -timeout 45m ./internal/cli ./internal/library
./internal/gui ./internal/gateway at bf05291e2 + this: cli and
library ok. Two reds, both already filed:
- gui TestMainWindowCorners/macOS_26_SDK (#3949). It is red the same
on origin/main 443e53d6b, run alone.
- gateway TestCodexPoolSaysTheClientsVersion (#4807). It is red only
in the full package run, and passes alone 5 of 5 at this head.
- After rebasing on 8819beeb0, on that head: the vets above; cli and
library in full, ok; gui and gateway with -run for handover, handoff
and lightweight, ok.
- Sandbox HOME on mote, a fake app answering / as magpie 0.1.2770 on a
private port (3593), `magpie serve` built from this tree beside it:
alive after 8s at 0% CPU, nothing written under HOME, one standby
line. 20s after the fake quit it served the port. The same with the
old wait call removed: "magpie: listen tcp 127.0.0.1:3593: bind:
address already in use", exit, and plugins.yml and lock files written
first.
Broken by hand, each red:
- No wait before startUp: TestServeWaitsForTheGatewayBeforeStartingUp
("ran the start-up moves while another magpie served the gateway").
- KeepLinked ignoring its ctx: TestKeepLinkedEndsWithItsContext
("went on after its context ended").
- No quitBy in handover.run: TestRestartHandsTheGatewayOver ("has no
deadline to quit by").
Not tried:
- A real launchd service beside the real app, and a real update
handover on a Mac. Neither was run: no live app or launchd.
- The lighten change (needs Wails webviews) has no test.
- Not done here: serve.log rotation, `magpie daemon install` beside a
running app (#4887), the old copy's appPage port, and Bug 1 and
Bug 3 (ggbdpq has Bug 1).
cdredfox on Discord reports ~270% CPU after v0.1.2770. That fits this,
but it is not confirmed as their cause.
68ab4c06d made the end of a handed-off gateway wait for idle kept-alive
connections, so their next request is answered here instead of cut by
Shutdown. Its test went red on main's ubuntu CI at 56602426d (run
40682193794): `"" unexpected EOF`. net/http notes a connection idle
only once the goroutine that wrote its reply returns from the write,
and the agent can read that reply and the end can begin first. Then the
wait saw the connection as neither new nor idle, Shutdown began, and
closed the connection as idle once net/http noted it, cutting the
agent's next request: the same #3451 cut, on a busy machine.
unreadConns now keeps a connection from StateActive until it is closed
or hijacked (kept), and the wait counts those too. A connection never
used again still ends the wait at unreadWait (5s), as before.
TestHandedOffGatewayAnswersAConnectionStillAnswering holds the gateway's
write of the chunked reply's end for a second (lagConn), and hands off
while it sits there, for both a handover and `make dev`.
Run at this tree (origin/main f835bd713 + this):
- Reproduced first: a 300ms sleep injected before note's StateIdle gave
CI's error in the existing kept-alive test, both subtests; green with
the fix under the same injection.
- The new test on the old handover.go: red, `"" unexpected EOF`, both
subtests. A first version lagged the first write, which wasn't the
reply's end, and passed on the old code; it now lags the end.
- mote: TestHandedOffGateway* -race -count=3 ok; go vet
./internal/gateway for darwin, GOOS=linux, GOOS=windows ok;
go test ./internal/gateway ok (481s); ./internal/gui red only on
TestMainWindowCorners/macOS_26_SDK, #3949 (mote's macOS 27).
- WSL magpie-desktop: TestHandedOffGateway* -count=3 ok.
- gofmt -l clean.
Not run: the full ./... suite; a real update restart under a busy agent.
TestRestartHandsTheGatewayOver went red on ubuntu CI at b3edcabf2 (run
40676722560: "4 of 5 requests during the restart answered", connection
reset by peer), and three times under load since 10-25 with no owner.
It is a real gap a user meets on an update: once the gateway is handed
to the new magpie, the old one's end calls Shutdown, which closes every
idle kept-alive connection at once. An agent that has just sent its next
request on one (Go's transport, Node's agent and curl reuse them) gets
the connection reset, and a POST is not retried. #3568 made the end wait
only for connections taken whose first request was unread.
Now:
- unreadConns also counts kept-alive connections idle between requests
(StateIdle until the next state), and a handover's end waits for them
as for new ones, unreadWait (5s) at most, before Shutdown;
- once the gateway takes no connection (stopAccepting), each reply it
gives says Connection: close (closesWhenHandedOff), so the agent's
next request dials the magpie serving the port after it;
- the SSE writer keeps a Connection value already set, where it wrote
keep-alive over the close.
A connection its agent leaves idle the whole 5s is closed by Shutdown,
as its idle timeout would close it. `make dev`'s ending backend
(Handover) takes the same path.
Run on mote (macOS 27, arm64) at this tree on 51e3169fb:
- new TestHandedOffGatewayAnswersAKeptAliveConnection (handed off and
make dev): a request on a connection answered before the handover,
sent 100ms after the end began, is answered "quick" with the
connection closed, and the old one ends within 3s. Red on the old code
with this test, both subtests: "" unexpected EOF, as #3451 reads.
- go test -count=3 -run 'TestHandedOff|TestHandedOver|TestInherited|
TestToolCallOfTheMagpieBefore' ./internal/gateway: ok; the same
handover tests -race -count=3: ok.
- go test -count=8 -run '^TestRestartHandsTheGatewayOver$'
./internal/gui: ok.
- go test -timeout 45m ./internal/gateway ./internal/gui
./internal/handoff: gateway ok (459s), handoff ok; gui red only on
TestMainWindowCorners/macOS_26_SDK, mote's macOS 27, filed as #3949.
- gofmt -l clean; go vet ./internal/gateway ./internal/gui;
GOOS=linux and GOOS=windows go vet -tags nogui ./internal/gateway ok.
Not broken by hand separately: the Connection: close alone (the test's
r.Close check guards it) and the SSE writer's keep, which no test
streams through after a handover.
Not run: the full ./... suite; Linux (the CI red's OS) only through CI.
On a restart to update the old magpie hands its listening socket to the
new one (Inherit, then HandOff once the new one serves on it). HandOff
only marked the drain, so the old one went on accepting from the shared
socket beside the new one until its end's Shutdown closed its copy.
net/http's conn.serve returns without an answer when it reads a request
after Shutdown began (go1.26.8 net/http/server.go:1994), so a connection
the old one took in the moment before its Shutdown, whose request it
read a moment after, was closed unanswered. The agent got EOF on a fresh
connection, which Go's client doesn't retry for a POST. That is CI's red
at 81a58d2f (run 40210740758, ubuntu-latest):
handover_test.go:142: request 0 during the handover: Post
"http://127.0.0.1:.../v1/chat/completions": EOF
`make dev`'s handover (Handover) ends through the same drain and lost
such a connection the same way.
Now:
- HandOff lets this process's copy of the socket go at once
(stopAccepting). The new one's copy keeps the socket open, so every
connection from then on waits in its queue for the new one, and none
is refused. A `make dev` backend lets its own listener go as its end
begins; the one started beside it has the port on a socket of its own.
- Before Shutdown, a handover's end waits until Serve has returned and
each connection it took has had its first request read (unreadConns,
the server's ConnState), unreadWait (5s) at most: a connection that
sends nothing for 5s is idle to Shutdown too. Serve returning counts
because net/http notes a connection (StateNew) on the goroutine that
took it, after Accept and before Serve can return; Shutdown marks the
server shutting down before it waits for Serve, so one noted after
that would have its request cut too.
- Serve ending because its listener was let go waits for the drain, as
an end through Shutdown does.
An ordinary quit and a restart that waits are unchanged: no wait, the 2s
drain. Documented in docs/subsystems/gui-shell.md (the handover's step
3) and gateway-routing.md.
Not changed:
- With TLS on, tlsListener has a connection from this computer wait for
its first byte (sniff) before handing it to the server, and closes one
still waiting when the listener closes (hand, tls.go:288). Such a
connection is still closed unanswered, at HandOff now and at Shutdown
before (#3647).
- `make dev`'s own backend server (dev_on.go, dev builds only), which
serves the page rather than agents, still calls Shutdown at once as
its handover begins: the same drop for the page's requests (noted on
#3568).
- An idle keep-alive connection is closed by Shutdown, as HTTP/1.1 lets
a server do; a client sending on it in that moment sees it closed.
- What waits in `make dev`'s own SO_REUSEPORT queue when it closes is
reset by the kernel, at its end's start now and at Shutdown before.
What was run (tree e1968b96, on origin/main 9fc382e6, go1.26.8; Linux,
outside graftcp, umask 077; line numbers at this tree):
TestHandedOverGatewayFinishesItsStream as it is, -count=200: 3 of 200
red at origin/main with CI's message (handover_test.go:142 there),
0 of 200 with this change
with the drain injected 50ms late and a connection taken once handed
off served 100ms late (scratch, env-gated), -count=20: 10 of 20 red at
origin/main's gateway, handover_test.go:144: request 0 during the
handover: Post "http://127.0.0.1:.../v1/chat/completions": EOF; 0 of
20 with this change. The drain 50ms late alone: 9 of 20 red there,
handover_test.go:153: the new one answered 0 of the 5 requests after
the handover; 0 of 20 with it
the new tests on origin/main's gateway.go and handover.go, -count=20:
TestHandedOffGatewayTakesNoNewConnection 20 of 20 red:
handover_test.go:275: the old one answered 1 request(s) made once
it had handed the gateway off
TestHandedOffGatewayAnswersAConnectionItTook, both subtests 20 of
20 red: handover_test.go:335: a request on a connection the old
one took, sent once its end began: "" unexpected EOF
TestHandedOffGatewayAnswersAConnectionNotedLate, both subtests 20
of 20 red: handover_test.go:435: a request on a connection the old
one took, noted once its end began: "" unexpected EOF
with this change, -race -count=20 of those four, TestSameAddr,
TestInheritedForAnotherAddressIsLetGo,
TestToolCallOfTheMagpieBeforeGoesToIt,
TestCallbacksSocketServesOnlyToolCalls and TestBridgeTurnsCount: ok,
no race (load 94)
broken by hand, with this change, -count=20 each:
HandOff not letting its listener go:
TestHandedOffGatewayTakesNoNewConnection 20 of 20 (:275), and
TestHandedOverGatewayFinishesItsStream 1 of 20,
handover_test.go:153: the new one answered 1 of the 5 requests
after the handover
Serve's end once its listener is let go not waiting for the drain:
TestHandedOverGatewayFinishesItsStream 20 of 20,
handover_test.go:159: the old one ended with a stream in flight:
accept tcp 127.0.0.1:...: use of closed network connection; the
four subtests above 20 of 20 with the same error (:342, :440)
no wait before Shutdown: the four subtests 20 of 20 (:335, :435)
the wait not waiting for Serve to return: both subtests of
...NotedLate 20 of 20 (:435)
a `make dev` end keeping its listener: both make dev subtests 20 of
20, handover_test.go:345: the old one never ended once its
connections were answered (it waits out unreadWait's 5s; the
tests give it 3s, against the ~0.1s it takes)
the end's steps for a handed-off gateway only: both make dev
subtests 20 of 20 (:335, :435)
internal/gui TestRestartHandsTheGatewayOver -count=20, the other gui
handover tests -count=3 and internal/handoff -count=3: ok, as at
origin/main
-run TestTLS ./internal/gateway -count=3: ok
gofmt -l: nothing. GOOS=linux and darwin go vet -tags nogui ./...,
GOOS=windows go vet ./...: exit 0. GOOS=linux and darwin go build
-tags nogui ., GOOS=windows go build .: exit 0
full suite, go test -tags nogui -count=1 -timeout 45m ./... (302 s,
load 76 to 97): 64 packages ok, internal/gateway among them. 14 reds
in 7 packages, none in a file this change touches:
internal/agent TestCursorFolderFromTheEditorIsNotTheCLI,
TestCopilotFolderFromAnIDEPluginIsNotTheCLI,
TestQoderSettingsFromAnIDEPluginIsNotTheCLI and
TestOmpDetectedWithPiDir: proc.Look keeps "not found" for a tool
written in the tick of its folder's last change (#3141).
internal/agent TestReasonixCLIRequiresSupportedNativeVersion and
TestReasonixCLIRecoversAfterProbeTimeout: their fixture build under
/tmp meets a /tmp/.git that isn't a repository of this user's
("error obtaining VCS status: exit status 128").
internal/davsync TestSync and TestSyncTeraCloudStillSeesOtherWrites:
the local save lands in the push's clock tick (#3420).
internal/edit TestWriteAtomicReadOnlyHardLink and internal/testenv
TestProgram: umask 077 here; the fixtures' own modes go through it.
internal/gui TestGatewayHeldByAContainer and
TestGatewayFixQuitsOnlyAMagpie: proc.ListeningOn reads every fd this
user can, 19.7M on this machine (other projects' processes leak
them), which takes 1m30s against the 30s the take-over gives it;
both pass in a fresh pid namespace.
internal/netproxy TestBunProxyLoginWithReservedCharacters: Bun
1.3.11 on PATH (#3397).
internal/provider: fatal error: close of synctest channel from
outside bubble, in TestUnreadLoginsWriteErrorsKeepCredentials
(#3632).
(A first suite run under systemd's own PATH, node v12 and no Bun, had
four more in internal/plugin, "Cannot find module
'node:assert/strict'"; with the user's PATH, node v22, it is ok.)
Not tried: a real restart to update on Linux or macOS (the tests hand
the socket over within one process), and macOS at all; Windows, which
doesn't hand over (vet and build only); a Relisten reaching the old one
after HandOff, whose window is withdrawn by then.
Ported from JoeyWu-tech's fix/3568-handoff-stops-accepting (56c67ad2,
posted on #3568 on 10-25) after it went red on ubuntu CI again at
0a7633136 (run 40614167541, handover_test.go:142 EOF). Cherry-picked
unchanged onto origin/main.
Run again by the porter (mote-run, at a05b37353 + this; at the pushed
head 69626580b + this, go build ./... and the handover set -count=10 ok;
7bdefe212 since then changes only the Routing page's JS, CSS and GUI tests):
- the three new tests on the old gateway.go/handover.go, -count=5: 15 of
15 red; with this change, with TestHandedOverGatewayFinishesItsStream,
TestSameAddr and TestInherited*, -count=20: ok.
- the same set plus TestRestartHands*, -race -count=10: ok.
- GOOS=windows and GOOS=linux go vet ./internal/gateway: ok. gofmt -l clean.
- go test -timeout 45m ./internal/gateway: ok (510s). ./internal/gui/...:
TestMainWindowCorners/macOS_26_SDK red on mote's macOS 27, #3949, not
touched here.
Not tried: a real update restart.
Before, a restart to update ended the gateway, so it waited until no
agent request was in flight (#577). An agent busy for hours held the
update back, and Restart now cut its replies off. On a Mac and on Linux
the restart now starts the new version beside the old one and hands it
the gateway's listening socket. The new version takes every new
connection at once. The old one stops accepting, finishes the requests
it has (up to 15 minutes, as `make dev` already gave), then quits.
Nothing an agent sends is refused or cut short.
How (docs/subsystems/gui-shell.md, "A restart to update hands the
gateway over"):
- internal/handoff, new, darwin and linux. The old magpie opens a unix
socket in a 0700 temporary folder and writes handover.json (fresh for
2 minutes) in its config folder. The new one finds it, says Hello, and
gets the listening socket by SCM_RIGHTS with the address, its pid and
a callbacks socket. Only the same program (same path, same uid) is
given it. When TMPDIR is too long for a socket path (sun_path is 104
bytes on a Mac), the folder goes in /tmp (sockDir).
- gateway: Inherit/Listen serve on the socket given, and acknowledge
once serving. HandOff gives the old one handedOffDrain (15m) instead
of the 2s an ordinary end gives. A Claude Code run of the old magpie
whose helper calls its tools on the port gets those calls passed back
to the old one over the callbacks socket (forwardCallback, mcpCall,
ownCallback). The bridge's turns are counted on their own
(Busy.Bridge, BridgeLast).
- gui: restartInto calls beginHandover (OpenBeside `open -n` on a Mac,
StartBeside for the binary on Linux). On the new version's ack, the
old one hides its menu bar icon, panel, window and Dock icon (Mac),
ends its backend, waits for its requests, and quits. OnShutdown
leaves Codex's failover, the thread port and the install to the new
one, which serves the gateway they point at.
- Never two on screen. Mac: the old one lets go of its instance lock
just before giving the socket and takes it back if the handover
fails, then hides on the ack. Linux: Wails holds the D-Bus name until
exit, so the new one serves the gateway at once but puts its tray up
only once the old pid has exited (awaitExit, 16m at most). Until
then the old tray stays.
- What a handover can't carry: the subscription bridge's Claude Code
turns live in the old process, so the restart still waits for those
(restartBusy = blocking(Busy, true)), along with turns parked on
tools. Every other request is not waited for. The update badge, the
Updates page and Settings' "Restart automatically" say so, in every
language in i18n.js.
- A handover that isn't made restarts as before: socket not opened,
new version not started, no hello in 60s, no ack in 90s. Because the
restart didn't wait for the requests in flight, it now waits for
gatewayBusy to be idle (fallbackWait, 15m at most) before it quits
and relaunches, so a failed handover never cuts a request.
- The overlap. The instance lock is handled as above. Both processes
write: the sticky routing is flushed before the hand (FlushSticks),
and files go through the existing locked or atomic writes. Counters
(RPM, concurrency) are per process for the overlap (gateway-routing
Constraints). OAuth refresh: the previous commit locks Codex's and
the ChatGPT API's refreshes across processes. The rest were already
locked or don't rotate (providers-accounts Constraints).
- Not changed: Windows (no SCM_RIGHTS; it restarts as before and still
waits for idle, #577), `magpie web` (re-execs in place), and
`make dev` (its own Handover). MAGPIE_NO_HANDOVER=1 turns it off.
Found by the sandbox run, fixed here: in run 2 the sandbox's long TMPDIR
made the socket bind fail ("bind: invalid argument"). The restart fell
back at once, cut the stream at chunk 6 (curl exit 18), and 4 of 381
requests got no answer over ~2s. Two fixes: sockDir (/tmp fallback), and
the fallback that waits for idle.
Tests (each red when broken by hand or on the old code):
- gateway/handover_test.go: TestHandedOverGatewayFinishesItsStream
(drainFor without handedOff: "the old one ended with a stream in
flight"; takeAck off: "the new one never said it serves").
TestToolCallOfTheMagpieBeforeGoesToIt (mcpCall forward off: 404;
ownCallback forwarding off: 401). TestInheritedForAnotherAddressIsLetGo,
TestCallbacksSocketServesOnlyToolCalls, TestBridgeTurnsCount,
TestSameAddr.
- handoff/handoff_test.go: TestHandOverListener, TestNoAckKeepsTheSocket,
TestTakeOnlyAFreshOfferForThisProgram, TestCloseRemovesOnlyItsPointer,
and TestOpenWithALongTemporaryFolder (red on the old Open: "bind:
invalid argument").
- gui/handover_unix_test.go: TestRestartHandsTheGatewayOver, cross-
process. The test binary re-execs as the new magpie. A stream through
the old one finishes whole, requests during the restart are all
answered, the next ones reach the new pid, and the old one quits only
after its stream. On the old restart it is red: "quit with a reply
streaming". TestHandoverNotMadeRestartsAsBeforeOnceIdle ("never says
hello", "doesn't start") is red on the code before the fallback
drain: "quit with a reply streaming" / "the restart didn't try to
hand over".
- gui/handover_test.go: TestRestartWaitsForWhatAHandoverCantCarry,
TestHandsOverOnlyWhereItCan.
- update/relaunch_open_test.go: TestOpenBeside,
TestStartBesideWaitsForNothing.
- GUI: update-wait.test.cjs (the handover wording on the badge and
page), update-restart.test.cjs (Settings' description).
Real run, Mac, sandbox (env -i, HOME and XDG_CONFIG_HOME in a scratch
folder, a long TMPDIR, MAGPIE_ADDR 127.0.0.1:63249, MAGPIE_UPDATE_FEED
pointed at a fake feed). The app is -tags production, ad-hoc signed,
bundle id com.yetone.magpie.sbhandover, built as 0.1.9001 and 0.1.9002.
autoRestart is on. A fake upstream streams 100 one-second chunks. The
real app found the update, downloaded and staged it, and restarted with
the stream in flight (run 3, at this change's tree before the rebase):
- 18:31:43, pid 59833 serves. 18:31:51, the new pid 60477 serves; v1
logged "magpie 0.1.9002 (pid 60477) serves the gateway now".
- Requests: 375, failed 0. 19 were answered by 59833, then 356 by 60477.
- The stream got all 100 chunks, END and [DONE] at 18:33:24, curl exit
0, 92s after the hand. 59833 exited within 3s of the stream's end.
Run at the pushed head (7a5bca443's tree, on origin/main f3eb92924),
one suite at a time, each log tee'd:
- gofmt -l internal/ cmd/: none. go vet ./... (darwin), GOOS=linux go
vet -tags nogui ./..., GOOS=windows go vet ./...: clean.
- go test -count=1 -timeout 45m: internal/handoff ok, internal/update
ok, internal/gui ok (95s), internal/provider ok, internal/gateway ok
(367s).
- TestCoreScriptBudget: app.js is 1,338,901 of its 1,338,929. My
additions first went 372 bytes over after the rebase; the badge's two
wordings now share one args object and the comments I added were cut,
with no budget raised.
- GUI (NODE_PATH playwright 1.62.0, both engines): i18n-keys, every
update-*.test.cjs (update-wait 22/22, update-restart 22/22, update-stuck
40/40 among them), gui-de, gui-ja, gui-zh-tw: all pass.
- f3eb92924 (the Mac relaunch's exec fallback) landed under this. A
handover that never gets its hello falls back to update.Relaunch, which
now carries that fallback; OpenBeside keeps open's tries only, since
the old one is still running then and the fallback follows.
- Linux, Docker golang:1.26.8 with -tags gtk3 (before the rebase): the
handoff package, the gui handover tests including the cross-process
TestRestartHandsTheGatewayOver, and the gateway handover tests pass.
- Full GUI suite at f09e9a066 (before the rebases, load ~250 from other
sessions): 11958 tests, 61 failed in 22 files. 13 pass alone (fonts,
plugin-updates, rail-tip, routing-keys-fold, routing-mode-goes,
routing-model-rest, routing-rule-remove, routing-went-on, search-keys,
segment-press-dialog, sidebar-overlay-scrollbar, usage-overview-fold,
usage-pack); load reds of this kind are #3393. 9 fail the same on
origin/main 843417957, each filed: library-mcp-health-wsl #3350,
quota-count-wrap and quota-name-translated #2228, quota-reads #2150,
s3-sync #2448, usage-agents-hide #2276, usage-checkin #2549/#3091,
usage-fold #2163, usage-ledger #3104.
Not tried:
- Windows: unchanged by design, nothing to run there beyond vet.
- A real Linux desktop app. The tests ran in Docker (above); the D-Bus
wait (awaitExit) was not seen in a real tray.
- Whether the menu bar showed two birds for a moment on the Mac. B's
tray goes up as it starts, and A hides on the ack, which follows B's
first listen. They are close, but not ordered, and I didn't capture
the screen.
- The Mac's real bundle id and LaunchServices registration
(com.yetone.magpie), the real signed and notarised update, and real
accounts (the run used a fake upstream).