Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/scripts/flaky-check/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ async function runCommand(): Promise<number> {
entry.suite === "focused" && filters.length === 0
? ["--changed", capture(["git", "merge-base", "HEAD", `origin/${env("BASE_REF")}`])]
: filters;
if (entry.suite === "e2e") {
process.env.SUPABASE_GO_BINARY = join(process.cwd(), "apps/cli-go/supabase-go");
}
if (entry.suite === "e2e" && entry.target === "cli") {
// Matches test.yml, so concurrency-sensitive flakes show up here too.
process.env.SUPABASE_E2E_WORKERS = "4";
Expand Down
5 changes: 1 addition & 4 deletions .github/scripts/flaky-check/plan.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ describe("commandsFor", () => {
const invocations = commandsFor(entry("flaky-focused-run1"), 3, ["--changed", "abc123"]);

expect(invocations.map((i) => [i.reports, outputOf(i.argv)])).toEqual([
[
{ turbo: ["test:unit:run", "--filter=!@supabase/cli-go"], report: "unit.3" },
".flaky-results/unit.3.json",
],
[{ turbo: ["test:unit:run"], report: "unit.3" }, ".flaky-results/unit.3.json"],
[
{ turbo: ["test:integration:run", "--filter=!@supabase/api"], report: "integration.3" },
".flaky-results/integration.3.json",
Expand Down
7 changes: 1 addition & 6 deletions .github/scripts/flaky-check/plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,7 @@ function api(runtime: string[], project: string, report: string, extra: string[]
}

function unit(iteration: number, extra: string[]): Invocation[] {
return [
turbo(["test:unit:run", "--filter=!@supabase/cli-go"], `unit.${iteration}`, [
"--passWithNoTests",
...extra,
]),
];
return [turbo(["test:unit:run"], `unit.${iteration}`, ["--passWithNoTests", ...extra])];
}

// @supabase/api chains a Node and a Bun Vitest run in one script, and Turbo forwards arguments
Expand Down
Loading