Repository navigation
ci: validate isolated Flatpak rebuild without download or compiler state - #1715
Merged
Merged
Conversation
This was referenced Oct 22, 2026
zackees
force-pushed
the
infra/1269-flatpak-pruned-build
branch
from
October 22, 2026 05:37
6597562 to
446a129
Compare
zackees
force-pushed
the
infra/1269-flatpak-pruned-build
branch
from
October 22, 2026 06:08
446a129 to
f4cbc95
Compare
8 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current qualification — Flatpak probe succeeded
Fifth full trial 39739711001 on ae128dc is terminal FAILURE due only to independent Windows Tier2 cm_print_error (#1713/#1739) and aggregate gate. Flatpak job119694606911 SUCCESS: actual copied OSTree fsck, all6dependency hits, forced OBS rebuild, binary/icon/XML and all3AppStream/builddir/repo lint checks passed. HostedOSTree2026.2, bare-user-only,70typedlinks, fsck18.644s, isolatedbuild935.793s excludingcopy/fsck/validation.
Reviewed terminal evidence is now committed at5c97ce84f; compression-onlyc6e9bce4d preserves originalJSONbytes in gzip. Source is unchanged since successful experiment. Linux358/355+3Pulse skips OFF/ON and Mac4x202/201+1SVT passed; Windows failed beforeCTest. Prior4fullfailedtrials preserved. No fullgreen, actualtransport saving, productionpolicy, runtimeprofile, representative-day or globalcapacity claim. #1269 remains open; #1723 held. Current PR Gate must pass before queueing.
Historical implementation/experiment notes follow; earlier pending statements describe those captures.
Refs #1269 under #1667. Draft: actual isolated hosted application rebuild remains unproven.
Scope
Default-off manual Flatpak probe after normal full build/output validation. Copy only the dependency OSTree repository (
cache), excluding downloads, compiler entries and transient scaffolding. Preserve exact checksum-shaped.filelink objects as opaque data without dereferencing; reject structural links. Run realostree fsckon the isolated copy before building.A temporary manifest forces the final obs module's executable check and marker. Require all six dependency cache hits and reject an obs cache hit. Validate binary/icon/XML plus existing AppStream/builddir/repo lint. Commands are bounded; temporary state/manifest cleaned on success/failure.
No production writer/key/path/limit change, new workflow, C-test/public-header/plugin edit or runtime/saved-profile claim. Global allocation/native retention remain unresolved; #1723 remains separately held.
Evidence — two terminal failures preserved
.filelink before rebuilding. Link target/repository mode were not logged. Windows independently failed linking cm_print_error in test_video_output_plan, reported under existing owner rust: Port the video output conversion plan in obs.c to obs-core #1713. Other selected jobs passed. Aggregate Gate failed.RED → GREEN / review
Current qualification
Exactly one third changed-source full trial 39732161172 dispatched on f4cbc95 after both prior full trials were terminal. pruned=true, cache-probe=false, native=false. Preserve full selected coverage and failures; no unchanged workflow retry. Results pending. Production transport/allocation adoption needs separate actual trusted producer/consumer qualification and honest global capacity.
Terminal third trial and reviewed branch correction
Run39732161172 completed FAILURE. Copied OSTree fsck passed10 commits/19,104 objects and forced OBS marker appeared, but all six dependencies rebuilt; guard correctly rejected missing dependency cache hits before isolated output validation. Windows independently failed cm_print_error (#1713/#1739); Mac and Linux passed. Full evidence committed.
Cause identified in pinned builder/action source: --state-dir scopes stage refs to the absolute manifest path; random temporary manifest selects a different branch. RED28a6b1efc reproduces selection failure. GREEN218c48278 aliases original stage refs only in the independent copy, before fsck, retaining all six-hit/forced-rebuild guards. Real OSTree fixture verifies matching commit and no original ref mutation.31 focused checks pass, full lint132.9s pass, sole primary review clean.
Define exactly one fourth changed-source full trial on218c48278 after all previous trials terminal, pruned=true/cache-probe=false/native=false. No unchanged retry or production adoption. Actual dependency reuse plus full isolated output validation remain unproven.
Terminal fourth trial and screenshot parity
Run39735957434 completed FAILURE. All6 dependency hits, forced OBS marker, binary/icon/XML and AppStream lint passed. Builddir lint rejected appstream-external-screenshot-url because probe omitted production screenshot mirroring; repository lint did not run. Windows independently failed the known cm_print_error linker error. Terminal metadata/log hashes/artifact/coverage committed.
REDf1d53548f and7fdff3615 require production builder screenshot options and media repository commit. GREENae128dc16 matches both on isolated outputs before unchanged lint; no exceptions/coverage relaxed.31focusedPASS, full lint42.5sPASS, one primary review clean. Real OSTree copy/ref/fsck fixture rerun passed (stops before real build).
Define one fifth changed-source full trial on ae128dc, after all prior trials terminal, pruned=true/cache-probe=false/native=false. No unchanged retry. Full isolated output qualification, actual cache transport/allocation and #1269 remain unfinished.