Skip to content

test(cli): cover multiline function env across restarts (CLI-3131) - #7637

Merged
7ttp merged 3 commits into
developfrom
7ttp/7607-followup-tests
Nov 16, 2026
Merged

7ttp merged 3 commits into
developfrom
7ttp/7607-followup-tests

Conversation

@7ttp

@7ttp 7ttp commented Nov 16, 2026

Copy link
Copy Markdown
Member

TL;DR

adds a real docker e2e for multiline functions .env values across stop and start to the start lifecycle suite

ref:

@7ttp
7ttp requested a review from a team as a code owner November 16, 2026 11:10
@7ttp
7ttp requested a review from avallete November 16, 2026 11:10
@github-actions

Copy link
Copy Markdown
Contributor

CLI benchmark (Lightweight Commands): no changes found

Commit 8beefe2 against develop at 3e40b4b · 10 runs each · report only, never blocks merging

Command Workload Before After Change
supabase --version version 184 ms 184 ms no real change
supabase --help help 188 ms 192 ms no real change
supabase init init 182 ms 186 ms no real change
supabase migration new bench migration-new 213 ms 207 ms no real change
supabase config convert config-convert 203 ms 203 ms no real change
supabase config validate config-validate 228 ms 226 ms no real change
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 239 ms 239 ms no real change
supabase projects list projects-list 224 ms 216 ms no real change
supabase functions list --project-ref replayfixtureprojref functions-list 226 ms 224 ms no real change

API calls: unchanged for all 9 commands.

Binary size: 135.1 MB, unchanged.

Details: timing ranges, API calls per command, slowest phases

Timing ranges

Command Workload Before range After range Change Verdict
supabase --version version 165-333 ms 163-359 ms 0 ms (0%) within noise
supabase --help help 173-238 ms 176-246 ms +4 ms (+2%) within noise
supabase init init 170-220 ms 164-242 ms +4 ms (+2%) within noise
supabase migration new bench migration-new 179-255 ms 180-236 ms -6 ms (-3%) within noise
supabase config convert config-convert 185-244 ms 184-220 ms +0 ms (+0%) within noise
supabase config validate config-validate 210-242 ms 217-237 ms -2 ms (-1%) within noise
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 220-273 ms 228-265 ms 0 ms (0%) within noise
supabase projects list projects-list 208-239 ms 209-247 ms -8 ms (-3%) within noise
supabase functions list --project-ref replayfixtureprojref functions-list 203-246 ms 196-244 ms -2 ms (-1%) within noise

API calls per command

Command Workload Before After Endpoint changes
supabase --version version 0 0
supabase --help help 0 0
supabase init init 0 0
supabase migration new bench migration-new 0 0
supabase config convert config-convert 0 0
supabase config validate config-validate 0 0
supabase gen types --lang typescript --project-id replayfixtureprojref gen-types 2 2
supabase projects list projects-list 1 1
supabase functions list --project-ref replayfixtureprojref functions-list 2 2

Slowest phases

No command moved beyond noise, so there are no phase deltas.

Workflow run

Comment /bench to run the lightweight benchmark (this comment) again on the latest commit, or /bench full to also run the integration-heavy benchmark, which posts in its own comment.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI Review

Both independent reviews completed. Claude's single finding is confirmed as a minor timeout concern, narrowed because startup already checks gateway and runtime readiness. Codex reported no findings. Tests were not run.

Findings

Severity Location Category Sources Claim
🟡 MINOR apps/cli/src/commands/start/start.lifecycle.e2e.test.ts:72 test-reliability claude Function invocations have no local timeout, so a stalled request or response-body read can consume the long lifecycle test timeout before failing.

Stats

Claude findings: 1 · Codex findings: 0 · Confirmed: 1 · Refuted: 0 · Uncertain: 0


Models: claude-opus-5-5 + gpt-6.1-sol · Trigger: auto · Workflow run

This review runs once per PR. A maintainer can request another with a /ai-review comment.

@7ttp 7ttp self-assigned this Nov 16, 2026
@7ttp
7ttp requested a review from jgoux November 16, 2026 11:49
@7ttp
7ttp added this pull request to the merge queue Nov 16, 2026
Merged via the queue into develop with commit bd6b742 Nov 16, 2026
53 checks passed
@7ttp
7ttp deleted the 7ttp/7607-followup-tests branch November 16, 2026 12:03
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.

2 participants