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
feat: flip streaming logs to opt-in via --upload-logs
The Socket backend changed its register contract so that log streaming
is now opt-in rather than default-on. The CLI always calls register
(cheap, lets the server force-enable for specific orgs) and gates the
downstream upload/finalize lifecycle on the response.
Wire changes:
- POST /v0/python-cli-runs body adds a required `share_logs` field.
- Response: { log_streaming_enabled: bool, run_id: <uuid|null> }.
When log_streaming_enabled is false, run_id is null and the CLI
skips the upload + finalize calls entirely.
CLI changes:
- New `--upload-logs` flag (default off). When set, the CLI sends
share_logs=true on register.
- Removed `--disable-server-log-streaming` — default is off, so an
opt-out flag no longer makes sense.
- register_cli_run takes a required share_logs arg and returns None
whenever log_streaming_enabled is false (whatever the reason: client
opted out, server denied, server unreachable).
Bumps version to 2.2.88 and updates the CHANGELOG entry to reflect
the opt-in shape.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Changelog
2
2
3
-
## 2.2.87
3
+
## 2.2.88
4
4
5
-
- Added a streaming log channel between the CLI and the Socket backend. Each CLI invocation now reports a per-run status (`in_progress` / `success` / `failure` / `cancelled`) and uploads a transcript of its own log output, visible in the Socket admin views. The transcript is captured regardless of the local `--enable-debug` state; the existing terminal verbosity is unchanged. The feature is best-effort — registration or upload failures silently degrade and never block the scan. Opt out with `--disable-server-log-streaming`.
5
+
- Added an opt-in streaming log channel between the CLI and the Socket backend. When the new `--upload-logs` flag is set, each CLI invocation registers a run, reports a per-run status (`in_progress` / `success` / `failure` / `cancelled`), and uploads a transcript of its own log output to the Socket backend for that run, visible in the Socket admin views. The transcript is captured regardless of the local `--enable-debug` state; the existing terminal verbosity is unchanged. The Socket backend can also force-enable streaming for specific orgs regardless of the flag. The feature is best-effort — registration or upload failures silently degrade and never block the scan.
0 commit comments