Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
7b1cec4 to
42bcfec
Compare
🎭 Playwright Test Results (tanstack)Details
Flaky testsFeatures › database.spec.ts › Database Functions › CRUD operations works as expected Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
a160647 to
0dcf3b3
Compare
8d08adb to
6ce2ac5
Compare
c112ff5 to
23abfe6
Compare
82269c5 to
487ce8d
Compare
852a992 to
d23e9a3
Compare
ced0442 to
823b119
Compare
d23e9a3 to
0f19394
Compare
## Problem Workers Secrets was merged in #49589 into the stacked jordi/workers-detail branch. The parent Workers PR reached master without that child merge, leaving the page absent from staging. ## Fix Cherry-pick the missing Workers Secrets route, menu item, shared-secret copy, and generated route tree onto current master. The page uses the existing workers flag and permission gates. ## How to test - Enable the workers flag for a project with Workers access. - Open Workers, then select Secrets. - Expected result: the shared project secrets page renders at /project/:ref/workers/secrets and is not treated as a worker named secrets. - Add, edit, or delete a secret, then confirm the same value appears under Edge Functions, Secrets. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a **Secrets** page to the Workers section. * Added navigation to Worker secrets from the Workers menu. * Displayed default secrets and deployment-specific guidance where applicable. * Clarified that platform secrets are shared between Edge Functions and Workers. * Updated deletion warnings to reflect shared secret usage. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
What
A Secrets section for Workers (FE-4280), so secrets are viewable without detouring to Edge Functions. Base: #49242.
/project/[ref]/workers/secrets, header copy "Environment variables loaded into every worker at start-up"routeTree.gen.tsregenerated, plus theTANSTACK_MIGRATION.mdentryGated by
WorkersLayout(flag + permission), same as the rest of the product.Duplicated page, shared data
Per the ticket, this is the duplicated-page approach — a second entry point, not a second store. Secrets are project-level (
/v1/projects/{ref}/secrets), so the page reuses the existingEdgeFunctionSecrets/DefaultEdgeFunctionSecretscomponents rather than forking ~400 lines of secret CRUD. Workers and Edge Functions read and write the same list. The longer-term direction (a shared Compute-level Secrets section) is out of scope here.How to test
Needs the
workersflag on.Note
Two strings inside the reused
EdgeFunctionSecretscomponent still say "edge function secrets" (the no-permission messages). Left as-is to avoid refactoring shared Edge Functions code in a private-alpha duplicated page; they'd be resolved by the eventual shared Compute-level section. Flagging in case reviewers want them parameterized now.No new tests: the page composes already-tested components and the nav is a data literal, matching how the Edge Functions Secrets page itself is covered.
Closes FE-4280