Skip to content

ci(playwright): run the test specs in parallel jobs - #9108

Open
szaimen wants to merge 5 commits into
mainfrom
playwright-parallel
Open

szaimen wants to merge 5 commits into
mainfrom
playwright-parallel

Conversation

@szaimen

@szaimen szaimen commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The PR was tested and verified that it works locally
  • Or will be tested after merge on a dedicated test instance (available for maintainers)
  • Sign-off message is added to all commits
  • Tests (playwright if possible) are included
  • Screenshots before/after for front-end changes
  • Documentation has been updated or is not required
  • Labels added where applicable (ex: bug/enhancement, 3. to review, feature component)
  • Milestone next added

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@szaimen szaimen added this to the next milestone Nov 25, 2026
@szaimen szaimen added 2. developing Work in progress enhancement New feature or request labels Nov 25, 2026
szaimen and others added 4 commits November 25, 2026 11:31
The specs ran one after another in a single job, which took about 13.5 minutes.
AIO uses fixed container names, so only one instance can run per Docker host,
but separate runners can. The restore test needs the backup created by the
initial setup test, so these two stay together in one job.

Each job now also uploads its own report; before, every run overwrote the
report of the previous spec.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Building the composer image compiled APCu on every cold run, only to satisfy
the platform requirement in composer.json; installing the dependencies does
not need the extension.

The mastercontainer's healthcheck runs every 30 seconds, so every test run
waited at least that long. The tests now use a check that runs every 2 seconds
and waits for the interface and PHP to be up, which the image's check does not
do as long as no configuration exists.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
With one job per spec, most jobs waited for a free runner, so the slowest job
often started last and the run took longer than before. Two jobs need fewer
runners and pull the images less often; the second job still finishes before
the initial setup and restore job.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Since the mastercontainer reports healthy within seconds, the test runner
image pull started after it was the slowest part of starting the tests.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@szaimen
szaimen force-pushed the playwright-parallel branch from 906198d to c0bfd51 Compare November 25, 2026 10:31
…e others"

Pulling all images up front changes how the test environment is set up, not
only how fast it starts.

This reverts commit c0bfd51.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@szaimen szaimen added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Nov 25, 2026
@szaimen
szaimen requested a review from pabzm November 25, 2026 11:49
@szaimen

szaimen commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

@pabzm WDYT about this idea?

@szaimen
szaimen marked this pull request as ready for review November 25, 2026 14:42
@szaimen szaimen modified the milestones: v15.2.0, next Nov 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant