Skip to content

Reused-version sends leave successfully sent sessions marked changed - #36

Closed
dipeshbabu wants to merge 1 commit into
fix/ci-bundle-smokefrom
fix/send-state
Closed

dipeshbabu wants to merge 1 commit into
fix/ci-bundle-smokefrom
fix/send-state

Conversation

@dipeshbabu

@dipeshbabu dipeshbabu commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Upstream replacement: subconscious-systems#36

This PR was created in the fork in error. The fix and its issue are now submitted to upstream.

When sendSession reuses unchanged plaintext from a stored version, it refreshes local state only if the label changes. A touched or moved transcript stays marked changed after a successful send and retains a stale pull handle.

Refresh the current source path, size, activity time, mtime, label, and pull handle after every successful reused-version send. A mocked API regression decrypts the rewrapped envelope as the recipient and verifies the local status becomes synced without a content upload.

Validation: frozen-lockfile dependencies, typecheck, full tests, npm build, bundled CLI smoke checks, and Ubuntu/Windows CI on Node 20/22 before PR creation.

This PR is based on the CI foundation branch; merge that PR first.

Closes #34.

All branch CI checks passed on be894b3: https://github.com/dipeshbabu/vibi-cli/actions/runs/37263756448

@dipeshbabu dipeshbabu closed this Oct 5, 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