Commit 36216f3
committed
refactor: no-table deployment authorization
Remove awaiting_approval/rejected status from deployments table and
drop deployment_approvals table. External contributor pushes no longer
create a deployment record — instead handle_push creates a GitHub
Deployment check with failure status linking to an authorize page.
Replace ApproveDeployment/RejectDeployment RPCs with a single
AuthorizeDeployment RPC that takes project_id + branch, fetches HEAD
from GitHub, re-derives deploy contexts, and creates deployments.1 parent bbff343 commit 36216f3
File tree
28 files changed
+436
-788
lines changed- gen
- proto/ctrl/v1
- ctrlv1connect
- rpc/ctrl
- pkg/db
- queries
- svc/ctrl
- api
- proto/ctrl/v1
- services/deployment
- worker
- deploy
- githubwebhook
- github
- web
- apps/dashboard/gen/proto/ctrl/v1
- internal/db/src/schema
28 files changed
+436
-788
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments