Failed to acquire the review lock file
Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/lock-io/v1
HTTP status: 500 by default, but dynamically reclassified — see below
Exit code: 2
Emitted by: mif-rh (MifRhError::LockIo)
Message
Section titled “Message”failed to acquire the review lock at {path}: {source}A file operation failed at the OS level while opening or writing the
exclusive review lock file that mif-rh-cli review uses to prevent two
review runs from racing each other.
Status is not fixed. mif_problem::classify_io_error inspects the
underlying std::io::ErrorKind and overrides the status at emission time:
ErrorKind |
Status | Applicability |
|---|---|---|
NotFound |
404 | MaybeIncorrect — verify the path exists |
PermissionDenied |
403 | MaybeIncorrect — verify permissions |
| anything else | 500 | Unspecified — genuine I/O fault, not a path mistake |
Suggested fix
Section titled “Suggested fix”Depends on the classified status (see table above) — always MaybeIncorrect for 404/403, Unspecified for a genuine I/O fault at 500.