Skip to content

fix(plan): call a published build stale only when its soname moved - #268

Merged
hanthor merged 1 commit into
mainfrom
fix/stale-only-moved-sonames
Sep 26, 2026
Merged

hanthor merged 1 commit into
mainfrom
fix/stale-only-moved-sonames

Conversation

@hanthor

@hanthor hanthor commented Sep 26, 2026

Copy link
Copy Markdown
Member

Found by the first push-triggered incremental run on main (36205360031, for #265). I cancelled it: it selected 215 of 397 packages for a one-package change and would have spent hours on cold hermetic builds.

78 of them were "stale": their published binaries require vala, cvs, lighttpd, mingw32(kernel32.dll) (×14), pkgconfig(xproto) (×13), python3-alsa… These are Fedora-only dependencies of -devel, MinGW and optional subpackages, and nothing in factory ∪ Hummingbird provides them at any version. A rebuild cannot change that, so they were re-selected, with their dependents, on every run. This predates the incremental work; it just stopped being hidden by the cache.

Stale now means what the rule was written for: a required shared library that is unsatisfied while the same library is provided at another version (libavcodec.so.62 vs .63, libicuuc.so.77 vs .78).

Measured against the freshly published latest and Hummingbird's primary.xml:

stale selected for the xdg-terminal-exec change
before 80 215
after 2 (enchant2 → libicuuc.so.77, libgda → libpq.so.5) 13

The remaining 13 are a one-time bootstrap: icu and malcontent-bootstrap are deleted at publish by design, so the NEVR comparison never sees them as published, and samba doesn't match. Once the state label exists (#259), the published inputs are recorded instead and they drop out. Whether the consumer can install what it needs is still the Hummingbird-only transaction's job.

🤖 Generated with Claude Code

The first push-triggered run on main (36205360031, cancelled) selected 215
of 397 packages for a one-package change. 78 of them were "stale": a
published binary required vala, cvs, lighttpd, mingw32(kernel32.dll),
pkgconfig(xproto), python3-alsa... -- Fedora-only dependencies of -devel,
MinGW and optional subpackages that neither the factory nor Hummingbird
provides at any version. A rebuild cannot change that, so they were
selected, with their dependents, on every run.

Stale now means what the rule was written for: a required shared library
that is unsatisfied while the same library is provided at another version
(libavcodec.so.62 against .63, libicuuc.so.77 against .78). On the fresh
published image that is 2 packages (enchant2, libgda) instead of 80, and the
same one-package change selects 13. Whether the consumer can install what it
needs remains the Hummingbird-only transaction's question.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QMTLsnqW2jtz5QsNC3W3qv
@hanthor
hanthor merged commit 6e6cbe7 into main Sep 26, 2026
130 of 131 checks passed
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