Skip to content

Serialize winword identify#49

Merged
SimonCropp merged 2 commits into
mainfrom
serialize-winword-identify
Jul 20, 2026
Merged

Serialize winword identify#49
SimonCropp merged 2 commits into
mainfrom
serialize-winword-identify

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

No description provided.

Concurrent diffword launches (eg Verify reporting several failed snapshots
from one test run) snapshot overlapping PID sets and can claim the same, or
each other's, WINWORD. A misidentified WINWORD is assigned to the wrong Job
Object (or none), so killing its diffword (eg DiffEngineTray accept) leaves
it running as an invisible zombie holding locks on the compared files.

- Extract the snapshot-create-identify-assign sequence into CreateWordInJob,
  serialized across processes with a temp file lock (same pattern as
  diffexcel's SpreadsheetCompare)
- Quit/kill the just-created instance when identification or assignment
  fails instead of leaking it
- Log the assigned WINWORD pid and exit
@SimonCropp SimonCropp added this to the 1.0.2 milestone Jul 20, 2026
@SimonCropp
SimonCropp merged commit 1416f5e into main Jul 20, 2026
3 of 5 checks passed
@SimonCropp
SimonCropp deleted the serialize-winword-identify branch July 20, 2026 02:48
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