Crafter.Debug/implementations
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 8e7f8c5f3b
fix(tooling): build first, then start the app, then list it
The notes had agents start `crafter-build <flag> -r` in the background
and run `crafter-debug ls --wait 60s` straight after. That raced the
build: the first agent to follow them ran the plain build's stub, which
said "no debug build yet" and exited, since the client `ls --wait` needs
is one of the things the debug build compiles, and it polled by hand
until the build was done.

The race came from the order, so the order changes: build with the flag
in the foreground, which ends once the app and the client are built,
then start the app with -r in the background, then `ls --wait`, which
now only waits for what it is for, the app registering. A launcher that
polls for the build instead was tried and dropped: a shell loop that
reruns itself each second, and waits out its whole --wait when no build
is coming at all.

The consumer notes, the client's guide and the README say so, and the
stub and the not-yet-built launcher name the step that was skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:24:35 +01:00
..
Crafter.Debug-Condition.cpp feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
Crafter.Debug-Registry.cpp feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Session.cpp fix(session): report the frame a pause began at 2026-11-01 03:21:41 +01:00
Crafter.Debug-Timeline.cpp feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Transport.cpp feat(transport): serve the session over QUIC on loopback 2026-11-01 03:06:56 +01:00
Crafter.Debug.Cli-Client.cpp fix(tooling): build first, then start the app, then list it 2026-11-01 18:24:35 +01:00
Crafter.Debug.Cli-Quic.cpp feat(cli): reach instances over QUIC 2026-11-01 03:07:09 +01:00
Crafter.Debug.Core-Codec.cpp feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
Crafter.Debug.Core-Discovery.cpp feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
Crafter.Debug.Core-Protocol.cpp feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug.Core-Value.cpp feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
main.cpp fix(cli): print lldb by its path, and report a held app as held 2026-11-01 03:21:41 +01:00