Skip to content

Refactor UI CI: replace matrix with dedicated jobs#6183

Closed
Platane wants to merge 7 commits intoquickwit-oss:mainfrom
Platane:refactor-ui-ci
Closed

Refactor UI CI: replace matrix with dedicated jobs#6183
Platane wants to merge 7 commits intoquickwit-oss:mainfrom
Platane:refactor-ui-ci

Conversation

@Platane
Copy link
Collaborator

@Platane Platane commented Mar 2, 2026

Summary

  • Split the single matrix job into two explicit jobs: checks (lint + type + test) and e2e (Playwright)
  • The checks job no longer spins up Postgres or installs Rust — just Node + yarn
  • Each e2e step is explicit (build UI, build Quickwit, run tests) for better visibility

Stacked on #6182 and #6181.

Test plan

  • checks job passes (lint, type check, unit tests)
  • e2e job passes (Playwright tests against running Quickwit)

🤖 Generated with Claude Code

Supersedes #6177

Platane and others added 7 commits March 2, 2026 11:15
The automatic JSX transform doesn't require importing React. These
unused imports cause biome lint errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bump minor/patch versions:
- @babel/core 7.28.5 → 7.29.0
- @biomejs/biome 2.3.5 → 2.4.4
- @mui/* 7.3.5 → 7.3.8, x-charts/x-date-pickers 8.18.0 → 8.27.x
- react/react-dom 19.2.0 → 19.2.4
- react-router 7.12.0 → 7.13.1
- vite 7.2.2 → 7.3.1
- monaco-editor 0.54.0 → 0.55.1
- dayjs 1.11.7 → 1.11.19
- swagger-ui-react 5.30.2 → 5.32.0
- dompurify (resolution) 3.2.4 → 3.3.1
- and other minor bumps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add apt-get update before installing protobuf-compiler to avoid
404 errors from stale package mirrors on GitHub Actions runners.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
react-monaco-editor was never imported (project uses @monaco-editor/react).
web-vitals and reportWebVitals.ts were dead CRA boilerplate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace Cypress with @playwright/test
- Create playwright.config.ts with Chromium + baseURL
- Translate 3 existing tests + add search page test
- Use --only-shell for lighter Chromium install in CI
- Exclude e2e/ from Jest via testPathIgnorePatterns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Split the matrix-based workflow into two explicit jobs:
- `checks`: lint, type check, unit tests (Node-only, no Rust/Postgres)
- `e2e`: Playwright tests (with Rust build, Postgres, Chromium)

This avoids spinning up Postgres and installing Rust for the
lint/type/test jobs that don't need them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Platane Platane closed this Mar 2, 2026
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