Skip to content

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

Open
dipeshbabu wants to merge 3 commits into
subconscious-systems:mainfrom
dipeshbabu:fix/send-state
Open

dipeshbabu wants to merge 3 commits into
subconscious-systems:mainfrom
dipeshbabu:fix/send-state

Conversation

@dipeshbabu

Copy link
Copy Markdown

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, and bundled CLI version/help smoke checks. Ubuntu/Windows Node 20/22 CI passed before PR creation on this exact head commit (be894b3): https://github.com/dipeshbabu/vibi-cli/actions/runs/37263756448

This branch includes the CI foundation from #2; merging that PR first removes the common CI changes from this diff.

Closes #35.

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.

Reused-version sends leave successfully sent sessions marked changed

1 participant