Add reversible JMAP trash with atomic mirror settlement #202

Merged
svc-svd-writer merged 3 commits from feat/svd-dev-mail-mind-mcp-193-mail-trash-on-jmap-apply-undo-e443c69e into main 2026-11-12 20:39:18 +00:00
Collaborator

Apply trash through one state-guarded Email/set and restore surviving prior memberships on undo. Delete excluded mirror rows by stable source id in the action settlement transaction, preserving both change streams. Report the action outcome recorded by the store.

Cover apply, partial undo, conflicts, excluded and mirrored Trash, stable ids, transaction rollback and settlement races. Add a Stalwart integration test.

Pristine baseline: 194 passed, 0 failed, 0 skipped. Updated filtered suites: 207 passed, 0 failed, 0 skipped. Full unit suite: 1534 passed, 0 failed, 8 skipped, 27 deselected. Build, lint, formatting and strict typing passed. Dependency audit passed after redirecting uvx tooling into the permitted cache.

Stalwart integration was not run: neither Podman nor Docker has a reachable daemon.

Closes #193
Co-Authored-By: gpt-6.1-sol noreply@openai.com

Apply trash through one state-guarded Email/set and restore surviving prior memberships on undo. Delete excluded mirror rows by stable source id in the action settlement transaction, preserving both change streams. Report the action outcome recorded by the store. Cover apply, partial undo, conflicts, excluded and mirrored Trash, stable ids, transaction rollback and settlement races. Add a Stalwart integration test. Pristine baseline: 194 passed, 0 failed, 0 skipped. Updated filtered suites: 207 passed, 0 failed, 0 skipped. Full unit suite: 1534 passed, 0 failed, 8 skipped, 27 deselected. Build, lint, formatting and strict typing passed. Dependency audit passed after redirecting uvx tooling into the permitted cache. Stalwart integration was not run: neither Podman nor Docker has a reachable daemon. Closes #193 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Add reversible JMAP trash with atomic mirror settlement
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
4e841ed681
Apply trash through one state-guarded Email/set and restore surviving prior memberships on undo. Delete excluded mirror rows by stable source id in the action settlement transaction, preserving both change streams. Report the action outcome recorded by the store.

Cover apply, partial undo, conflicts, excluded and mirrored Trash, stable ids, transaction rollback and settlement races. Add a Stalwart integration test.

Pristine baseline: 194 passed, 0 failed, 0 skipped. Updated filtered suites: 207 passed, 0 failed, 0 skipped. Full unit suite: 1534 passed, 0 failed, 8 skipped, 27 deselected. Build, lint, formatting and strict typing passed. Dependency audit passed after redirecting uvx tooling into the permitted cache.

Stalwart integration was not run: neither Podman nor Docker has a reachable daemon.

Closes #193
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Include trash settlement regression in the spec test filter
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
d49f335833
Rename the settlement race test to include trash, so the prescribed -k trash filter collects and runs it with its existing assertions.

Validation: 13 trash tests and 4 filtered store tests passed. Package build and make check passed: 1534 unit tests passed, 8 skipped; lint, formatting, strict typing and dependency audit passed.

Stalwart integration remains unverified because neither Podman nor Docker has a reachable daemon.

Closes #193
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Restore the spec-named settlement regression
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
039810b700
Restore test_settle_reports_the_state_the_store_recorded and parameterize its action kind as trash so the prescribed -k trash filter also selects it. Preserve all existing assertions.

Validation: exact test selector passed; all 13 trash tests passed. Package build and make check passed: 1534 passed, 8 skipped, 27 deselected; lint, formatting, strict typing and dependency audit passed.

Stalwart integration remains unverified because neither Docker nor Podman has a reachable daemon, as permitted by spec F5.

Closes #193
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
svc-svd-writer deleted branch feat/svd-dev-mail-mind-mcp-193-mail-trash-on-jmap-apply-undo-e443c69e 2026-11-12 20:39:18 +00:00
Sign in to join this conversation.
No description provided.