ci: fix Linux apt package install (stale apt lists + poisoned cache), fix cargo msrv find - #5873
Merged
Merged
Conversation
… msrv find invocation
Contributor
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
cargo msrv find invocationcargo msrv find
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.
Summary
All Linux CI jobs (lint, tests, release tests, bundle, docs, min-deps) currently fail at
glib-syswithglib-2.0.pc not found.Cause (from job logs): the runner image's apt lists are stale — they point at
xdg-desktop-portal_1.18.4-1ubuntu2.24.04.2, which has been superseded by.3and removed from the mirror pool, so the install 404s.awalsh128/cache-apt-pkgs-action's own refresh issudo apt-fast update ... || true(silently no-op'd here), and its install step doesn't fail the job: it installed 0 packages and then saved that empty result to the cache key. Every later run restores the poisoned empty cache, so nothing is installed and every Linux job fails identically regardless of PR contents.Fix:
sudo apt-get updatestep immediately before everycache-apt-pkgs-actionuse (sameif:guards where present), so the package index is fresh and the install succeeds.cache-apt-pkgs-actionversion:1.0→1.2(matrix key prefixed1.2-) to evict the poisoned caches (1.1was also poisoned by the first iteration of this PR).Also fixes the
Find MSRV on verify failurestep, which errored withunrecognized subcommand 'cargo': cargo-msrv 0.19 requires the explicitfindsubcommand:Not addressed: Playwright job flakiness (known).
Link to Devin session: https://dioxus.staging.devinenterprise.com/sessions/2cd42a65391e46a19e32f06831e90d22
Open in Devin Desktop: https://dioxus.staging.devinenterprise.com/desktop/session/2cd42a65391e46a19e32f06831e90d22?variant=devin-insiders
Requested by: @nicoburns