Skip to content

DRAFT: NO_REF / Add slow-flag to media-asset check that consistently has to retry in CI#528

Draft
jbdalton wants to merge 15 commits intoqafrom
no_ref/increase-tries-for-slow-media-test-CI
Draft

DRAFT: NO_REF / Add slow-flag to media-asset check that consistently has to retry in CI#528
jbdalton wants to merge 15 commits intoqafrom
no_ref/increase-tries-for-slow-media-test-CI

Conversation

@jbdalton
Copy link
Copy Markdown
Member

Ticket:

This PR does the following:

Noticed one of the test-blocks in the check-media spec consistently has to re-run on CI, or even fails outright the first time, then works on a hard, manual kick.

Adding playwright's test(slow); flag to the offending block, to see if this increases the chance of the retry being successful when running the whole suite.

Open questions

How has this been tested? How should a reviewer test this?

Testing will mainly be checked in the CI itself, since various flags can be added locally to the cmd-line etc to try out various retry strategies for slow or flakey test scenarios.

This approach, test(slow);, is at least file-specific, and doesn't mess with existing global CI settings. It's worked as expected on my localhost when running the whole suite at the --workers=2 setting. Which is to say it pauses the offending block long enough, it seems, that the inevitable retry has been successful on localhost.

Accessibility concerns or updates

Checklist:

  • I have added relevant accessibility documentation for this pull request.
  • All new and existing tests passed.
  • I have updated the CHANGELOG.md.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
digital-collections Ready Ready Preview, Comment Mar 7, 2026 0:30am

Request Review

@jbdalton jbdalton force-pushed the no_ref/increase-tries-for-slow-media-test-CI branch from 8865c6f to e55388f Compare March 7, 2026 00:29
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.

1 participant