test(repo): CI & docker caching optimizations, nx-aware infra, reliability fixes#2143
test(repo): CI & docker caching optimizations, nx-aware infra, reliability fixes#2143
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Cache: Disabled due to Reviews > Disable Cache setting Disabled knowledge base sources:
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughThis PR restructures the CI pipeline in Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@supabase/auth-js
@supabase/functions-js
@supabase/postgrest-js
@supabase/realtime-js
@supabase/storage-js
@supabase/supabase-js
commit: |
9b1d91b to
fa0bf3a
Compare
Description
This PR introduces a series of test infrastructure optimizations and quality-of-life improvements across the Supabase JS monorepo, with a strong focus on performance, reliability, and developer experience:
CI/CD & Workflow Optimizations
.github/workflows/ci-core.ymlto introduce targeted, package-level affected tracking. Downstream, Docker/infra-heavy jobs now only run if their respective packages are actually changed, significantly reducing unnecessary build time.actions/cache, avoiding repeated downloads and cold starts..github/workflows/integration-tests.ymlfor faster integration test setup.Monorepo / Nx Configuration
project.jsonforfunctions-js.Docker & Health Checks
auth-jsto use healthchecks, ensuring dependent services only start when Postgres is healthy. This speeds up and stabilizes startup, and enablesdocker compose up -d --waitfor less fragile local/CI test runs.SDK/Code Improvements
StorageFileApi.ts, ensures image transformation signed URLs always hit the/render/image/sign/endpoint, regardless of storage API version.Dependency Bumps
Rationale
These changes collectively speed up CI, reduce infra flakiness, improve local reproducibility, and lay groundwork for even finer-grained Nx-based affected/parallel testing in the future.