Skip to content

ci: run the supabase_flutter web tests in their own job and detect affected packages without Flutter - #2244

Merged
spydon merged 1 commit into
mainfrom
lukasklingsbo/sdk-3299-ci-faster-test-workflow
Dec 2, 2026
Merged

spydon merged 1 commit into
mainfrom
lukasklingsbo/sdk-3299-ci-faster-test-workflow

Conversation

@spydon

@spydon spydon commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Shortens the Test workflow. Fixes SDK-3299.

  • Web tests of supabase_flutter run in their own job instead of after the unit tests in "Flutter Latest on ubuntu-latest", the usually longest job.
  • "Detect affected packages" (Test and Build) installs only Dart. Melos stays in Dart when the global version matches pubspec.lock and the lock file is newer than pubspec.yaml, so the step activates the locked version and touches the lock file.

Summary by CodeRabbit

  • Chores
    • Updated automated checks and added coverage for Flutter web tests. These changes affect the project’s development and verification workflows; no end-user-facing app changes are included.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The build and test workflows now use Dart and the locked Melos version for package detection. The test workflow adds a separate Chrome test job for affected supabase_flutter packages and includes it in the final test-result dependencies.

Changes: CI Workflow Updates

Layer / File(s) Summary
Package detection setup
.github/workflows/build.yml, .github/workflows/test.yml
The package detection jobs set up Dart instead of Flutter, activate the Melos version recorded in pubspec.lock, and touch the lockfile.
Flutter web test job
.github/workflows/test.yml
A separate job runs Flutter tests on Chrome for affected supabase_flutter packages. The test-result job now depends on it.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to 8d833

This change only restructures CI workflows to shorten test runtime by moving the web tests into their own job. No concrete merge-blocking risk was identified, and a CI run will confirm the behavior.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names two changes that match the changeset: the supabase_flutter web tests move into their own job in test.yml, and affected-package detection now sets up Dart instead of Flutter in both bui…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names two changes that match the changeset: the supabase_flutter web tests move into their own job in test.yml, and affected-package detection now sets up Dart instead of Flutter in both build.yml and test.yml. It is long (100 characters, 16 words), but it describes the main changes accurately and is not vague.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8209d9e and 8d83392.

Files selected for processing: 2

  • .github/workflows/build.yml
  • .github/workflows/test.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@spydon
spydon merged commit 90d19a4 into main Dec 2, 2026
54 checks passed
@spydon
spydon deleted the lukasklingsbo/sdk-3299-ci-faster-test-workflow branch December 2, 2026 15:39
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