Skip to content

ensure event's account match the configured pipeline account - #350

Open
mattmueller-stripe wants to merge 5 commits into
devfrom
ensure-matching-accounts
Open

ensure event's account match the configured pipeline account#350
mattmueller-stripe wants to merge 5 commits into
devfrom
ensure-matching-accounts

Conversation

@mattmueller-stripe

@mattmueller-stripe mattmueller-stripe commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Ensures the event.account matches the configured account_id otherwise ignores. These can be different if a platform is listening for events on a connected account. We don't support this flow right now.

Merging dev introduced a duplicate `packages/destination-stripe` mapping
key — both branches independently added lockfile entries for new
packages without a shared base, and git's merge kept both non-conflicting
insertions. Regenerated the lockfile via `pnpm install` to remove the dupe.

Committed-By-Agent: claude
Bun doesn't implement node:sqlite as a built-in. The engine imports every
default connector eagerly at startup (apps/engine/src/lib/default-connectors.ts),
so the previous top-level `import { DatabaseSync } from 'node:sqlite'` crashed
Bun immediately on boot, even when the sqlite destination isn't in use. Move
the import to a dynamic import inside openDatabase(), resolved only when the
destination is actually used.

Also drops a dead buildCreateTableSQL helper and fixes pre-existing lint
issues in the same file.

Committed-By-Agent: claude
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