Skip to content

Hold omarchy-mlx out of upstream sync - #1055

Merged
dhh merged 1 commit into
masterfrom
hold-omarchy-mlx-sync
Oct 14, 2026
Merged

dhh merged 1 commit into
masterfrom
hold-omarchy-mlx-sync

Conversation

@dhh

@dhh dhh commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

The scheduled Sync Upstream Releases run has failed every time since Oct 9. Two packages caused it: ghost, which #904 already fixed, and omarchy-mlx, which this PR fixes.

Why omarchy-mlx fails: the GitHub watch bumps pkgver, but the PKGBUILD also downloads a wheel whose name carries a per-build stamp:

_wheel=mlx_omarchy-0.32.4.dev202610050725+5c15fba-cp314-cp314-linux_aarch64.whl

That name changes with every release; v0.7.32 ships mlx_omarchy-0.32.4.dev202610101057+ae5d0950-…. A watch can only set recipe variables from values captured out of the tag, so the sync requests v0.7.32/…dev202610050725+5c15fba… and gets a 404:

curl: (22) The requested URL returned error: 404
✗ Upstream watch failed for omarchy-mlx

What this PR does: adds "sync": false so the package is held like cua-driver-bin and yt6801-dkms, and notes the hold and its reason in docs/upstream-sources.md. The watch stays in place, so lifting the hold is a one-line change. In practice the package is already updated by hand: each release has been repinned together with its wheel, vendor tar, and checksums. It's currently at 0.7.28, and upstream is at 0.7.32.

@joshuaswarren, could the release publish the wheel under a name derived from the release version, such as mlx_omarchy-0.7.32-cp314-cp314-linux_aarch64.whl? Alternatively, the PKGBUILD could rely only on the copy inside the vendor tar, which prepare() already prefers. Either way the watch could follow releases on its own and we can drop this hold.

Testing

  • bin/sync-upstream omarchy-mlx now reports "Skipping omarchy-mlx: upstream updates held by sync=false", with 0 failures.
  • helpers/upstream-watch.py check pkgbuilds/omarchy-mlx reports skipped.
  • tests/upstream-watch.py: all 37 tests pass.

🤖 Generated with Claude Code

Its wheel's filename carries a per-build stamp the tag watch can't derive,
so every scheduled sync 404s on the old wheel name and fails the run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dhh
dhh merged commit 4c51e6b into master Oct 14, 2026
8 of 10 checks passed
@dhh
dhh deleted the hold-omarchy-mlx-sync branch October 14, 2026 04:18
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: omarchy-mlx (aarch64, already published, skipped)

Nothing to publish: already at master's version everywhere.

Some planned slots did not run because an earlier slot failed.

Commit 4c51e6b · run

@joshuaswarren

Copy link
Copy Markdown
Contributor

Follow-up on why the sync broke and how we will make it work again.

The sync could not follow omarchy-mlx because our release names the wheel with a per-build stamp (mlx_omarchy-0.32.4.dev<timestamp>+<commit>-...whl), and a pkgver-only watch cannot know that name. That is on our side. Plan, in omarchy-mlx releases from v0.7.34 on:

  • Every release also carries a fixed-name copy of the aarch64 wheel (omarchy-mlx-wheel-cp314-aarch64.whl), byte-identical to the stamped one and covered by SHA256SUMS. The release gate will check that the alias and the stamped wheel have the same bytes.
  • The PKGBUILD then needs only pkgver from the tag for all three sources (tag tarball, vendor tar omarchy-mlx-vendor-wheels-v$pkgver-cp314-aarch64.tar, alias wheel). The vendor tar already contains the stamped wheel, so prepare() no longer needs the stamped name.
  • The hashes still change with every release, so the watch must update sha256sums as well as pkgver. If it cannot, the package stays held; I would rather you keep the hold than get a failing job.

Until v0.7.34 exists, #839 (updated to v0.7.33 today) is the way to move the package. Once the alias asset is in a release, I will send a PR that adapts the PKGBUILD, so you can set "sync" back to true.

joshuaswarren added a commit to joshuaswarren/omarchy-mlx that referenced this pull request Oct 28, 2026
A stable release carries omarchy-mlx-wheel-cp314-aarch64.whl, byte-identical to the stamped aarch64 wheel, so the distro package can name its wheel source from the tag alone (omacom/omarchy-pkgs#1055). verify-release-assets.py fails a stable release without the copy, with a copy that differs from the wheel, or with a SHA256SUMS line that does not match the copy's bytes; a -diag release is exempt. Checked: tests.test_release_assets, 11 tests; removing the alias filter, the alias failure or the checksum comparison makes them fail. Not checked: a run against a real draft release. Closes #291.
fbalazsy pushed a commit to fbalazsy/omarchy-mlx that referenced this pull request Nov 15, 2026
…warren#292)

A stable release carries omarchy-mlx-wheel-cp314-aarch64.whl, byte-identical to the stamped aarch64 wheel, so the distro package can name its wheel source from the tag alone (omacom/omarchy-pkgs#1055). verify-release-assets.py fails a stable release without the copy, with a copy that differs from the wheel, or with a SHA256SUMS line that does not match the copy's bytes; a -diag release is exempt. Checked: tests.test_release_assets, 11 tests; removing the alias filter, the alias failure or the checksum comparison makes them fail. Not checked: a run against a real draft release. Closes joshuaswarren#291.
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.

2 participants