Skip to content

update UI deps and CI workflow#6186

Merged
Platane merged 8 commits intoquickwit-oss:mainfrom
Platane:cache-rust-ui-ci
Mar 2, 2026
Merged

update UI deps and CI workflow#6186
Platane merged 8 commits intoquickwit-oss:mainfrom
Platane:cache-rust-ui-ci

Conversation

@Platane
Copy link
Collaborator

@Platane Platane commented Mar 2, 2026

Summary

  • bump Js deps
  • replace cypress by playwright for e2e
  • refactor workflow:
    • run lint / type / test in the same workflow as there are fast task compare to the install step
    • keep e2e on a separated workflow (it's a long task since it requires a cargo build)
    • use shared-key on the rust cache to use the cache from the build workflow. Also align RUSTFLAGS to match the other build workflow

@Platane Platane marked this pull request as ready for review March 2, 2026 14:27
Platane and others added 8 commits March 2, 2026 15:39
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>
Align RUSTFLAGS in ui-ci.yml with ci.yml and add a shared-key to
Swatinem/rust-cache so both workflows reuse the same cached artifacts.
This avoids a cold Rust build in the UI e2e job when the main CI has
already built on the same branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Platane Platane force-pushed the cache-rust-ui-ci branch from 9119460 to 97f4559 Compare March 2, 2026 14:39
@Platane Platane changed the title Share Rust cache between CI and UI CI workflows update UI deps and CI workflow Mar 2, 2026
@Platane Platane merged commit abd8d8b into quickwit-oss:main Mar 2, 2026
6 checks 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.

2 participants