Repository navigation
ci: upgrade playwright for ubuntu 26.04 on 3.x - #19071
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update Playwright dependency package.json, templates/*/package.json |
The root package and project templates update @playwright/test from version 1.58.2 to 1.63.0. |
Priority:
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Possibly related PRs
- payloadcms/payload#16889: This PR moved Playwright jobs to Ubuntu 24.04 due to Playwright 1.58 compatibility with Ubuntu 26.04. This PR updates Playwright to version 1.63.0.
- payloadcms/payload#19015: This PR changes GitHub Actions jobs to use Ubuntu 26.04. This PR updates Playwright to version 1.63.0.
Suggested reviewers: denolfe, patrikkozak, alessiogr
Merge Risk: 
Minimal · up to ab167
-
No actionable merge-blocking risk was identified in this dependency-only upgrade.
Architecture risk: 
Low · up to ab167
-
The change affects 2 systems.
Changed systems:
templates,package.jsonArchitecture concerns
No architecture-level concerns identified.Review details
-
Systems and components
- observed — templates (service) was modified; 10 changed files map to changed impact.
- observed — package.json (service) was modified; 1 changed file maps to changed impact.
Before / after behavior
- observed — Modified behavior in package.json: The
@playwright/testdevelopment dependency version changes from1.58.2to1.63.0. - observed — Modified behavior in templates/_template/package.json: Upgraded the
@playwright/testdevelopment dependency from1.58.2to1.63.0. - observed — Modified behavior in templates/blank/package.json: The
@playwright/testdevelopment dependency was upgraded from1.58.2to1.63.0. - observed — Modified behavior in templates/ecommerce/package.json: The
@playwright/testdev dependency version changed from1.58.2to1.63.0.
-
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (11 skipped: 11 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
Warning
Some tools did not complete. Review the errors below.
🔧 ESLint
-
If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.
package.json
-
ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.
templates/_template/package.json
-
ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.
templates/blank/package.json
-
ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.
- 8 others
-
Comment @coderabbitai help to get the list of available commands.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
Requires #19071 for clean-cache browser setup on the `3.x` CI runners. ## What Fixes the broken `localizeStatus` migration for PostgreSQL databases. ## Why All `db.execute` calls in the 4 SQL migration files used the wrong signature: ```ts // WRONG - db has no .drizzle sub-property await db.execute({ drizzle: db.drizzle, sql: sql`...` }) ``` The `db` parameter passed into migration functions IS the raw Drizzle `PostgresDB` instance — it has no `.drizzle` sub-property. The correct call pattern (used throughout the rest of the drizzle codebase) is: ```ts // CORRECT await db.execute(sql`...`) ``` Also fixes `inserted.length` → `inserted.rows.length` in `up.ts` (the result object has a `.rows` array, not a top-level length). ## Files changed - `sql/up.ts` - `sql/down.ts` - `sql/migrateMainCollection.ts` - `sql/migrateMainGlobal.ts` These are pure bug fixes with no behaviour changes — the migration logic is identical, only the call signature is corrected. Created from comments on this PR #14667 --------- Co-authored-by: Copilot <[email protected]>
|
🚀 This is included in version v3.92.1 |
Upgrades
@playwright/testfrom1.58.2to1.63.0in the root and templates, matchingmainand supporting the Ubuntu 26.04 runners introduced in #19015. With1.58.2, a browser cache hit can pass, but a cache miss fails to download Chromium; this surfaced in #16889.