Repository navigation
feat(cli/deploy): persistent JSONL trace and structured client logging - #189
Merged
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Brooooooklyn
force-pushed
the
feat/cli-deploy-logging
branch
from
May 7, 2026 04:44
29c3703 to
2946a31
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2946a31. Configure here.
Brooooooklyn
force-pushed
the
feat/cli-deploy-logging
branch
from
May 7, 2026 04:51
2946a31 to
c24b7c6
Compare
Adds ~/.void/logs/deploy-<ts>.jsonl forensic trace for every deploy so failures (e.g. Connection lost during deploy: terminated) can be diagnosed from the trace alone. Records: phase boundaries, network calls with cf-ray correlation, every NDJSON event with raw slice and elapsed ms, full error.cause chain. New --debug flag (alongside back-compat VOID_DEPLOY_DEBUG=1) mirrors the JSONL stream to stderr inline. Failed deploys append the log path to the user-visible error so it can be attached to bug reports. Replaces the env-gated [void-deploy-debug] stderr writes from the prior diagnostic session. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Brooooooklyn
force-pushed
the
feat/cli-deploy-logging
branch
from
May 7, 2026 04:54
c24b7c6 to
81634fe
Compare
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.


Adds ~/.void/logs/deploy-.jsonl forensic trace for every deploy so
failures (e.g. Connection lost during deploy: terminated) can be
diagnosed from the trace alone. Records: phase boundaries, network calls
with cf-ray correlation, every NDJSON event with raw slice and elapsed
ms, full error.cause chain.
New --debug flag (alongside back-compat VOID_DEPLOY_DEBUG=1) mirrors the
JSONL stream to stderr inline. Failed deploys append the log path to
the user-visible error so it can be attached to bug reports.
Replaces the env-gated [void-deploy-debug] stderr writes from the prior
diagnostic session.
Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com
Note
Medium Risk
Touches the deploy pipeline and platform streaming client to add always-on file logging and new error formatting; while mostly additive, it changes deploy error paths and adds filesystem I/O during deploys.
Overview
Adds a persistent, structured deploy trace: every
void deploynow writes JSONL logs to~/.void/logs/deploy-<timestamp>.jsonl, with a new--debugflag (orVOID_DEPLOY_DEBUG=1) to mirror the same structured events to stderr.Threads a new
CliLoggerthrough the deploy flow andPlatformClient.deploy()to record phase boundaries, request/response metadata (including Cloudflare correlation headers), stream parsing metrics, and each NDJSON deploy event; deploy failures now append the log file path to user-facing error messages for easier issue reporting.Reviewed by Cursor Bugbot for commit 81634fe. Bugbot is set up for automated code reviews on this repo. Configure here.