Skip to content

Conversation

@johnstonmatt
Copy link

@johnstonmatt johnstonmatt commented Oct 29, 2025

What kind of change does this PR introduce?

Feature DEVWF-756

What is the current behavior?

  • supabase functions download foo spins up an edge-runtime container to download the eszip bundle and writes it to the filesystem

What is the new behavior?

  • supabase functions download foo --use-api calls the mgmt-api to unbundle the eszip on the server, then returns it as a multipart response and writes it to the filesystem

Parity

We expect that whether you choose to --use-api or not you should end up with the same files on disk.

Additional context

Add any other context or screenshots.

@johnstonmatt johnstonmatt requested a review from a team as a code owner October 29, 2025 08:46
@coveralls
Copy link

coveralls commented Oct 29, 2025

Pull Request Test Coverage Report for Build 19237093902

Details

  • 182 of 271 (67.16%) changed or added relevant lines in 2 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.7%) to 55.419%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/functions.go 0 13 0.0%
internal/functions/download/download.go 182 258 70.54%
Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
Totals Coverage Status
Change from base Build 19220886525: 0.7%
Covered Lines: 6622
Relevant Lines: 11949

💛 - Coveralls

@johnstonmatt johnstonmatt disabled auto-merge October 31, 2025 09:20
@johnstonmatt johnstonmatt force-pushed the DEVWF-756/server-side-unbundle branch 2 times, most recently from 3444cce to fb7041d Compare November 3, 2025 18:04
@johnstonmatt johnstonmatt force-pushed the DEVWF-756/server-side-unbundle branch from fb7041d to 3eedb2c Compare November 3, 2025 18:07
@johnstonmatt johnstonmatt enabled auto-merge (squash) November 10, 2025 15:45
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.

5 participants