Skip to content

Add reusable workflows: Playwright E2E, prek permissions fix, ready-to-merge gate#8

Merged
KRRT7 merged 7 commits intomainfrom
add-e2e-playwright-workflow
May 7, 2026
Merged

Add reusable workflows: Playwright E2E, prek permissions fix, ready-to-merge gate#8
KRRT7 merged 7 commits intomainfrom
add-e2e-playwright-workflow

Conversation

@KRRT7
Copy link
Copy Markdown
Collaborator

@KRRT7 KRRT7 commented May 7, 2026

Summary

  • Add reusable Playwright E2E workflow (ci-e2e-playwright.yml) with Docker container, matrix browsers, and configurable inputs
  • Fix prek-lint permissions: contents: writecontents: read (was causing startup_failure for callers with restricted permissions)
  • Update ready-to-merge to accept a result input so callers can gate on upstream CI jobs
  • Set UV_LINK_MODE=copy for container jobs (Docker filesystems don't support hardlinks)
  • Use shell: bash for parameter expansion in test command
  • Make playwright-version optional with a default

Test plan

  • Playwright E2E workflow tested via codeflash-agent PR #335 (all 3 browsers pass)
  • Prek reusable workflow tested via codeflash-agent PR #335 (no more startup_failure)
  • ready-to-merge gate tested via codeflash-agent PR #335 (reports ready / ready)

KRRT7 and others added 6 commits May 7, 2026 06:06
Callers shouldn't need to pin a version — default to latest
stable and let them override only when needed.
The Playwright container defaults to sh (dash) which doesn't
support ${var/pattern/replacement}. Explicit shell: bash fixes it.
Docker container filesystems don't support hardlinks between the
UV cache and workspace. Suppress the warning and avoid the fallback
penalty by setting copy mode explicitly.
Callers pass result: success/failure based on their needs.
This lets the reusable workflow be used as a terminal gate job.
@KRRT7 KRRT7 changed the title Add reusable Playwright E2E workflow Add reusable workflows: Playwright E2E, prek permissions fix, ready-to-merge gate May 7, 2026
@KRRT7 KRRT7 marked this pull request as ready for review May 7, 2026 11:50
@KRRT7 KRRT7 merged commit d8fbfa6 into main May 7, 2026
1 check passed
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