Repository navigation
ci(acceptance): Start devservices before the node toolchain - #131841
Merged
Merged
Conversation
Pulling and starting devservices is the critical path of each shard's setup. It started only after setup-node-toolchain and the first steps of setup-sentry, about 12s into the job. It needs only uv and the checkout, so start it right after the checkout. devservices-bg.py start now does nothing when an earlier step already started it, so setup-sentry just waits for it. Refs DI-2885 Co-Authored-By: Joshua Li <[email protected]>
joshuarli
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Waiting for devservices is the critical path of each acceptance shard's setup: webpack finishes first and then waits for it. devservices started inside the background "Setup sentry env" step. That step can only start after
setup-node-toolchain(see #127566), so devservices started about 15s into the job.devservices upneeds only uv and the checkout. This PR:devservices-bg.py startright after the checkout, about 7s into the jobdevservices-bg.py startdo nothing when an earlier step already started it, so setup-sentry just waits for itDEVSERVICES_MODEImpact: setup (job start to the pytest step) drops from about 99s to 93s at p50, and the max from 113s to 100s. The image pulls now overlap the node toolchain, which makes the toolchain about 8s slower, so the net gain is about 6s per shard.
Left out:
Refs DI-2885
via @joshuarli, michael.
--
View Session [Sentry]