Skip to content

ci: stop apt hangs and stop pull requests filling the cache - #90

Open
EnriqueParodi wants to merge 1 commit into
fix/pybind11-python-discoveryfrom
ci/apt-lock-timeout
Open

ci: stop apt hangs and stop pull requests filling the cache#90
EnriqueParodi wants to merge 1 commit into
fix/pybind11-python-discoveryfrom
ci/apt-lock-timeout

Conversation

@EnriqueParodi

@EnriqueParodi EnriqueParodi commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Two things that read as build failures and are not.

An apt call that does not bound how long it waits for the dpkg lock blocks with
no output until the job timeout kills it, which is what ended a documentation
build on #86 after its full hour. Every call now bounds the wait.

The compiler cache stores a new entry on every run, and no other pull request
can read it, so six open ones filled the 10 GB the repository gets. What that
evicted was the conan package caches, which are the expensive ones to rebuild.
Only main writes the compiler cache now; pull requests read what it leaves.

@EnriqueParodi EnriqueParodi changed the title ci: stop apt from hanging until the job timeout ci: stop apt hangs and stop pull requests filling the cache Aug 19, 2026
@EnriqueParodi
EnriqueParodi force-pushed the ci/apt-lock-timeout branch 10 times, most recently from c873e14 to b723105 Compare August 19, 2026 21:21
apt sat on a dead mirror until the job timeout twice in one day. The mirror is
pinned to one that answers, and retries, lock waits and each call are bounded.
@EnriqueParodi
EnriqueParodi changed the base branch from main to fix/pybind11-python-discovery August 20, 2026 11:23
@EnriqueParodi
EnriqueParodi force-pushed the fix/pybind11-python-discovery branch from 813b575 to 6f6ca05 Compare August 20, 2026 11:26
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