Skip to content

feat(cli): port functions delete & download #5527

Merged
jgoux merged 7 commits into
supabase:developfrom
7ttp:feat/functions-management
Jun 11, 2026
Merged

feat(cli): port functions delete & download #5527
jgoux merged 7 commits into
supabase:developfrom
7ttp:feat/functions-management

Conversation

@7ttp

@7ttp 7ttp commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

TL;DR

ports supabase functions delete and supabase functions download to native ts.

What’s introduced

adds native delete and download flows using the management api
while preserving compatibility and existing output behavior

& integration coverage around it!

ref:

  • closes CLI-1319
    will introduce supabase functions deploy as a followup :)

@7ttp 7ttp requested a review from a team as a code owner June 10, 2026 00:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e342884e8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/cli/src/next/commands/functions/download/download.handler.ts Outdated
Comment thread apps/cli/docs/go-cli-porting-status.md
Comment thread apps/cli/src/next/commands/functions/download/download.handler.ts Outdated
Comment thread apps/cli/src/next/commands/functions/functions.shared.ts Outdated
@7ttp 7ttp force-pushed the feat/functions-management branch from e96342f to 439d1da Compare June 10, 2026 01:25

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 439d1da30e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/cli/src/legacy/commands/functions/download/download.handler.ts
Comment thread apps/cli/src/shared/functions/download.ts Outdated
Comment thread apps/cli/src/shared/functions/download.ts Outdated
Comment thread apps/cli/src/next/commands/functions/functions.shared.ts Outdated
@7ttp 7ttp self-assigned this Jun 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a261cde204

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/cli/src/shared/functions/download.ts Outdated
Comment thread apps/cli/src/shared/functions/download.ts Outdated
Comment thread apps/cli/src/shared/functions/download.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e19a43151a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/cli/src/shared/functions/download.ts Outdated
Comment thread apps/cli/src/shared/functions/download.ts Outdated
Comment thread apps/cli/src/next/commands/functions/download/download.handler.ts Outdated
Comment thread apps/cli/src/shared/functions/download.ts
Comment thread apps/cli/src/shared/functions/download.ts Outdated

@jgoux jgoux 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.

LGTM, great work @7ttp!

@jgoux jgoux added this pull request to the merge queue Jun 11, 2026
Merged via the queue into supabase:develop with commit 2064429 Jun 11, 2026
26 checks passed
@7ttp 7ttp deleted the feat/functions-management branch June 11, 2026 10:26
mxcl pushed a commit to automic-vault/supabase-cli that referenced this pull request Jun 11, 2026
## TL;DR

ports `supabase functions delete` and `supabase functions download` to
native ts.

## What’s introduced

adds native delete and download flows using the management api
while preserving compatibility and existing output behavior

& integration coverage around it! 

## ref:
- closes CLI-1319
will introduce `supabase functions deploy`  as a followup :)
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.

3 participants