Skip to content

Fix: sync spinner corrupting large console output (garbled KSM config tokens)#2141

Merged
idimov-keeper merged 1 commit into
releasefrom
fix/sync-spinner-garbled-output
Jun 11, 2026
Merged

Fix: sync spinner corrupting large console output (garbled KSM config tokens)#2141
idimov-keeper merged 1 commit into
releasefrom
fix/sync-spinner-garbled-output

Conversation

@idimov-keeper

Copy link
Copy Markdown
Contributor
  • The sync_down "Syncing..." spinner (a daemon thread writing \r-prefixed frames to stdout) could keep ticking after it should have stopped and overwrite rows of later output. When pam project import printed its base64 gateway config, this rarely corrupted the token - valid base64, broken JSON inside.

  • Two triggers: spinner.stop() was not in a finally, so any exception during sync leaked the thread for the rest of the session; and the stop path raced console writes (frame/clear landing on freshly printed output).

@idimov-keeper
idimov-keeper merged commit 1f7110a into release Jun 11, 2026
4 checks passed
@idimov-keeper
idimov-keeper deleted the fix/sync-spinner-garbled-output branch June 11, 2026 20:19
sk-keeper pushed a commit that referenced this pull request Jun 13, 2026
sk-keeper pushed a commit that referenced this pull request Jun 13, 2026
jpkeepersecurity pushed a commit that referenced this pull request Jul 3, 2026
pvagare-ks pushed a commit that referenced this pull request Jul 16, 2026
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