Skip to content

Fail capacity profiles with unsynced captures and retain cleanup recovery - #17

Merged
jbwinters merged 1 commit into
mainfrom
fix/capacity-profile-results
Nov 6, 2026
Merged

jbwinters merged 1 commit into
mainfrom
fix/capacity-profile-results

Conversation

@jbwinters

Copy link
Copy Markdown
Contributor

The sync capacity profiler could exit successfully when background transport failures left captures queued. It now waits for bounded convergence and requires completed discovery, zero pending captures, and an error-free synced state. Failed cleanup retains the disposable identity, session, and local state in a private recovery file instead of discarding the credentials needed to repair it.

Validation: a real child-process regression drops every local HTTP connection, confirms a failing verdict with pending captures, checks the recovery file is mode 0600, and verifies the secret never appears in stdout (1/1 passed). Script syntax and whitespace checks passed. This changes an operator script and its regression test; the released runtime is unchanged.

@jbwinters
jbwinters merged commit 490ea89 into main Nov 6, 2026
3 checks passed
@jbwinters
jbwinters deleted the fix/capacity-profile-results branch November 6, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant