Skip to content

Stop hibernation remove from leaving resume= on the UKI - #8199

Closed
JustNak wants to merge 12 commits into
omacom:quattrofrom
JustNak:cursor/hibernation-remove-resume-dropins-1b5e
Closed

JustNak wants to merge 12 commits into
omacom:quattrofrom
JustNak:cursor/hibernation-remove-resume-dropins-1b5e

Conversation

@JustNak

@JustNak JustNak commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

omarchy-hibernation-remove says it removes swap and boot resume settings. It deletes the swapfile and /etc/mkinitcpio.conf.d/omarchy_resume.conf, then runs limine-mkinitcpio. It never deletes /etc/limine-entry-tool.d/resume.conf. That drop-in is what setup writes for resume= and resume_offset=, and it is what limine-mkinitcpio bakes into the UKI. After remove, the swapfile is gone and the next UKI still tries to resume from it.

Setup did not repair this. It only wrote resume.conf when the file was absent, so a leftover file kept the old offset (#13583). Factory-reset already deletes resume.conf when the swapfile is gone for exactly that reason: a surviving offset drop-in "bakes the old swapfile's offset into the rebuilt UKI and breaks resume."

What changed

Remove:

  • Deletes resume.conf before limine-mkinitcpio, so the rebuilt UKI has no resume= and no resume_offset=.
  • Also runs on a machine an older remove left half-removed, with the hook gone and resume.conf still there. It deletes the file and rebuilds instead of stopping at "Hibernation is not set up".
  • Stops before the rebuild if resume.conf cannot be deleted.
  • Leaves /etc/limine-entry-tool.d/rtc-alarm.conf and /usr/lib/systemd/system-sleep/keyboard-backlight alone. rtc-alarm.conf on its own does not count as hibernation being set up.

Setup:

  • Always rewrites resume.conf from the current swapfile, instead of keeping a leftover one. This is the setup half of Remove resume kernel parameters when removing hibernation #13584, by @STRd6.
  • Looks up the swapfile offset before it writes anything. If btrfs inspect-internal map-swapfile returns nothing, setup exits 1 without writing the hook, touching resume.conf or rebuilding. It writes resume.conf before the hook. Before, a failed lookup still wrote the hook and rebuilt without resume parameters, and every later run said "Hibernation is already set up" with no drop-in. Now the next run tries again.
  • Factory-reset treats a failed setup as fatal, so a failed offset lookup there now stops the reset with "hibernation setup failed in the factory root". Before, it carried on into a factory system that could not resume.

Not covered here:

Tests

$ bash -n bin/omarchy-hibernation-setup && bash -n bin/omarchy-hibernation-remove && bash -n test/shell.d/hibernation-setup-test.sh
$ git diff --check 7eedd17 HEAD
$ ./test/shell.d/hibernation-remove-test.sh
ok - remove deletes resume.conf before rebuilding the boot image
$ ./test/shell.d/hibernation-setup-test.sh
ok - setup names the resume device by filesystem UUID, or by its device-mapper name
ok - setup rewrites a drop-in left by an earlier setup
ok - a failed offset lookup leaves setup retryable
ok - a rerun renames a kernel-name resume device once
ok - a rebuild that failed or was interrupted is retried on the next run
ok - setup leaves device-mapper and hand-edited drop-ins alone
ok - hibernation setup reads memory size independently of the user's locale

With the setup script from 6a36eca in place, the new case fails:

$ git show 6a36eca:bin/omarchy-hibernation-setup > bin/omarchy-hibernation-setup
$ ./test/shell.d/hibernation-setup-test.sh
ok - setup names the resume device by filesystem UUID, or by its device-mapper name
ok - setup rewrites a drop-in left by an earlier setup
not ok - setup reports success without a resume offset

Other tests at 88fa1eb: hibernation-available-test.sh 9/9, mkinitcpio-hooks-test.sh 43/43, factory-reset-dispatch-test.sh 12/12, factory-reset-elevation-test.sh 9/9, factory-reset-limine-test.sh 15/15 and factory-reset-prompt-test.sh 1/1 pass. factory-reset-accounts-test.sh fails "normal reset stages successfully" on my machine, and it fails the same way on plain quattro (7eedd17).

Fixes #10037

Fixes #10374

Fixes #12096

Fixes #13583

Copilot AI balanced review requested due to automatic review settings August 25, 2026 11:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends hibernation removal to clean stale Limine resume configuration safely.

Changes:

  • Removes resume and RTC alarm drop-ins before rebuilding initramfs.
  • Adds coverage for full, partial, and absent configurations.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
bin/omarchy-hibernation-remove Removes Limine resume drop-ins while preserving the suspend hook.
test/shell.d/hibernation-remove-test.sh Tests removal behavior and rebuild ordering.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/shell.d/hibernation-remove-test.sh Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@JustNak JustNak changed the title Cursor/hibernation remove resume dropins 1b5e Stop hibernation remove from leaving resume= on the UKI Aug 25, 2026
@omarchybot omarchybot added the bug Something isn't working label Sep 27, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed at 91bd9c3 against quattro (b18ab49). I found no defects.

The bug is real. On a worker built from the Omarchy ISO, I ran my own harness against bin/omarchy-hibernation-remove, with the /etc paths redirected onto a scratch tree and limine-mkinitcpio stubbed to record which drop-ins it would read. On quattro, a full remove still has resume=/dev/mapper/root resume_offset=… and rtc_cmos.use_acpi_alarm=1 in /etc/limine-entry-tool.d/ when the UKI is rebuilt. On this head, both drop-ins are gone before the rebuild, and unrelated drop-ins are untouched. Your test/shell.d/hibernation-remove-test.sh fails with the fix reverted ("remove deletes resume.conf") and passes 4/4 on the head. ./test/cli passes. I did not run the full ./test/shell.

The half-removed case matters most. Anyone who already ran omarchy hibernation remove on quattro is in exactly that state: the hook is gone and resume.conf is still there. On quattro, remove then says "Hibernation is not set up" and never rebuilds. On this head, it deletes the drop-ins and rebuilds. So this PR also repairs machines the old remove already left stale. The change to the script is proportionate to that problem.

Related: this fixes #10037, #10374 and #12096. All three report the same leftover resume.conf, and I have linked them to this PR. #12155 makes the same deletion inside a bundle of six unrelated fixes. It only covers the full-remove path, so a machine that already ran the old remove still gets "Hibernation is not set up" and keeps the stale parameters. This PR covers both paths, so I think it is the one to carry.

No second opinion. The configured reviewer (Codex Medium) did not run: its daily review budget was spent when this item came up. That is why this PR is not labelled verified yet. It now waits on a second review, and after that on the maintainer.

@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Oct 1, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

The second opinion has now run. Codex Medium reviewed this head (91bd9c3) against quattro at c05d901. It agrees the bug is real. It also agrees this PR, not #12155, is the one to carry, because only this one repairs machines the old remove already left half-removed. Independence is not guaranteed, because the reviewer can read this session's notes. It raised one point I had not weighed, below.

Re-run on a worker. I merged this head with current quattro and ran the checks again on a fresh worker built from the Omarchy ISO. The harness from my earlier comment still fails on quattro, both for a full remove and for a half-removed machine, and passes on this head. Your test/shell.d/hibernation-remove-test.sh fails with the fix reverted and passes 4/4. unowned-system-paths-test.sh and system-sleep-ownership-migration-test.sh pass. ./test/cli fails one test, "vscode generated theme references current theme file". That test fails the same way on plain quattro, so it is not caused by this PR. On that evidence I've labelled this PR verified.

The open question is rtc-alarm.conf. Line 70 of bin/omarchy-hibernation-remove deletes /etc/limine-entry-tool.d/rtc-alarm.conf, and line 16 counts that file alone as "hibernation is set up". Codex's point is that rtc_cmos.use_acpi_alarm=1 controls RTC wake alarms in general, not only suspend-then-hibernate. Setup also keeps an existing file instead of writing its own, so remove can't be sure it owns the file it deletes. I checked the history: omarchy-hibernation-setup is the only thing in the repository that has ever written that file, and it always writes it together with the resume hook. So I don't count this as a defect. Whether removing hibernation should also drop the RTC flag is a behaviour choice. I have not changed it. If the answer is to keep the flag, the change is to delete only resume.conf and to check only resume.conf on line 16.

This waits on the maintainer for that call. It is not labelled ready, because this PR has no CI run and the second opinion's one point is still open.

`omarchy-hibernation-remove` deletes `/etc/limine-entry-tool.d/rtc-alarm.conf` when that file is the only marker. It then runs `limine-mkinitcpio`.

Setup writes that file only when it is missing. Factory-reset leaves it. A machine with only the RTC alarm is not hibernation.
The presence check treated `/etc/limine-entry-tool.d/rtc-alarm.conf` as hibernation. Setup writes that file only when it is missing, and factory-reset leaves it.

`omarchy-hibernation-remove` now enters for the resume hook or `resume.conf`. It deletes `resume.conf` before `limine-mkinitcpio`.
@greptile-apps

greptile-apps Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the previous retry failure is fixed.

Summary

Removes stale hibernation settings before rebuilding the boot image.

  • Removing hibernation clears saved resume settings before rebuilding the boot image.
  • Hibernation setup refreshes resume settings before enabling the resume hook.

Reviews (5) · Last reviewed commit: "Write the resume hook only after the off..." · Reviewed by Greptile

Comment thread bin/omarchy-hibernation-remove Resolved
@omarchybot omarchybot removed the verified Omarchy Triage has verified that this issue is ready for final review label Oct 2, 2026
`omarchy-hibernation-remove` still runs `limine-mkinitcpio` and prints "Hibernation removed" when `rm` cannot delete `resume.conf`.

The rebuilt UKI then keeps `resume=` and `resume_offset=`.
A failed `rm` of `/etc/limine-entry-tool.d/resume.conf` fell through to `limine-mkinitcpio`. The rebuild kept `resume=` and `resume_offset=`, and the script printed "Hibernation removed".

The command now exits before that rebuild.
Comment thread test/shell.d/hibernation-remove-test.sh Resolved
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Oct 2, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Re-reviewed at c6b0494 against quattro (821ae58). The two changes since my last comment hold up, and the open rtc-alarm.conf question is settled.

rtc-alarm.conf now stays. Remove deletes only resume.conf, and rtc-alarm.conf on its own no longer counts as hibernation being set up. That matches setup on quattro, which keeps an existing RTC file and never uses it to decide whether hibernation is configured. It also matches factory-reset, which deletes only the resume hook and resume.conf.

A failed deletion now stops the script. sudo rm -f "$RESUME_DROP_IN" || exit 1 on line 60 exits before limine-mkinitcpio and before "Hibernation removed". This answers Greptile's inline comment. Your new test makes the drop-in directory read-only and checks that remove fails without rebuilding. The test needs an unprivileged runner, because root can delete from the read-only directory. If root runs it, the test fails loudly rather than passing by accident.

Tests on a worker. I merged this head with current quattro and ran the checks on a fresh worker built from the Omarchy ISO. test/shell.d/hibernation-remove-test.sh passes 6/6. It fails on plain quattro, and it fails with the fix reverted. unowned-system-paths-test.sh and system-sleep-ownership-migration-test.sh pass. ./test/cli fails one test, "vscode generated theme references current theme file", and it fails the same way on plain quattro. I've labelled this head verified.

Second opinion. Codex Medium reviewed both pushes and found no defect in them. Independence is not guaranteed, because it can read my notes. It raised three points:

  • Base AGENTS.md prefers a full if/else to an exit in one branch. I didn't change anything for this. || exit 1 as a failure guard appears 108 times in bin/ on quattro, so it is the house idiom, not a departure from it.
  • The new test depends on not running as root. That is noted above.
  • A remove that stops at line 60 has already deleted the swapfile and the resume hook. This was true before this PR. Re-running remove now finishes the job, because a leftover resume.conf counts as hibernation still being set up.

This waits on the maintainer. It is not labelled ready, because ./test/cli is not fully green on a worker (for the unrelated reason above) and there is no CI run on this PR. This PR still fixes #10037, #10374 and #12096. It remains the better fix than #12155, which removes resume.conf only on the full-remove path and also deletes rtc-alarm.conf.

`chmod a-w` does not stop `rm` when the suite runs as root. The shell test then deletes `resume.conf` and fails its own assertion.

The failure case now stubs `rm` for that path.
@omarchybot omarchybot added verified Omarchy Triage has verified that this issue is ready for final review and removed verified Omarchy Triage has verified that this issue is ready for final review labels Oct 2, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Re-reviewed at b1a66d2 against quattro (821ae58). The new commit fixes the root-run problem I noted last time, and I found nothing wrong with it.

The test now works as root too. The old version made the drop-in directory read-only, and root ignores that. The new version puts a stub rm on the test's PATH that refuses to delete limine-entry-tool.d/resume.conf and passes everything else to /usr/bin/rm. The stub applies only while remove runs, and the test deletes it before checking anything.

Tests on a worker. I merged this head with current quattro and ran the checks on a fresh worker built from the Omarchy ISO. test/shell.d/hibernation-remove-test.sh passes 6/6, both as an ordinary user and under sudo. With quattro's bin/omarchy-hibernation-remove in place of yours, it fails. unowned-system-paths-test.sh and system-sleep-ownership-migration-test.sh pass. ./test/cli fails one test, "vscode generated theme references current theme file", and I checked that it fails the same way on plain quattro. This head is labelled verified.

Second opinion. Codex Medium reviewed the new commit and the whole PR and found no defect. Independence is not guaranteed, because it can read my notes. It also confirmed that the failure path is reached whichever user runs the test.

This waits on the maintainer. It is not labelled ready, because ./test/cli is not fully green on a worker (for the unrelated reason above).

omarchybot and others added 3 commits November 1, 2026 15:27
Setup only wrote the resume drop-in when it was missing, so a drop-in an earlier remove left behind kept the deleted swapfile's resume_offset and resume read the wrong place. When the offset cannot be found, a stale drop-in is dropped rather than kept. From omacom#13584.

Co-Authored-By: Daniel Moore <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The test now runs the real remove for a full setup and for a machine an older remove left with only resume.conf, and checks the drop-in is gone before the boot image is rebuilt. The source grep, the no-op cases and the stubbed rm failure tested nothing the base branch gets wrong, which AGENTS.md asks tests not to do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@omarchybot

Copy link
Copy Markdown
Collaborator

Re-reviewed against current quattro (7eedd17). I pushed three commits to your branch, so the head is now 6a36eca.

What I pushed.

  • A merge of quattro. Since my last comment, Name the hibernation resume device by its filesystem UUID #16658 changed the same block of bin/omarchy-hibernation-setup: it now names the resume device by filesystem UUID.
  • The setup half of Remove resume kernel parameters when removing hibernation #13584, with @STRd6 credited as co-author. bin/omarchy-hibernation-setup used to write resume.conf only when the file was missing. So on a machine an older remove had left with a stale resume.conf, setup kept the deleted swapfile's resume_offset, and resume then looked in the wrong place. That is omarchy hibernation remove leaves resume.conf behind, so a later setup keeps a stale resume_offset #13583, which I have linked here. A fresh setup now always rewrites the drop-in. If it cannot find the offset, it deletes the old drop-in rather than keeping a wrong one. A machine where hibernation is already set up still goes through the existing branch, untouched, so the device rename and its retry work as before.
  • A shorter test/shell.d/hibernation-remove-test.sh, cut from 194 lines to 44. Base AGENTS.md asks for the one test that fails on the base branch, with no source greps, no tests of the test's own stubs and no cases that pass on the base anyway. The test now runs the real remove in two states: a full setup, and a machine an older remove left with only resume.conf. In both, it checks that the drop-in is gone before limine-mkinitcpio runs. The setup case went into the existing hibernation-setup-test.sh.

Tests on a worker built from the Omarchy ISO, at 6a36eca.

  • hibernation-remove-test.sh passes, both as an ordinary user and under sudo.
  • hibernation-setup-test.sh passes 6/6.
  • With quattro's two scripts in place of yours, both tests fail: remove leaves the drop-in for the rebuild, and setup keeps resume_offset=1929151.
  • ./test/cli passes.
  • ./test/shell passes 7221 and fails 4: ascii, branding-about-animation, first-run and runtime-smoke. All four fail the same way on plain quattro.

This head is labelled verified.

Second opinion. Codex Medium and muse-wonder (via pi, thinking high) reviewed this head. Codex found no defect. Independence is not guaranteed, because both can read my notes. Muse-wonder raised points I had not weighed. None of them is introduced by this PR, so I have not changed anything for them:

  • A machine that ran the old remove and then setup again already has the resume hook and a stale offset. Setup takes its "already set up" branch there and keeps that offset. Running omarchy hibernation remove and then setup repairs it with this PR. Setup alone does not.
  • If btrfs inspect-internal map-swapfile returns nothing during a fresh setup, setup still writes the hook. It then reports "already set up" on every later run, with no drop-in. This is already true on quattro. This PR only deletes a stale drop-in in that case instead of keeping it.
  • A fresh setup does not check its limine-mkinitcpio rebuild and does not retry it, unlike the device-rename path. This is also true on quattro.

Still open for the maintainer.

@JustNak, the description's "What changed" and "Tests" sections no longer match the branch: setup now changes too, and the test file has one case. It would help to update them.

This waits on the maintainer. It is not labelled ready, because the full shell suite is not green on a worker, for the unrelated reasons above.

Comment thread bin/omarchy-hibernation-setup Resolved
A failed map-swapfile lookup wrote the hook, deleted resume.conf and rebuilt
without resume parameters. Every later run then took the already-set-up branch
and never wrote the drop-in. Look the offset up first, stop with an error if it
is empty, and write resume.conf before the hook so setup stays retryable.
@omarchybot omarchybot added verified Omarchy Triage has verified that this issue is ready for final review and removed verified Omarchy Triage has verified that this issue is ready for final review labels Nov 2, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Re-reviewed at 88fa1eb against current quattro (c2818bb). Your new commit, "Write the resume hook only after the offset lookup succeeds", is correct, and I found nothing to change. I pushed nothing this time.

What it fixes. Before, if the offset lookup failed during a first setup, setup still wrote the resume hook. The hook is what makes a later run report "Hibernation is already set up", so setup never came back to write the resume parameters. Now setup looks up the offset first and stops with an error if it is empty. It writes resume.conf and only then the hook, so running setup again repairs it. Once the lookup works, the result is the same as before.

Who else is affected.

  • omarchy-system-factory-reset now stops with "hibernation setup failed in the factory root" when the lookup fails. Before, it carried on and built a factory system that could not resume. It stops before it changes anything on the ESP, and its cleanup deletes the staged root, so the running system is left as it was.
  • Migration 1792965062 only runs setup on a machine that already has the hook, so it never reaches the new exit.

Tests on a worker built from the Omarchy ISO, at 88fa1eb.

  • hibernation-setup-test.sh passes 7/7.
  • hibernation-remove-test.sh passes, and so do unowned-system-paths, apple-silicon-quirks and gb10-sleep.
  • With the previous head's bin/omarchy-hibernation-setup (6a36eca) in place of yours, the new case fails with "setup reports success without a resume offset". With quattro's two scripts, both hibernation tests fail.
  • ./test/cli passes.
  • ./test/shell passes 7222 and fails 4: ascii, branding-about-animation, first-run and runtime-smoke. Each one fails the same way on plain quattro c2818bb. factory-reset-accounts-test.sh passed on the worker.

This head is labelled verified.

Second opinion. Codex Medium and muse-wonder (via pi, thinking high) reviewed this commit. Neither found a defect. They agree with my reading of both callers, and that the new test exercises the script rather than its stubs. Independence is not guaranteed, because both can read my notes.

Still open for the maintainer, unchanged from my last comment:

This waits on the maintainer. It is not labelled ready, because the full shell suite is not green on a worker, for the unrelated reasons above.

@rand0mdud3

Copy link
Copy Markdown

Duplicate resolved: I closed #13768 as superseded by this one.

Same fix for #13583, and this branch covers three cases mine did not — a stale resume.conf left by an older remove, an empty map-swapfile lookup, and a failed delete — plus writing the drop-in before the hook, which is the ordering I missed. Nothing from my branch is worth folding in; the only thing it added was a test that could touch the host, which I've recorded on the closed PR rather than carry here.

No action requested, just so the three duplicates against #13583 can be triaged without mine in the list.

@rand0mdud3

Copy link
Copy Markdown

An "already configured but not actually configured" machine on the current release, for the case this PR's early-exit change covers.

MacBookPro11,5, Omarchy 4.5.0-3, linux-omarchy 7.2.15-2, upgraded 2026-11-13 from 4.0.6:

  • /etc/mkinitcpio.conf.d/omarchy_resume.conf → HOOKS+=(resume)
  • /etc/limine-entry-tool.d/resume.conf → absent
  • resume= → not on the cmdline; /sys/power/resume is 0:0
  • btrfs inspect-internal map-swapfile -r /swap/swapfile → 1936537

Running the installed omarchy-hibernation-setup against that state (real swapfile and real findmnt/map-swapfile, writes redirected to a scratch tree, --force --no-rebuild) prints Hibernation is already set up and writes no drop-in, so hibernation stays impossible while the command reports success. The state also survived the 4.0.6 → 4.5.0 upgrade, so no migration repairs it.

That is the second bullet on this PR's remove side — repairing the drop-in when the hook is gone — and the reason I closed #13768 in favour of this one. Recording it so the state has a real-release reproducer rather than only a constructed one.

JustNak commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the real-machine repro. That state (hook present, resume.conf absent) is #7619, which is still out of scope here. This PR covers the remove step leaving a stale drop-in behind (hook gone, resume.conf still there), plus the setup rewrite and lookup ordering.

@dhh

dhh commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Thank you @JustNak! Removing /etc/limine-entry-tool.d/resume.conf in omarchy-hibernation-remove landed in #19969, and the remaining half-removed cleanup, failed-deletion abort, and retryable omarchy-hibernation-setup rewrite/ordering have been extracted with credit into #20000.

@dhh dhh closed this Nov 24, 2026
dhh added a commit that referenced this pull request Nov 24, 2026
…20000)

* Clean up stale hibernation resume drop-ins and keep setup retryable

Extracted from #8199 and #13584 on top of #19969.

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>

* Keep hibernation removal retryable when only rebuild marker remains

* Guard empty resume device, keep failed lookups non-fatal, and clean partial setups

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>

* Keep resume.conf removal in factory reset so failed lookup leaves no stale offset

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>

---------

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 24, 2026
…macom#20000)

* Clean up stale hibernation resume drop-ins and keep setup retryable

Extracted from omacom#8199 and omacom#13584 on top of omacom#19969.

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>

* Keep hibernation removal retryable when only rebuild marker remains

* Guard empty resume device, keep failed lookups non-fatal, and clean partial setups

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>

* Keep resume.conf removal in factory reset so failed lookup leaves no stale offset

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>

---------

Co-authored-by: JustNak <[email protected]>
Co-authored-by: Daniel Moore <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

6 participants