Skip to content

ci(browser): install Playwright for local-provider smoke path#80

Merged
github-actions[bot] merged 1 commit intomainfrom
fix/browser-qa-playwright-install
Feb 24, 2026
Merged

ci(browser): install Playwright for local-provider smoke path#80
github-actions[bot] merged 1 commit intomainfrom
fix/browser-qa-playwright-install

Conversation

@anand-testcompare
Copy link
Collaborator

@anand-testcompare anand-testcompare commented Feb 24, 2026

Summary

  • cache Playwright browser binaries for browser QA jobs in CI and TUI release workflows
  • install Chromium when Browserbase credentials are not configured (local provider path)
  • keep Browserbase path unchanged when secrets are present

Why

The staged browser QA run currently fails on repositories/environments without Browserbase secrets because the local provider path did not install a browser executable.

Validation

  • bun x ultracite check
  • actionlint .github/workflows/ci.yml .github/workflows/tui-release.yml

Summary by CodeRabbit

  • Chores
    • Optimized CI/CD pipeline infrastructure for improved build efficiency.

@vercel
Copy link

vercel bot commented Feb 24, 2026

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

Project Deployment Actions Updated (UTC)
cable-intel-web Ready Ready Preview, Comment Feb 24, 2026 7:36pm

Request Review

@github-actions github-actions bot enabled auto-merge (squash) February 24, 2026 19:36
@coderabbitai
Copy link

coderabbitai bot commented Feb 24, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 58cf3c4 and dddaa47.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • .github/workflows/tui-release.yml

Walkthrough

CI workflow files (.github/workflows/) receive conditional Playwright browser caching and installation steps that activate when Browserbase API credentials are absent. The browser binaries are cached with keys derived from bun lock files and package manifests.

Changes

Cohort / File(s) Summary
GitHub Actions CI Workflows
.github/workflows/ci.yml, .github/workflows/tui-release.yml
Added conditional Playwright browser cache and installation steps for local provider (Chromium). Steps execute when BROWSERBASE_API_KEY or BROWSERBASE_PROJECT_ID are empty, caching ~/.cache/ms-playwright with keys derived from bun.lock, bun.lockb, and package.json files.

Poem

🐰 A cache for browsers, swift and bright,
When Browserbase sleeps through the night,
We cache our Playwright, lock and key,
CI runs faster, happy as can be!
Hopping through workflows with playwright delight! 🏃‍♂️✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/browser-qa-playwright-install

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot merged commit 0867db0 into main Feb 24, 2026
5 of 6 checks passed
@github-actions
Copy link
Contributor

Browser QA (agent-browser)

  • Screenshots artifact: browser-qa
  • Browserbase replay: unavailable

@anand-testcompare anand-testcompare deleted the fix/browser-qa-playwright-install branch February 24, 2026 19:44
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