Skip to content

omasnap: update to 1.21.0 - #550

Merged
ryanrhughes merged 1 commit into
masterfrom
update-omasnap-1.3.0
Sep 20, 2026
Merged

ryanrhughes merged 1 commit into
masterfrom
update-omasnap-1.3.0

Conversation

@ryanrhughes

@ryanrhughes ryanrhughes commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • update omasnap to upstream release 1.21.0 (omacom/omasnap, cut from the same line as 1.20.1, so no epoch)
  • use the canonical omacom upstream URL
  • check() flushes dirty pages (sync) before running the smoke suite

Why the sync

The suite failed on the x86_64 droplets on the first run after every build and passed on any rerun. Instrumented runs on the droplets showed the failing check was runPinEditorReturnChecks: a 5-second settle window timed out while the editor's worker was still committing its pin document. The suite issues about 750 fsync calls on its working files under /tmp. Right after the 17-second build the droplet still had about 1.1 GB of dirty pages to flush, so those fsyncs stalled. After a sync every attempt passed (measured: 138 ms to flush, then 3 of 3 green). It never failed locally or under QEMU aarch64 because those builds are slow enough for writeback to keep up.

Moving the scratch to tmpfs is not an option: /dev/shm is noexec in the builder and the suite writes fake hyprctl/wl-copy executables into its temp dir.

The earlier revision of this PR targeted a v1.3.0 tag with an epoch. That tag was a mistake and has been deleted upstream.

Verification

  • makepkg --verifysource --noconfirm
  • vercmp 1.21.0-1 1.20.1-1 → 1
  • CI build on both architectures (this PR's checks)

@ryanrhughes ryanrhughes changed the title omasnap: update to 1.3.0 omasnap: update to 1.21.0 Sep 20, 2026
@ryanrhughes ryanrhughes reopened this Sep 20, 2026
@ryanrhughes
ryanrhughes force-pushed the update-omasnap-1.3.0 branch 3 times, most recently from ed0f341 to d778f26 Compare September 20, 2026 22:24
Upstream moved to omacom/omasnap and cut 1.21.0 from the same line as 1.20.1, so the version simply increases and no epoch is needed.

check() flushes dirty pages before the smoke suite. The suite fsyncs its working documents under /tmp; on the CI droplets the build leaves about a gigabyte of dirty pages, and the flush that starts a few seconds into the suite made those fsyncs stall past the suite's 5-second settle windows on the first run after every build.
@ryanrhughes
ryanrhughes merged commit 5164cc2 into master Sep 20, 2026
7 checks passed
@ryanrhughes
ryanrhughes deleted the update-omasnap-1.3.0 branch September 20, 2026 23:01
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: omasnap (x86_64, PR artifact); omasnap (aarch64, PR artifact)

  • edge/x86_64: omasnap-1.21.0-1-x86_64
  • edge/aarch64: omasnap-1.21.0-1-aarch64

Commit 5164cc2 · run

gentlemanSoup pushed a commit to gentlemanSoup/omarchy-pkgs that referenced this pull request Sep 21, 2026
`restore=$(shopt -p nullglob)` exits 1 when nullglob is off, which it is
in the workflow shell. Under the `bash -e` that GitHub runs steps with,
that ended "Pack artifact" before tar ran: every job on omacom#512 and omacom#550
built fine and then failed with nothing in the log but the command.

The self-test never saw it because `pack_packages ... || fail` suppresses
errexit. Enumerate package files with a loop instead of toggling shell
options, and add a test that calls both helpers under `bash -e` exactly
as the workflows do; it fails against the old helper.
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