Skip to content

fix(ci): update the apt index before installing just - #10

Merged
kleinbem merged 1 commit into
mainfrom
ci-apt-update
Nov 11, 2026
Merged

kleinbem merged 1 commit into
mainfrom
ci-apt-update

Conversation

@kleinbem

@kleinbem kleinbem commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Every build job of #9 failed in its first minute, twice: apt-get install just used the runner image's stale package index, whose mirror entries no longer resolve (Failed to fetch …/just_1.21.0-1_amd64.deb). Nothing was built, so the PR's packages are untested.

The step now runs apt-get update -qq first.

Tested: actionlint passes. The real test is #9's build after this merges.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the build process to refresh the package index before installing a required tool.

The runner image's index pointed at a just package its mirrors no longer
resolve, and every build job of #9 failed in its first
minute (twice).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kleinbem
kleinbem enabled auto-merge (squash) November 11, 2026 14:29
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The build workflow now refreshes the apt package index before installing just. The installation continues to use --no-install-recommends.

Changes: Build workflow

Layer / File(s) Summary
Refresh apt index before installation
.github/workflows/build.yml
The workflow runs apt-get update -qq before installing just. The installation still uses --no-install-recommends.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · up to 33d0c

This refreshes the CI package index before installing just, which addresses the reported stale-mirror failures. No merge-blocking risk was found. The author notes the real test is the next build run.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the apt package index before installing just in CI.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e11fde8e-8e00-4cd4-8a63-6655eb3c39bc
Commits

Reviewing files that changed from the base of the PR and between f7ab840 and 33d0c2a.

Files selected for processing: 1

  • .github/workflows/build.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@kleinbem
kleinbem merged commit 5dd132e into main Nov 11, 2026
4 checks passed
@kleinbem
kleinbem deleted the ci-apt-update branch November 11, 2026 14:34
kleinbem added a commit that referenced this pull request Nov 11, 2026
#10 assumed a stale apt index. The real cause: the runners
intermittently fail to resolve `azure.archive.ubuntu.com`, so `apt-get
update` fails too (`Temporary failure resolving`), and two of #9's three
build jobs died in that step again.

This installs `just` with `extractions/setup-just` v4.0.0, pinned to the
same commit other kleinbem workflows use, which downloads it from just's
GitHub releases. The build itself runs in the Arch container and never
needed Ubuntu's packages.

Tested: actionlint passes; the pin is the v4.0.0 tag's commit. The real
test is #9's build after this merges.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Chores**
* Updated the build workflow to install its build tool using a
version-pinned setup action (version 1.59.0), replacing installation
through Ubuntu package mirrors. Added comments documenting a DNS issue
affecting an Ubuntu mirror and the related runner-images issue. This
change applies to build setup; it does not alter application features or
behaviour.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.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