aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_maildirname.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-25 11:35:11 +0200
committerDanilo M. <danix@danix.xyz>2026-08-25 11:35:11 +0200
commitcd56144ba0304247812cf61c8b6e435779df29d0 (patch)
tree7d00eef972056c6fe55b0890b85806af7b088d0d /tests/test_maildirname.cpp
parent7a810640b2fabafd8da524b275cb4453a1953df6 (diff)
downloadqtmaildir-cd56144ba0304247812cf61c8b6e435779df29d0.tar.gz
qtmaildir-cd56144ba0304247812cf61c8b6e435779df29d0.zip
docs(backlog): close item 162, record a second site for 163
Item 162 is done and its section moves to the closed file on this commit, with the outcome recorded on it: moveMessages() re-resolves by message id when the recorded path is gone, and the hold candidate was investigated and rejected because aSyncHoldsTheWriteLock() guards notmuch's lock while the window sits between mbsync's rename and that sync's notmuch new. Item 163 gains a second site, found while hand-testing 164 and worse than the one it was filed for. openComposerFor() passes ref.filePath to forDraft(); after mbsync renames the file the parse fails and the reopen is refused BEFORE any composer exists, so composing again starts fresh with no previous path to unlink. The old revision survives, each save mints a new Message-ID, and both revisions reach the server. The unlink machinery is entirely correct and never runs. Its heading and row now name both sites, and the note that 162's fix would cover it is removed: that fix re-resolves inside the worker, while these hold a stale path in the UI. Item 164 gains the reproducer's findings. Seven variants in throwaway databases establish that index_file applies no tags, that the carve-out strips inbox correctly in every filename shape and ordering tried, and that the only reproduction is a pass applying inbox while tag:new is already spent. The trigger is still not established, and the entry says so: the live log shows the hook ran on the affected pass and logged success, which the new match-count instrumentation will disambiguate on the next occurrence. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UUQS6n3cmsFrsjCNmwNtf8
Diffstat (limited to 'tests/test_maildirname.cpp')
0 files changed, 0 insertions, 0 deletions