Skip to content

fix(selfupdate): synchronize the Windows rollback reader test - #257

Merged
wesm merged 1 commit into
mainfrom
fix/selfupdate-rollback-reader
Oct 29, 2026
Merged

wesm merged 1 commit into
mainfrom
fix/selfupdate-rollback-reader

Conversation

@rodboev

@rodboev rodboev commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Windows CI can verify self-update rollback instead of failing on a sharing violation while opening the backup, as in https://github.com/kenn-io/kit/actions/runs/40893193852/attempts/1.

The test waits for the installer to release its rename handle before it opens the backup reader.

A visible backup path does not mean the Windows rename has released
its DELETE handle. Opening a reader in that interval produces a sharing
violation before the rollback behavior can be exercised.

The test needs the installer at its next retry boundary before acquiring
the rollback reader, so its result reflects rollback behavior rather than
filesystem-call scheduling.
@rodboev rodboev added the autopr Used for a PR created by an automated system label Oct 29, 2026
@roborev-ci

roborev-ci Bot commented Oct 29, 2026

Copy link
Copy Markdown

roborev: Combined Review (2f0a460)

Verdict: No findings at or above medium severity.


Reviewers: 2x codex, codex (security), codex (test-value) | Synthesis: codex | Total: 1m49s

@wesm
wesm merged commit 81334a1 into main Oct 29, 2026
15 checks passed
@wesm
wesm deleted the fix/selfupdate-rollback-reader branch October 29, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autopr Used for a PR created by an automated system

Development

Successfully merging this pull request may close these issues.

2 participants