Repository navigation
Conversation
The Test step runs the whole suite and takes about 3m49s of the test job's 11m04s, while the job's other steps take about 6 minutes. Move it and the Vet step into a job of their own, with the same setup, so the two halves overlap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 tasks
Contributor
Author
|
Correction to the expected wall clock: after both splits the longest job is |
This branch has not been deployed
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.
Summary
The
testjob takes 11m04s, and 3m49s of that is one step:go tool nsgo test -- -timeout=20m, which runs the whole suite in one process. The job's other steps take about 6 minutes. Move that step and theVetstep into atest-suitejob with the same setup, so the two halves overlap.Expected:
testabout 6m30s andtest-suiteabout 6m30s. This pull request needs #2320 to show a fall in the workflow's wall clock: on its own the longest job staysapple.Fixes #2319.
Targets
core,base,ui,tsx, thensgotool)Screenshots
None; nothing visible changes.
Verification
actionlint .github/workflows/test.ymlpasses.No step is lost:
testgoes from 36 steps to 34, andtest-suiteholds the movedVetandTeststeps plus checkout, Go, Java, the native dependencies, the WebKit sandbox profile and the virtual audio output. The movedTeststep keeps its environment unchanged.The two jobs install the native dependencies separately, which costs about 1m25 each; that is the price of running them beside each other.
Not run here: the two jobs' wall clocks, which this pull request's run reports.
go tool nsgo checkgo tool nsgo testgo tool nsgo test -target <target>on the targets aboveChecklist
fix(linux): keep the caret after a paste; a squash merge uses it as the commit subject.changelog.d/fragment, not inCHANGELOG.md. No documented facts change.🤖 Generated with Claude Code