Skip to content

fix(workflow): stop apt-get update hangs from killing read-only skill runs - #1186

Merged
aaronjmars merged 2 commits into
mainfrom
fix/bwrap-apt-update-hang
Oct 7, 2026
Merged

aaronjmars merged 2 commits into
mainfrom
fix/bwrap-apt-update-hang

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

Port of aaronjmars/aeon-agent#255. An aeon-agent tweet-digest run (https://github.com/aaronjmars/aeon-agent/actions/runs/37656860492) failed in Install bubblewrap: apt-get update hung on a slow mirror for the full 5-minute step cap, so the skill never ran. Fixing it here too so aeon-update doesn't re-seed the old step.

Changes (one step in .github/workflows/aeon.yml):

  • skip apt if bwrap is already on the runner
  • try apt-get install bubblewrap from the image's cached lists first (no index refresh)
  • only on a miss: apt-get update capped at 90s, retried once
  • Acquire::Retries=3 + 20s http/https timeouts so one dead mirror can't stall

… runs

An aeon-agent tweet-digest run died in Install bubblewrap: apt-get update hung
on a slow mirror for the full 5-minute step cap, before the skill ever ran.

Install from the image's cached package lists first and only refresh the index on a
miss, with each update capped at 90s and retried once, plus Acquire timeouts and
retries so one dead mirror can't stall the step. Skip apt entirely if bwrap is
already present. Mirrors aaronjmars/aeon-agent#255.
@aaronjmars
aaronjmars merged commit e5e465d into main Oct 7, 2026
9 checks passed
aaronjmars added a commit to aaronjmars/aeon-agent that referenced this pull request Oct 7, 2026
…256)

Follow-up to #255: the CI bubblewrap steps used the same unbounded apt-get update
that hung the tweet-digest run; aeonfun/aeon#1186 CI hit it too.

Co-authored-by: aaronjmars <aaronjmars@users.noreply.github.com>
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