Skip to content

Fix trusted deploy flows and clean dead web code#45

Merged
arjunkomath merged 1 commit into
mainfrom
fix/migration-auth-dead-code-cleanup
Jun 24, 2026
Merged

Fix trusted deploy flows and clean dead web code#45
arjunkomath merged 1 commit into
mainfrom
fix/migration-auth-dead-code-cleanup

Conversation

@arjunkomath

Copy link
Copy Markdown
Member

Summary

  • move deploy and migration business logic into non-use server lib helpers while keeping UI-facing server actions auth-gated
  • update trusted Inngest, scheduler, agent, and CLI deploy paths to use the internal deploy helper so background migrations do not fail on missing browser sessions
  • remove confirmed dead web code, trim internal-only exports, and drop the unused cmdk dependency

Review

  • smart review verdict: approved, no high-confidence blockers

Verification

  • cd web && npx tsc --noEmit --pretty false
  • cd web && pnpm test
  • cd web && pnpm build
  • cd web && npx biome check --formatter-enabled=false ...touched files...
  • cd web && npx knip (expected remaining false positives / lower-priority buckets only)

Move deploy and migration business logic into non-server-action helpers so trusted Inngest, scheduler, agent, and CLI paths do not require a browser session.

Remove confirmed dead web exports, trim internal-only helper exports, and drop the unused cmdk dependency.

Amp-Thread-ID: https://ampcode.com/threads/T-019ef9d7-f8db-71bb-9653-71f1e15931f4
Co-authored-by: Amp <amp@ampcode.com>
@arjunkomath arjunkomath merged commit 8ab156f into main Jun 24, 2026
6 checks passed
@arjunkomath arjunkomath deleted the fix/migration-auth-dead-code-cleanup branch June 24, 2026 13:58
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.

1 participant