Skip to content

ci: pin to chrome/driver 145#1291

Merged
straker merged 5 commits into
developfrom
chrome-145
Mar 9, 2026
Merged

ci: pin to chrome/driver 145#1291
straker merged 5 commits into
developfrom
chrome-145

Conversation

@straker
Copy link
Copy Markdown
Contributor

@straker straker commented Mar 4, 2026

It appears chrome/driver v146 has issues and is consistently crashing or failing to create a session in our webdriverjs & cli tests (which uses webdriverjs). Trying to figure out the problem didn't result in figuring out what went wrong so I'm just pinning to v145 which still passes the tests. Hopefully this will be resolved in future versions, but I'll create a tech-debt ticket to look back at this.

This also brings in @Garbee changes to fix the lockfile as both problems are blocking tests.

No QA required

@straker straker marked this pull request as ready for review March 4, 2026 22:10
@straker straker requested a review from a team as a code owner March 4, 2026 22:10
@straker straker requested a review from chutchins25 March 4, 2026 22:10
@Garbee
Copy link
Copy Markdown
Member

Garbee commented Mar 5, 2026

I wonder if the 146 thing is because an older Chrome is on the runner images. Might be Chrome's control API had a breaking change and you need to update in lockstep.

One more reason we need to refactor all the CI eventually to use browser-actions/setup-chrome where we don't use containers to run CI in. That action keeps the browser and driver in sync, regardless of what is on he host box.

@straker
Copy link
Copy Markdown
Contributor Author

straker commented Mar 5, 2026

browser-driver-manager keeps things in lockstep by using puppeteer/browser and chrome for testing, so I'm not sure that would be the problem.

dylanb pushed a commit to dequelabs/axe-core that referenced this pull request Mar 7, 2026
Similar to our fix in
[axe-core-npm](dequelabs/axe-core-npm#1291) this
pins chrome/driver to v145 in order to fix the failing tests due to
chromedriver crashing or failing to create a session. It also fixes the
memory issue in #5018 and
adds some chrome options that are good for ci usage. I also created a
tech debt ticket to track the pin.

See
https://github.com/dequelabs/axe-core/actions/runs/22737133182?pr=5026
that it shows 10 successful runs.

Closes: #501
dylanb pushed a commit to dequelabs/axe-core that referenced this pull request Mar 7, 2026
Similar to our fix in
[axe-core-npm](dequelabs/axe-core-npm#1291) this
pins chrome/driver to v145 in order to fix the failing tests due to
chromedriver crashing or failing to create a session. It also fixes the
memory issue in #5018 and
adds some chrome options that are good for ci usage. I also created a
tech debt ticket to track the pin.

See
https://github.com/dequelabs/axe-core/actions/runs/22737133182?pr=5026
that it shows 10 successful runs.

Closes: #501
Copy link
Copy Markdown

@chutchins25 chutchins25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! A nice, small change!

@straker straker merged commit fe1cdbd into develop Mar 9, 2026
38 checks passed
@straker straker deleted the chrome-145 branch March 9, 2026 14:03
WilcoFiers pushed a commit to dequelabs/axe-core that referenced this pull request Mar 30, 2026
Similar to our fix in
[axe-core-npm](dequelabs/axe-core-npm#1291) this
pins chrome/driver to v145 in order to fix the failing tests due to
chromedriver crashing or failing to create a session. It also fixes the
memory issue in #5018 and
adds some chrome options that are good for ci usage. I also created a
tech debt ticket to track the pin.

See
https://github.com/dequelabs/axe-core/actions/runs/22737133182?pr=5026
that it shows 10 successful runs.

Closes: #501
straker added a commit to dequelabs/axe-core that referenced this pull request Mar 30, 2026
Similar to our fix in
[axe-core-npm](dequelabs/axe-core-npm#1291) this
pins chrome/driver to v145 in order to fix the failing tests due to
chromedriver crashing or failing to create a session. It also fixes the
memory issue in #5018 and
adds some chrome options that are good for ci usage. I also created a
tech debt ticket to track the pin.

See
https://github.com/dequelabs/axe-core/actions/runs/22737133182?pr=5026
that it shows 10 successful runs.

Closes: #501
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.

3 participants