From e0a99d7d6326a4d6965dcc70cb750bc98df173c2 Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Tue, 19 May 2026 23:57:25 +0200 Subject: [PATCH] fix(ci): remove --no-pub from integration tests; use dart analyze instead of flutter analyze MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Integration tests build native Linux app via CMake which requires pub get side effects (plugin registrant file generation) — --no-pub broke the CMake step. Switch flutter analyze to dart analyze --fatal-infos to eliminate the flutter wrapper's non-deterministic state writes to /root/.dartServer/, which were preventing action cache hits on the analyze step. Co-Authored-By: Claude Sonnet 4.6 --- ci/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/main.go b/ci/main.go index 3289303..c7e0a63 100644 --- a/ci/main.go +++ b/ci/main.go @@ -377,7 +377,7 @@ func (m *Ci) TestBackend(ctx context.Context) (string, error) { func (m *Ci) TestIntegration(ctx context.Context) (string, error) { return m.WithStalwart(m.setup(m.integrationSrc())). WithEnvVariable("LIBGL_ALWAYS_SOFTWARE", "1"). - WithExec([]string{"xvfb-run", "-s", "-screen 0 1280x720x24", "flutter", "test", "--no-pub", "integration_test/", "-d", "linux"}). + WithExec([]string{"xvfb-run", "-s", "-screen 0 1280x720x24", "flutter", "test", "integration_test/", "-d", "linux"}). Stdout(ctx) } @@ -403,7 +403,7 @@ func (m *Ci) Check(ctx context.Context) (string, error) { return "Format check failed", err } - analyze, err := checkSetup.WithExec([]string{"flutter", "analyze", "--no-pub"}).Stdout(ctx) + analyze, err := checkSetup.WithExec([]string{"dart", "analyze", "--fatal-infos"}).Stdout(ctx) if err != nil { return analyze, err }