Repository navigation
ci: Chromium installs without apt, so a slow mirror no longer times out browser jobs - #900
Merged
Merged
Conversation
Owner
Author
Review: GPT-6.1-Sol (xhigh), one roundRound 1, at
No timeout increase or extra dependency-install machinery needed. |
…ut browser jobs The Playwright action restored Chromium from the cache, then still ran `playwright install-deps`, which fetched xvfb, extra fonts and library upgrades from the Ubuntu mirror on every job. The runner image ships Google Chrome and Chromium, so every library Chromium loads is already there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
ci/chromium-install
branch
from
October 23, 2026 17:34
58c1b46 to
1ae6f85
Compare
This was referenced Oct 23, 2026
allisonmahmood
added a commit
that referenced
this pull request
Oct 23, 2026
## What changed This PR adds release 17's What's new entry, written from `5dd94f3`. It covers everything merged since release 16's `through` (`dd3f41f`), and it sets the `patchy` release to `0.17.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. With this release, people's agents can use their company's patches through Patchy MCP (#833). | Change | PRs | | --- | --- | | New: Your AI agent can use your company's tools | #873, #878, #880, #881, #882, #883, #884, #886, #887 | | New: Admins choose whether agents can use the company's tools | #871 | | Improved: Your machines shows your agents too (Revoke all machines is now Disconnect everything) | #885, #879 | | New: See what agents can do with a tool | #876 | | New: The log says when an agent made a change | #888 | | New: Your agent can make a tool ready for agents | #869, #870, #872, #875, #896 | | Behind the scenes: agents' calls have their own limits, and a server only an agent uses rests a minute after its last call | #889, #892 | | Behind the scenes: New and Improved changes are public, for patchyhq.com | #893 | | Behind the scenes: library updates | #899 | Five merged PRs get no line: - #874 is release 16's own entry. - #894 is dev tooling: worker agent launchers and scenario data. Its one CLI fix lets a `patchy` installed outside a tier 2 repo publish it. The skills have agents use the repo's pinned `pnpm patchy` instead, so that path is off the documented one. - #900 is CI. - #901 rewords an internal skill. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - It names only Claude Code and Codex. Both have connected through real consent against dev instances. Hosted clients (Claude.ai, ChatGPT) are checked in production only (`docs/product.md` › Patchy MCP › Acceptance). - Its labels are the pages' own: Agent access on Company, Your machines, What agents can do, Disconnect everything, and "Jordan Lee via Claude". - **Rollback safety, from the live commit `e4243ff` to `5dd94f3`.** - No PR in the range is labelled `one-way`, and every PR answers both Release impact questions with "Yes". - Migrations 0020–0025 are all additive: - three defaulted or nullable columns on `companies`; - `agent_name` on the runtime log, with a widened `credential_kind` check; - the agent connection tables, `agent_consents` and `change_keys`; - two columns on execution bindings. The new tables reference `users` without a cascade, but no release deletes users or companies. Release 16 reads the runtime log only for credential kinds it knows, so rows from agents can't break it. - `rollback-rehearsal` on #892 rehearsed the whole stack, since #892 adds the last migration and the rest of the stack sits below it: `Exercised rollback paths passed: e4243ff → c8bede4 → e4243ff → c8bede4, in 238s.` #896's run skipped, because it changes no migration or handler descriptor. - #883 turns on the load balancer's host header preservation, which the Deploy workflow's app stack deploy applies. A rollback leaves it on. That's harmless, because release 16's server never reads `Host`. - A rollback takes `/mcp` and `/whats-new.json` away. Connected agents get a 404 until this release returns, and then their connections work again, unless one ended in between. Agent tools published in between stay refused to pages, because #837 already shipped in release 16. ## How it was verified - `pnpm check` on `2d528b1`: format, lint, typecheck and synth passed. In the test step, 2,300 of 2,301 tests passed. The one failure was `packages/sdk/src/install.test.ts` › "says how to reach patchy when the prefix's bin is not on PATH", which timed out at 180 s while the shared machine was loaded. Rerun alone, that file passes all 7 tests in 62 s. The release's own tests pass too: `whatsNew.test.ts`, `schemas.test.ts` and `WhatsNewPages.test.ts`. - The live commit was pinned from `/healthz/deep`: `e4243ff`, release 16. The Deploy run updated last succeeded, and none is unfinished. - Each PR in the range was read with `gh pr view`, including its Release impact answers. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required This PR changes only the changelog text and the `patchy` version. As with every release, a CLI installed before this deploy is told to upgrade. - **What does a revert leave behind?** Nothing. People whose seen marker reached 17 would just see no new release. - **Does the release before it still work with that?** Yes. If this release misbehaves, roll back to `e4243ff54d2acbbc88b60eeb0cf9b82a26dc9d5d` (release 16). Prepared by Claude Opus 5.5 (xhigh) in Claude Code on T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
Browser jobs (clerk-live, tier2-smoke, cli-smoke, browser, rollback-rehearsal) sometimes ran out of time while installing Chromium. Over the four days below, seven jobs were cut off in that step, five of them clerk-live at its 10-minute limit. The browser itself was already cached and restored in seconds. The time went to
playwright install-deps, which on every job downloaded 26 MB of xvfb, extra fonts and library upgrades from the Ubuntu mirror, at about 40 KB/s on bad days.The runner image ships Google Chrome and Chromium, so every library Playwright's Chromium loads is already installed. The
install-depslog says so: each Chromium library is "already the newest version" or only due an upgrade. The packages it actually added were xvfb and fonts, which the headless suites don't use. The action now restores Chromium, or downloads it on a cache miss, and runs no apt at all. If the image ever drops a library, Playwright names it when it launches. Time limits are unchanged.Look at
The Chromium step, before: 1,205 completed steps over 234 CI runs, 2026-10-19 to 2026-10-23, cache hit in nearly all of them.
A timed-out clerk-live job (run 39862978003): the cache restored in 4 s, then apt spent 9½ minutes on 17 packages:
After: run 39945854174 on this PR, two attempts, 10 of 10 Chromium steps on a cache hit. No apt runs.
The step now takes 3 to 20 s (median 8 s) and makes no request to the Ubuntu mirror, so a slow mirror can no longer stall it. clerk-live, attempt 1:
How it was verified
playwright install chromiumwith no deps) didn't run because the cache hit. The rehearsal launches the same headless Chromium through the same action. A miss downloads the same~/.cache/ms-playwrightcontents that a hit restores, which is what these runs used.Release impact
Breaking — requires action from anyone already running this
Not breaking — no action required. CI only; nothing that ships changes.
What does a revert leave behind? Nothing. The cache key is unchanged, and the cached browser is the same files either way.
Does the release before it still work with that? Yes. Production never runs this action.
Built by Claude Opus 5.5 (xhigh) in Claude Code on T3 Code; reviewed by GPT-6.1-Sol (xhigh).