Skip to content

fix(ci): retry apt installs in wheel smoke gate#2191

Closed
JerrettDavis wants to merge 1 commit into
headroomlabs-ai:mainfrom
JerrettDavis:fix/release-smoke-apt-retry
Closed

fix(ci): retry apt installs in wheel smoke gate#2191
JerrettDavis wants to merge 1 commit into
headroomlabs-ai:mainfrom
JerrettDavis:fix/release-smoke-apt-retry

Conversation

@JerrettDavis

Copy link
Copy Markdown
Collaborator

Summary

  • add a small retry helper around Ubuntu-container apt-get operations in the Release wheel smoke-import gate
  • use --fix-missing for the package installs that can fail when the ARM Ubuntu ports mirror serves stale package indexes
  • add a workflow regression test so the smoke gate keeps the retry/fix-missing hardening

Why

A Release smoke-import job on PR #2160 failed twice in the Ubuntu 22.04 ARM container while installing Python 3.12 dependencies:

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/p/python-httplib2/python3-httplib2_0.20.2-2ubuntu0.1_all.deb 404 Not Found

The smoke gate should still fail for broken wheels, but transient apt mirror skew should not make unrelated PRs red.

Validation

  • python -m pytest tests/test_release_workflows.py -q -> 32 passed
  • uvx ruff@0.15.17 check tests/test_release_workflows.py -> All checks passed
  • git diff --check

@github-actions

Copy link
Copy Markdown
Contributor

PR governance

This PR does not yet satisfy the required template fields:

  • Missing required section Description.
  • Missing required section Type of Change.
  • Missing required section Changes Made.
  • Missing required section Testing.
  • Missing required section Real Behavior Proof.
  • Missing required section Review Readiness.
  • Check I have performed a self-review before requesting human review.
  • Check This PR is ready for human review or convert the PR back to draft.

Please update the PR body, or move the PR back to draft while it is still in progress.

@github-actions github-actions Bot added the status: needs author action Pull request body or readiness checklist still needs author updates label Jul 14, 2026
@JerrettDavis

Copy link
Copy Markdown
Collaborator Author

Closing this as superseded by #2190. I folded the Release smoke apt retry hardening into #2190 so the dependency-audit fix and smoke-gate fix can go green together instead of leaving two PRs blocked by each other's baseline failures.

@JerrettDavis JerrettDavis deleted the fix/release-smoke-apt-retry branch July 14, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: needs author action Pull request body or readiness checklist still needs author updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant