GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci(release): release server-test shards reuse the cached Chromium like CI by only21mil · Pull Request #28303 · pingdotgg/t3code

Conversation

@only21mil

@only21mil only21mil commented Oct 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Problem

Each of the eight Release server tests shards in release.yml runs playwright-core install --with-deps --only-shell chromium, so every release run downloads Chromium and runs apt eight times. CI's server shards stopped doing this in #19632, and the Release web tests job in the same workflow already restores Chromium from the cache. Only the release server shards were left out.

In release run 41220805562, the install step took 9–22 s per shard, 90 runner-seconds in total. In the same run, Release web tests restored Chromium from the cache in 1 s and needed no apt step.

Change

The release server shards now use the same steps as CI's server shards. They resolve the Playwright version, restore ~/.cache/ms-playwright under the shared playwright-chromium-shell-<os>-<arch>-<version> key, install the headless shell only on a cache miss, and run install-deps only when ldd finds a missing shared library. The steps are copied from ci.yml and differ only in dropping CI's affected-jobs condition, which release doesn't have.

Scope and approval

This is focused CI maintenance with no product behavior change, so it needs no prior approval under CONTRIBUTING. It brings one release job in line with the pattern that #19632 set for CI and the release web job already follows. Only one job in one workflow changes.

Verification

  • On the same runner type (blacksmith-4vcpu-ubuntu-2404), CI's eight server shards in a recent PR run, 41234136605, spent 0–1 s per shard on all their Chromium steps. The install was skipped on a cache hit, and the ldd check found nothing missing, so apt never ran.
  • The web and server packages both pin Playwright 1.60.0, so the release server shards use the same cache entry that CI and Release web tests already fill.
  • actionlint on release.yml reports the same findings before and after the change (runner labels and existing shellcheck notes), with none on the new steps.
  • vp run check:changed passes.

Not checked: a release run with this change, because a release run publishes a build. The next release run after merge is the first.

Prior PRs

#19632 by maria added this cache to CI's server shards. #22524 by Theo Browne brought the same steps to Release web tests but left the release server shards on --with-deps. #20934 by Julius Marminge first added the Chromium install to the release web tests. No open PR touches these steps.

Generated with Claude Opus 5.5 in T3 Code Nightly

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@only21mil @claude
ci(release): release server-test shards reuse the cached Chromium lik…
3ba3e0a
…e CI

The release workflow's eight server-test shards each ran
`playwright-core install --with-deps`, downloading Chromium and running
apt on every shard. CI's server shards and the release web-test job
already restore the browser from the versioned Playwright cache and run
apt only when ldd finds missing shared libraries. Use the same steps here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 31, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 3ba3e0a

Macroscope's review found this PR approvable — Release server-test shards reuse version-keyed Chromium caches and install system dependencies only when needed, matching existing test workflows. The change is confined to test-runner setup and leaves product behavior and test execution unchanged.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 31, 2026
View reviewed changes
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 15fe283
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a5e49532-69aa-45b0-9f51-a0909873d0be
Commits

Reviewing files that changed from the base of the PR and between 15fe283 and 3ba3e0a.

Files selected for processing: 1
  • .github/workflows/release.yml

Limit details: You’ve used all 10 included reviews currently available.

Walkthrough

The release test_server job now caches Chromium by Playwright version, runner operating system, and architecture. It installs Chromium on a cache miss and checks for missing shared libraries before installing system dependencies.

Changes: Release server-test setup

Layer / File(s) Summary
Chromium cache and dependency setup
.github/workflows/release.yml
The test_server job caches Chromium using the installed playwright-core version and runner platform. On a cache miss, it installs Chromium without apt dependencies. It then checks for a headless-shell browser and installs system dependencies only when ldd reports missing libraries.

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

Change: Other

Possibly related PRs

  • pingdotgg/t3code#13321: Introduced the release test_server job that this change updates.

Suggested labels: size:M

Suggested reviewers: t3dotgg, juliusmarminge

Merge Risk: Minimal · up to 3ba3e

No actionable merge-blocking risk remains for this workflow change.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: release server-test shards reuse cached Chromium like CI.
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.
Description check Passed The description covers the Problem, Change, Scope and approval, and Verification sections the template asks for. The Problem section explains the issue: each of the eight release server shards install…
Full details: Description check

Explanation

The description covers the Problem, Change, Scope and approval, and Verification sections the template asks for. The Problem section explains the issue: each of the eight release server shards installs Chromium with --with-deps and runs apt, which costs about 90 runner-seconds per release run. The Change section explains the cache-based fix, which copies the steps from ci.yml. The Scope section argues the change is focused CI maintenance that needs no prior approval, and it names prior PRs. The Verification section gives concrete evidence from a CI run and actionlint, and it states what was not checked. The description does not include the template's HTML comment guidance, and it does not state a conventional commit title, but the core required content is present. The author also reports the model used, which the template asks for when an agent did the work.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@only21mil

only21mil commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Note

🤖 Opus 5.5 replying on behalf of Victor.

Closing this to bring my open PRs down under the new limit. The branch stays on my fork if it is useful.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@only21mil only21mil closed this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@only21mil
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.