Repository navigation
Description
#253 and #256 added several workarounds for the eMudhra (emSign) certificate incident. Each one exists because a tool or system we don't control still trusts the "emSign ECC Root CA - G3" root (called G3 below). Once that tool or system is fixed, the workaround only adds code and checks we no longer need, so it should go.
This issue lists each workaround, what to delete with it, and when it can be removed. Tick an item when its PR merges, and close the issue when every item is ticked.
These changes from the same PRs are permanent: exact uv and action pins, prune-cache: true, hash-locked build backends, and the Open VSX client in the lock file. When a new version comes out we raise those pins; we don't remove them.
Workarounds to remove
- Playwright downloads use the system certificate list. Playwright's bundled Node.js still trusts G3, so each
playwright installstep setsNODE_OPTIONS=--use-openssl-caandSSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt. These make it use the runner's system list instead. The steps are inpy--tests.yml,py--tests-cross-browser.yml,py--examples--tests.yml,py--citry-ui--publish.yml,repo--docs-check.yml,repo--docs-deploy.yml, andrepo--docs-release.yml. The agent-usage image (benchmarks/agent_usage/image/Dockerfile) gets the same fix withPLAYWRIGHT_NODEJS_PATH=/usr/local/bin/node.- Remove when a Playwright release bundles Node.js 22.23.4, 24.22.1, 26.12.1, or later. In the same PR, update every Playwright version to that release:
uv.lock;benchmarks/agent_usage/image/requirements.lock;- the exact
playwright==pins inpy--tests.yml,py--citry-ui--publish.yml, andpy--examples--tests.yml; - the
playwright>=minimums inpackages/py/citry/pyproject.toml(now>=1.62.0) andpackages/py/citry_ui/pyproject.toml(now>=1.49); - the unpinned
playwrightin the rootpyproject.tomldocs extra.
- Also delete the Playwright checks in
scripts/validators/toolchain.py:_playwright_errors,_playwright_install_lines,_command_lines,_SYSTEM_CA_FILE, and the part of thepinned_action_errorsdocstring that describes them. Delete their tests inpackages/py/citry/tests/test_toolchain_validator.pytoo.
- Remove when a Playwright release bundles Node.js 22.23.4, 24.22.1, 26.12.1, or later. In the same PR, update every Playwright version to that release:
- Updating the runner's system certificate list. The
.github/actions/drop-emsign-g3action upgradesca-certificateswhen the runner still has G3, and fails the job if G3 remains. Two jobs don't check out the repo, so they run an inline copy of the same commands instead:citry-ui-wheel-browserinpy--tests.ymlandsmoke-browserinpy--citry-ui--publish.yml. The validator (_DROP_G3_ACTION,_g3_check) requires one of these to run before everyplaywright install.-
The action exists only for the Playwright steps above. Remove when either of these is true:
- the Playwright item is done; or
- GitHub's
ubuntu-24.04runner image shipsca-certificates20260816ubuntu0.24.04.1 or newer.
To check the runner image, search a recent job log for
Setting up ca-certificates. If the line no longer appears, the action has nothing left to fix. On 2026-10-22 the image still had an older version, so at least one job upgraded the package. -
Also delete the action directory, the two inline copies, the validator code above, and its tests (
test_a_missing_drop_action_fails_every_playwright_install, the drop-step cases, and the fixture line that copies.github/actions, if nothing else needs it).
-
-
PIP_USE_DEPRECATED=legacy-certsin CI.py--tests.ymlandvscode--citry--publish.ymlset it after upgrading pip, so pip uses only certifi and skips the runner's system list.- Remove when GitHub's
ubuntu-24.04runner image ships the fixedca-certificates(the same check as above). A later pip will reject this option, so also remove it before we raisePIP_WHEEL. - Also delete the
unset PIP_USE_DEPRECATEDline and its comment inpy--tests.yml, and reword theenv:comments that explain the option in both workflows.
- Remove when GitHub's
- Installing pip 26.2.2 from a URL with a checksum.
PIP_WHEELinpy--tests.ymlandvscode--citry--publish.ymlupgrades pip before the job downloads anything else.- Remove when the Python versions these jobs install with
setup-python(3.10 and 3.14) come with pip 26.2.2 or later. Python 3.14.9 bundles it. 3.10 may never get it, so this item may last until we stop testing 3.10.
- Remove when the Python versions these jobs install with
- The agent-usage image.
benchmarks/agent_usage/image/Dockerfileinstalls pip 26.2.2 from a URL with a checksum, then setsPIP_USE_DEPRECATED=legacy-certson itspip installline.- Remove when the image's Debian bookworm base ships a
ca-certificateswithout G3 (forlegacy-certs) and pip 26.2.2 or later (for the pip install). As of 2026-10-22 Debian had no fix. Also reword the G3 comment at the top of the Dockerfile.
- Remove when the image's Debian bookworm base ships a
- G3 checks in the VS Code publish.
vscode--citry--publish.ymlhas threenode -esteps that fail when the installed Node.js still trusts G3. They guard theNODE_VERSIONpin given tosetup-node, not Playwright.- Remove when we no longer want a guard against someone pinning an older Node.js. A reasonable point is once every maintained Node.js line ships without G3. Keep the
NODE_VERSIONpin itself, and reword its G3 comment.
- Remove when we no longer want a guard against someone pinning an older Node.js. A reasonable point is once every maintained Node.js line ships without G3. Keep the
Not ours to remove
- The GitHub actions that download Python, Node.js, and pnpm (
setup-python,setup-node,pnpm/action-setup) run on the runner's own Node.js. It trusts G3 until GitHub ships a runner with Node.js 24.22.1 or later. There is nothing in the repo to remove; the blog post mentions it. PyO3/maturin-actioninpy--citry-core--publish.ymldownloads maturin without checking a checksum. Replacing it is a permanent change, not a workaround, so it belongs in its own issue.
🤖 Generated with Claude Code
Activity
JuroOravec commentedon Oct 24, 2026
Status check on 2026-10-24. #339 removes the three items whose condition is met.
Met, removed in #339
NODE_VERSIONfile atv1.64.1, and the wheel'snodebinary reportsv24.22.1.drop-emsign-g3action. It follows from the Playwright item.Not met yet
PIP_USE_DEPRECATED=legacy-certs. Theubuntu-24.04runner image 20261012.334.1 still ships ca-certificates20260601~24.04.1. A job on 2026-10-24 still upgraded it to20260816ubuntu0.24.04.1. Image 20261023.334.3 is in pre-release, and I could not see its ca-certificates version.PIP_WHEEL. Python 3.10.22 bundles pip 23.0.1. Once chore: drop Python 3.10 support #336 drops 3.10, the jobs move to 3.11, and 3.11.17 bundles pip 24.0, which is also too old. 3.14.9 already bundles 26.2.2. So this item stays until the jobs only use a Python that bundles pip 26.2.2 or later.20230311+deb12u1.Deferred on purpose
benchmarks/web/runnerandbenchmarks/errors/runnerstill pin Playwright 1.62.0. Moving them changes the benchmark browser (Chromium 151 to 156), so the move should come with the next benchmark run.