mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 18:31:34 +01:00
Include merged webhook URL warnings in the Leaf staging build
Co-Authored-By: Paperclip <noreply@paperclip.ing> * origin/master: chore(db): keep only the newest 5 drizzle snapshots and stop shipping them (#13687) Warn when routine webhook URLs may not be publicly reachable (#13684)
This commit is contained in:
commit
4da456feec
151 files changed
+174
-3679064
No files matched your search
@@ -190,6 +190,7 @@ When authoring migrations or one-time backfills:
|
||||
|
||||
- Create every migration with `pnpm --filter @paperclipai/db generate`. Do not hand-write a snapshot.
|
||||
- Do not hand-edit a snapshot to resolve a merge conflict. Renumber your migration and run `generate` again, as `packages/db/.gitattributes` describes.
|
||||
- The repo keeps only the newest 5 snapshots. `generate` runs `prune:snapshots` afterwards to delete older ones. Drizzle only reads the newest snapshot, and each snapshot is a full copy of the schema (over 1 MB each). Older snapshots are still in git history.
|
||||
- `packages/db/src/migration-snapshot-drift.test.ts` is the enforcement backstop. It repeats the diff that `generate` performs and fails when the newest snapshot no longer matches `packages/db/src/schema/`.
|
||||
|
||||
## Cloud runtime identity singleton
|
||||
|
||||
@@ -428,3 +428,5 @@ Independently addressable examples live under `Connections/In-task connections`
|
||||
## Shared setup wizard (2026-09-19)
|
||||
|
||||
`ui/src/components/SetupWizard.tsx` extracts the Slack setup navigation into reusable numbered steps, a portal sidebar, an optional section-menu takeover outlet, and a single-row footer. `SetupWizardSidebarProvider` owns the portal target and takeover lifecycle. Chat exports retain their existing names and defaults for compatibility. The Design Guide demonstrates the components. The production routine trigger wizard and its Storybook previews share the sidebar takeover, navigation, and footer. `routine-triggers/TriggerWizard.tsx`, `TriggerCard.tsx`, and `WebhookFields.tsx` provide the shared trigger setup, compact editable cards, copyable credentials, and agent instructions.
|
||||
|
||||
`routine-triggers/WebhookUrlWarning.tsx` uses `InlineBanner` for non-blocking localhost, private-network, Tailscale, and HTTP guidance. Setup and saved webhook editors share it; the Design Guide shows each warning. URL classification is heuristic, not a public reachability test.
|
||||
Reference in new issue
Block a user