Skip to content

fix: ECOMPROMISED lockfile crash under disk I/O pressure - #555

Open
Sureiya wants to merge 1 commit into
cline:mainfrom
Sureiya:fix/ecompromised-crash
Open

fix: ECOMPROMISED lockfile crash under disk I/O pressure#555
Sureiya wants to merge 1 commit into
cline:mainfrom
Sureiya:fix/ecompromised-crash

Conversation

@Sureiya

@Sureiya Sureiya commented Jul 5, 2026

Copy link
Copy Markdown

The default onCompromised handler in proper-lockfile throws, crashing the process. Under heavy disk I/O (large git diffs, system updates), lockfiles can be compromised, causing kanban to crash every ~15 minutes.

This makes onCompromised a silent no-op instead, and catches lock release errors in the withLocks finally block.

The onCompromised handler no longer throws, preventing
process crashes under disk I/O pressure. Lock release errors
in the withLocks finally block are caught silently.
@greptile-apps

greptile-apps Bot commented Jul 5, 2026

Copy link
Copy Markdown

PR author is not in the allowed authors list.

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