Skip to content

Clean up the CI test job - #2894

Merged
sdarwin merged 1 commit into
boostorg:developfrom
sdarwin:feature/workflow3
Nov 24, 2026
Merged

sdarwin merged 1 commit into
boostorg:developfrom
sdarwin:feature/workflow3

Conversation

@sdarwin

@sdarwin sdarwin commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Two small fixes to the test job in .github/workflows/actions-gcp.yaml.

Changes

  • Remove the actions/cache step. It never cached anything useful: it saved ~/.cache/pip, but dependencies are installed with uv (which uses ~/.cache/uv), and its key hashed **/base.txt, a file that doesn't exist.
    Pointing it at the uv cache wouldn't help either. Measured locally, a cold uv pip install -r requirements.txt takes about 6s and leaves a 752 MB cache. After uv cache prune --ci (uv's recommended CI setting, which keeps only wheels built from source), almost nothing worth restoring is left. Restoring hundreds of MB would likely take longer than downloading again.
  • Remove if: steps.cache.outputs.cache-hit != 'true' from "Install dependencies". It referred to a step id (cache) that didn't exist, so it was always true. Removing it doesn't change behavior; it just makes the workflow say what it does.

Summary by CodeRabbit

  • Chores
    • Updated automated test setup so dependencies are installed for every test run, rather than relying on previously cached packages. This changes the consistency of the project’s verification process but does not alter app features or behavior for end users. No other user-visible changes are included in this update.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The test workflow no longer uses a pip cache. It installs dependencies on every run.

Changes: Test dependency installation

Layer / File(s) Summary
Unconditional dependency installation
.github/workflows/actions-gcp.yaml
The workflow removes the pip cache and runs dependency installation on every test run.

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

Change: Refactor

Merge Risk: Minimal · up to 44a57

This cleans up the CI test job by removing a cache step that did not match how dependencies are installed. Dependencies are now installed on every run, which the author reports takes about 6 seconds. No actionable merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Clean up the CI test job" matches the main change: the PR removes the actions/cache step and the cache-hit condition from the test job in .github/workflows/actions-gcp.yaml. It is brief and…
Description check Passed The description states the purpose and the two changes: removing the actions/cache step and removing the cache-hit condition from the install step. It gives the reasoning, the measurements, and the be…
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: Title check

Explanation

The title "Clean up the CI test job" matches the main change: the PR removes the actions/cache step and the cache-hit condition from the test job in .github/workflows/actions-gcp.yaml. It is brief and specific to the CI test job. It does not name the removed cache step, but the PR scope is small and the title fits it.

Full details: Description check

Explanation

The description states the purpose and the two changes: removing the actions/cache step and removing the cache-hit condition from the install step. It gives the reasoning, the measurements, and the behavior impact. It does not follow the repository template. It has no issue number line, no Figma or component links, no Changes list in the template format, no Risks & Considerations section, no Screenshots section, and no Self-review Checklist. The Frontend items may not apply to a CI-only change. Those sections are mostly relevant to frontend work, so the gaps are partly non-critical.

Resolution

Optional improvements: add the issue number line ("# Issue: #[number]") if one exists, add a Risks & Considerations note (for example, that dependencies now install on every run and CI time may change), and complete or remove the Self-review Checklist items that apply to this CI-only change.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9b0c3cda-007d-4df3-ab83-4baafc5d2347
Commits

Reviewing files that changed from the base of the PR and between 17e6e36 and 44a5768.

Files selected for processing: 1

  • .github/workflows/actions-gcp.yaml
Files with no reviewable changes: 1

  • .github/workflows/actions-gcp.yaml

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

@sdarwin
sdarwin merged commit 00bc074 into boostorg:develop Nov 24, 2026
3 checks passed
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