Skip to content

ci: remove the emSign workarounds whose upstream condition is met - #339

Merged
JuroOravec merged 2 commits into
mainfrom
ci/remove-emsign-playwright-workarounds
Oct 24, 2026
Merged

JuroOravec merged 2 commits into
mainfrom
ci/remove-emsign-playwright-workarounds

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

Part of #258. This PR removes three of its six items. The other three are still waiting on upstream fixes; their status is below and in a comment on the issue.

Removed, with evidence

Item (#258) Removal condition Evidence
Playwright downloads use the system certificate list A Playwright release bundles Node.js 22.23.4, 24.22.1, 26.12.1, or later Playwright 1.64.1 (PyPI, 2026-10-22) bundles Node.js 24.22.1: playwright-python's NODE_VERSION file at v1.64.1, and the node binary inside the manylinux wheel reports v24.22.1. Version 1.64.0 bundled 24.21.0.
The drop-emsign-g3 action and its two inline copies The Playwright item is done The row above.
G3 checks in the VS Code publish Every maintained Node.js line ships without G3 Node.js 22.23.4 and 24.22.1 (2026-10-20) and 26.12.1 (2026-10-21) are on nodejs.org. 22, 24, and 26 are the maintained lines; 20 and 25 have ended.

What goes with them:

  • the NODE_OPTIONS/SSL_CERT_FILE settings on every playwright install;
  • PLAYWRIGHT_NODEJS_PATH in the agent-usage image;
  • the action directory and both inline copies;
  • the toolchain validator's Playwright and G3 checks and their tests;
  • the .github/actions/** path filters, which were added for the action;
  • the three node -e checks in the VS Code publish.

Every Playwright pin the issue lists moves to 1.64.1: uv.lock, the agent-usage requirements.lock, the exact pins in three workflows, the citry ext-preview and e2e minimums, the citry-ui dev groups, and the root social-cards extra. The NODE_VERSION pin stays. Its comment now says a new pin must be at least the first fixed release of its line.

Still waiting upstream (not removed)

Item Condition Current state
PIP_USE_DEPRECATED=legacy-certs ubuntu-24.04 ships ca-certificates 20260816ubuntu0.24.04.1 Image 20261012.334.1 still has 20260601~24.04.1. A job on 2026-10-24 logged Setting up ca-certificates (20260816ubuntu0.24.04.1), so the action still had to upgrade it.
PIP_WHEEL (pip 26.2.2 by URL) The jobs' Pythons bundle pip 26.2.2+ Python 3.10.22 bundles pip 23.0.1. After the 3.10 drop (#336), 3.11.17 bundles pip 24.0. Python 3.14.9 bundles 26.2.2.
The agent-usage image's pip and legacy-certs Debian bookworm ships fixed ca-certificates and pip 26.2.2+ Bookworm still has ca-certificates 20230311+deb12u1.

Deliberately left

  • The benchmark runners (benchmarks/web/runner, benchmarks/errors/runner) still pin Playwright 1.62.0. Moving them changes the browser behind the published benchmark numbers (Chromium 151 to 156), so the move belongs with the next benchmark run.
  • The docs release job loses the cleaned system list. Its gh and urllib calls use the runner's own list again, which still holds G3 until the image updates. The issue's removal condition covers this, and the files they fetch are checked against hashes.

Risks of the Playwright 1.62 to 1.64.1 bump

Evidence

  • An independent adversarial review re-fetched every upstream claim, including both Linux wheels' Node.js version, Node's node_root_certs.h at the three tags, the runner logs, and CPython's bundled pip. It also produced a separate prose pass. Its findings are folded in: the NODE_VERSION comment, the pip evidence, the path filters, the deferred items above, and the changelog wording.
  • Every non-cargo scripts/check.py --profile fast phase passed locally, including pytest, with one exception: docs-playground failed once on citry-regions.test.mjs ("the mixed Python tree publishes only authored template bodies"). It then passed 3 out of 3 reruns, so it looks flaky and unrelated to this change. The cargo phases are left to PR CI.
  • All workflow files still parse, and the toolchain validator tests pass.
  • Changelog: the citry ext-preview extra now needs Playwright 1.64.1. The entry tells users to rerun playwright install chromium after upgrading.

🤖 Generated with Claude Code

Part of #258. Three of its six items can now go:

- Playwright 1.64.1 (PyPI, 2026-10-22) bundles Node.js 24.22.1, which
  drops emSign ECC Root CA - G3 (G3): playwright-python's NODE_VERSION
  is 24.22.1 at v1.64.1, and the node binary in the Linux wheels reports
  v24.22.1. Every `playwright install` step drops its NODE_OPTIONS and
  SSL_CERT_FILE settings, and the agent-usage image drops
  PLAYWRIGHT_NODEJS_PATH. Every Playwright pin the issue lists moves to
  1.64.1: uv.lock, the agent-usage requirements.lock, the exact pins in
  py--tests.yml, py--citry-ui--publish.yml and py--examples--tests.yml,
  the minimums in citry's ext-preview extra and e2e group and in
  citry-ui's dev groups, and the root social-cards extra.
- With that item done, the drop-emsign-g3 action and its two inline
  copies have nothing left to protect, so they go, along with the
  toolchain validator's Playwright and G3 checks, their tests, and the
  `.github/actions/**` path filters added for the action.
- Node.js 22.23.4, 24.22.1 and 26.12.1 (released 2026-10-20 and
  2026-10-21) ship without G3, so every maintained Node.js line has a
  fixed release. The three `node -e` G3 checks in the VS Code publish
  workflow go; the NODE_VERSION pin stays, and its comment says a new
  pin must be at least the first fixed release of its line.

Deliberately left:

- The benchmark runners (benchmarks/web/runner, benchmarks/errors/runner)
  still pin Playwright 1.62.0. Moving them changes the browser behind the
  published benchmark numbers (Chromium 151 to 156), so it belongs with
  the next benchmark run.
- After the drop step goes, `gh` and urllib calls in the docs release job
  use the runner's list, which still holds G3 until the image updates.
  The issue's removal condition covers this; the downloads they fetch are
  checked against hashes.

Still waiting upstream:

- PIP_USE_DEPRECATED=legacy-certs: the ubuntu-24.04 image 20261012.334.1
  still ships ca-certificates 20260601~24.04.1 (a job on 2026-10-24
  upgraded it).
- PIP_WHEEL: the jobs use Python 3.10 and 3.14; 3.10.22 bundles pip
  23.0.1 (and 3.11.17, after the 3.10 drop, bundles 24.0). 3.14.9
  already bundles 26.2.2.
- The agent-usage image's pip and legacy-certs steps: Debian bookworm
  still has ca-certificates 20230311+deb12u1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit 72d569c into main Oct 24, 2026
4 of 8 checks passed
@JuroOravec
JuroOravec deleted the ci/remove-emsign-playwright-workarounds branch October 24, 2026 21:06
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