Skip to content

ci: parallelize resilience profiles, worker-takeover and database suites - #30

Open
Kzoeps wants to merge 1 commit into
mainfrom
ci/faster-checks
Open

Kzoeps wants to merge 1 commit into
mainfrom
ci/faster-checks

Conversation

@Kzoeps

@Kzoeps Kzoeps commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Problem

CI takes about 13 minutes. The three resilience profiles run one after another in one job, worker-takeover waits out a real 120s lease with nothing else running, and the databases job runs its two suites serially and builds a second sandbox.

Fix

  • Each resilience profile is its own matrix job (profiles (<profile>)). profiles (assert all receipts) downloads the receipts and runs assert-resilience-profiles. The required profiles check is replaced by these four names.
  • worker-takeover runs beside journey and cross-node-signin, before any fault step. The 120s lease is unchanged.
  • SQLite and PostgreSQL contract suites run concurrently. The PostgreSQL restart/restore profile reuses the databases job sandbox (POSTGRESQL_PROFILE_REUSE_SANDBOX=1).

- Run each deployment profile as its own matrix job; fan-in job runs assert-resilience-profiles on the uploaded receipts.
- Run worker-takeover beside journey and cross-node-signin (default 120s lease kept).
- Run the SQLite and PostgreSQL contract suites concurrently; the PostgreSQL restart/restore profile reuses the databases job sandbox.
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a8f0e6a6-d1b5-4626-a4f4-6184f05ddeec
Commits

Reviewing files that changed from the base of the PR and between 7caff72 and ce37644.

Files selected for processing: 5

  • .github/workflows/ci.yml
  • docs/testing.md
  • tests/local.sh
  • tests/support/run-postgresql-profile.sh
  • tests/support/run-resilience-profile.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@sonarqubecloud

Copy link
Copy Markdown

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