Skip to content

ci(ui-test): report one required check for all shards - #99

Closed
BartvHelvert wants to merge 1 commit into
masterfrom
ci/ui-test-gate
Closed

BartvHelvert wants to merge 1 commit into
masterfrom
ci/ui-test-gate

Conversation

@BartvHelvert

Copy link
Copy Markdown
Owner

What this changes

Adds a Split-mode UI tests job that waits for all UI test shards and fails unless they all succeeded. Required checks are matched by name. Since the UI tests were split into Split-mode UI tests (<os>, <shard>/2) jobs, the ruleset's Split-mode UI tests (<os>) checks never reported, and every PR stayed at "Waiting for status to be reported". The new job reports under one name, whatever the shard count.

The master ruleset is changed to require Split-mode UI tests in place of the two per-OS names.

Fixes #98

How it was tested

  • The workflow parses as YAML with the new ui-test-result job.
  • This PR's own CI run is the end-to-end check: the new job should report and satisfy the updated ruleset.
  • No Gradle tests run: the change is CI-only.

Checklist

  • Nothing is special-cased for one extension.
  • A new feature has a UI test.
  • No internal, override-only, obsolete or deprecated platform API.
  • docs/ is updated where behaviour changed, docs/status.md especially.
  • Third-party material keeps its notice and is listed in NOTICE.md.

Splitting the UI tests over two runners per OS renamed their jobs to
"Split-mode UI tests (<os>, <shard>/2)", while the master ruleset still
requires "Split-mode UI tests (<os>)". Required checks are matched by
name, so those two never reported and every PR stayed blocked.

A job named "Split-mode UI tests" now waits for all shards and fails
unless they all succeeded, so the ruleset can require one name that
doesn't change with the shard count.

Refs #98
@BartvHelvert

Copy link
Copy Markdown
Owner Author

Decided to decline this, just adding the shards as required in the rule check.

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.

Required split-mode UI test checks never report after sharding

1 participant