Skip to content

fix: resolve chromedriver download by Chromium build line#191

Merged
sjmiller609 merged 4 commits intomainfrom
codex/fix-chromedriver-build-lookup
Mar 26, 2026
Merged

fix: resolve chromedriver download by Chromium build line#191
sjmiller609 merged 4 commits intomainfrom
codex/fix-chromedriver-build-lookup

Conversation

@sjmiller609
Copy link
Copy Markdown
Contributor

@sjmiller609 sjmiller609 commented Mar 26, 2026

Summary

  • keep the Chrome for Testing download source unchanged
  • resolve the latest published ChromeDriver patch for the installed Chromium build line before downloading
  • avoid CI failures when the exact Chromium patch is not published in Chrome for Testing

Validation

  • DOCKER_BUILDKIT=1 docker build -f images/chromium-headless/image/Dockerfile -t kernel-headless-test .
  • DOCKER_BUILDKIT=1 docker build -f images/chromium-headful/Dockerfile -t kernel-headful-test .

Note

Medium Risk
Medium risk because it changes the browser-driver pairing in the runtime images and could introduce Chromium/ChromeDriver incompatibilities despite improving build reliability.

Overview
Updates both images/chromium-headful/Dockerfile and images/chromium-headless/image/Dockerfile to stop deriving ChromeDriver from chromium --version and instead download a separately pinned CHROMEDRIVER_VERSION.

This makes the Chrome for Testing download deterministic and avoids CI/build breakages when the exact Chromium patch version doesn’t exist upstream.

Written by Cursor Bugbot for commit b6ca9cb. This will update automatically on new commits. Configure here.

@sjmiller609 sjmiller609 marked this pull request as ready for review March 26, 2026 17:37
@sjmiller609 sjmiller609 requested a review from hiroTamada March 26, 2026 17:45
@sjmiller609 sjmiller609 merged commit 033ec7d into main Mar 26, 2026
5 checks passed
@sjmiller609 sjmiller609 deleted the codex/fix-chromedriver-build-lookup branch March 26, 2026 18:12
AbdulRashidReshamwala added a commit to reclaimprotocol/popcorn-images that referenced this pull request Mar 27, 2026
Resolved conflicts keeping both Reclaim-specific features and upstream improvements:

- config.go: Kept TEE configuration (TEEKUrl, TEETUrl, AttestorUrl)
- openapi.yaml: Kept /reclaim/prove endpoint and ReclaimProve* schemas
- go.mod: Kept all Reclaim TEE dependencies and updated to latest versions
- log.ts: Kept OpenTelemetry logging wrapper around base loggers
- proxy.go: Adopted upstream's improved CDP reconnection logic with dialUpstreamWithRetry
- Dockerfiles: Hybrid approach - auto-detect ChromeDriver version with override option

Key upstream improvements integrated:
- CDP proxy reconnection on Chromium restart (kernel#189, kernel#191)
- Improved fonts support (kernel#165)
- Better error handling in devtools proxy
- Updated dependency versions

All conflicts resolved, go.sum regenerated, oapi.go regenerated.
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.

2 participants