Skip to content

Remove unnecessary package upgrades and cleanups from CI workflows - #81

Open
snape wants to merge 1 commit into
mainfrom
dev/remove-ci-upgrades
Open

snape wants to merge 1 commit into
mainfrom
dev/remove-ci-upgrades

Conversation

@snape

@snape snape commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Remove apt-get/dnf/apk/zypper upgrade steps and package-manager cache cleanups (dnf clean all, apt-get autoremove, /var/lib/apt/lists/*, zypper cc -a, pacman cache/sync cleanup) from ephemeral CI container jobs while keeping pacman -S -u -y on Arch Linux.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Continuous integration workflows no longer upgrade all preinstalled system packages during setup. They continue to refresh package metadata and install the packages needed for their tasks. This keeps the setup steps focused on the packages explicitly required by each workflow.

Seven CI workflows no longer upgrade installed system packages during setup. Package-index or repository updates and listed dependency installations remain.

Changes: CI Package Setup

Layer / File(s) Summary
Remove package upgrade steps
.github/workflows/actionlint.yml, .github/workflows/bazel.yml, .github/workflows/buildifier.yml, .github/workflows/cmake.yml, .github/workflows/hadolint.yml, .github/workflows/markdownlint.yml, .github/workflows/meson-format.yml
Setup steps no longer run apt-get upgrade, dnf upgrade, zypper up, or apk upgrade. Package-index or repository updates and dependency installations remain.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • snape/AVO2#72: Adds the actionlint and buildifier workflows that this change updates.
  • snape/AVO2#75: Adds the hadolint workflow whose setup this change updates.
  • snape/AVO2#76: Adds the markdownlint workflow whose setup this change updates.
Merge Risk: Minimal · up to 69dd7

This change only speeds up and simplifies CI setup by skipping full system package upgrades before the listed dependencies are installed. It has no effect on shipped code or users. No actionable merge risk remains beyond normal CI confirmation.

Pre-merge checks: Passed 4

Check name Status Explanation
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.
Title check Passed The title states the main change: unnecessary package upgrades and cleanups are removed from CI workflows. The raw summary shows upgrade steps removed from the actionlint, bazel, buildifier, cmake, ha…
Description check Passed The description is related to the changeset. It lists removed apt-get, dnf, apk, zypper upgrade steps and cache cleanups in CI container jobs, and notes the pacman exception. It matches the file-level…
Full details: Title check

Explanation

The title states the main change: unnecessary package upgrades and cleanups are removed from CI workflows. The raw summary shows upgrade steps removed from the actionlint, bazel, buildifier, cmake, hadolint, markdownlint, and meson-format workflows. The title's mention of cleanups is not reflected in the file summaries, which only describe removed upgrade steps, but the title remains mostly accurate to the primary change.

Full details: Description check

Explanation

The description is related to the changeset. It lists removed apt-get, dnf, apk, zypper upgrade steps and cache cleanups in CI container jobs, and notes the pacman exception. It matches the file-level summaries and the PR objectives.

  • 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: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 82773097-9a08-4f59-9d9b-0d8923529d73
Commits

Reviewing files that changed from the base of the PR and between 539019b and 69dd7eb.

Files selected for processing: 7

  • .github/workflows/actionlint.yml
  • .github/workflows/bazel.yml
  • .github/workflows/buildifier.yml
  • .github/workflows/cmake.yml
  • .github/workflows/hadolint.yml
  • .github/workflows/markdownlint.yml
  • .github/workflows/meson-format.yml
Files with no reviewable changes: 7

  • .github/workflows/actionlint.yml
  • .github/workflows/bazel.yml
  • .github/workflows/buildifier.yml
  • .github/workflows/cmake.yml
  • .github/workflows/hadolint.yml
  • .github/workflows/markdownlint.yml
  • .github/workflows/meson-format.yml

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

@snape
snape force-pushed the dev/remove-ci-upgrades branch from 69dd7eb to ed4a131 Compare December 1, 2026 02:47
@snape snape changed the title Remove unnecessary package upgrades from CI workflows Remove unnecessary package upgrades and cleanups from CI workflows Dec 1, 2026

This branch has not been deployed

No deployments
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