René's URL Explorer Experiment


Title: refactor(tiktok): align webhook routing with shared dispatcher by BillLeoutsakosvl346 · Pull Request #6261 · simstudioai/sim · GitHub

Open Graph Title: refactor(tiktok): align webhook routing with shared dispatcher by BillLeoutsakosvl346 · Pull Request #6261 · simstudioai/sim

X Title: refactor(tiktok): align webhook routing with shared dispatcher by BillLeoutsakosvl346 · Pull Request #6261 · simstudioai/sim

Description: Summary route TikTok app webhooks by the standard routingKey lookup and shared dispatcher remove TikTok-specific ingress jobs, target workers, and async-job registrations migrate existing deployments to routing_key with workspace/account verification retain a temporary null-routing-key fallback and supporting index for safe rolling deployment remove low-signal assertion-only tests while preserving behavioral coverage Why TikTok previously used provider-specific background ingress and target-resolution infrastructure. This aligns it with the established Slack-style shared-app webhook architecture while preserving authentication, filtering, idempotency, account isolation, and queued workflow execution. The temporary fallback handles registrations written by old pods after the migration runs. A follow-up contract PR can remove that fallback and index after one full rollout and final backfill. Validation 16 focused TikTok/Slack/shared suites: 175 tests independent validate-trigger and validate-integration review: clean approval type-check, format, lint, strict API validation client, tool-registry, and monorepo boundary checks migration safety plus isolated valid/malformed/foreign/fresh-database validation git diff --check No trigger options, tool behavior, OAuth scopes, webhook payloads, or user-facing fields change.

Open Graph Description: Summary route TikTok app webhooks by the standard routingKey lookup and shared dispatcher remove TikTok-specific ingress jobs, target workers, and async-job registrations migrate existing deployme...

X Description: Summary route TikTok app webhooks by the standard routingKey lookup and shared dispatcher remove TikTok-specific ingress jobs, target workers, and async-job registrations migrate existing deployme...

Opengraph URL: https://github.com/simstudioai/sim/pull/6261

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:77d10dd5-2c17-0172-840b-42ba048b7bf1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE44A:C876F:91F6DE:C9D371:6AFB4BFE
html-safe-nonceb5d87c7c594ff2bfab62f29e44ef7a97799acca804f1db2f871570fa610819f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDRBOkM4NzZGOjkxRjZERTpDOUQzNzE6NkFGQjRCRkUiLCJ2aXNpdG9yX2lkIjoiNTYwMDEzMjkzMzM0NDc3NTE2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9c25864a66b177f26bd8a3146e051de3ddbb39083409663103223b0e252754ef
hovercard-subject-tagpull_request:4206710170
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6261/files
twitter:imagehttps://avatars.githubusercontent.com/u/157128530?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/157128530?s=400&v=4
og:image:altSummary route TikTok app webhooks by the standard routingKey lookup and shared dispatcher remove TikTok-specific ingress jobs, target workers, and async-job registrations migrate existing deployme...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6261/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6261%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6261%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6261/files
Reloadhttps://github.com/simstudioai/sim/pull/6261/files
Reloadhttps://github.com/simstudioai/sim/pull/6261/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
BillLeoutsakosvl346https://github.com/BillLeoutsakosvl346
staginghttps://github.com/simstudioai/sim/tree/staging
fix/tiktok-webhook-routinghttps://github.com/simstudioai/sim/tree/fix/tiktok-webhook-routing
Conversation 10 https://github.com/simstudioai/sim/pull/6261
Commits 10 https://github.com/simstudioai/sim/pull/6261/commits
Checks 29 https://github.com/simstudioai/sim/pull/6261/checks
Files changed https://github.com/simstudioai/sim/pull/6261/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
refactor(tiktok): align webhook routing with shared dispatcher https://github.com/simstudioai/sim/pull/6261/files#top
Show all changes 10 commits https://github.com/simstudioai/sim/pull/6261/files
0eca254 refactor(tiktok): route webhooks by account key Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/0eca25419958c8efa008d3713fdbdf06d034d343
b3f7d28 refactor(tiktok): remove custom webhook ingress jobs Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/b3f7d28ebd6675c927e028155171e93dbd764848
51ddaf8 fix(tiktok): constrain webhook routing migration Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/51ddaf80c517d28e13b2641344eb08154f9b69e2
6c2fb99 test(tiktok): remove redundant assertions Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/6c2fb99618435ff4210a34f196e4ed615858999f
76f4ae6 fix(tiktok): preserve routing backfill state Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/76f4ae643832db663f25634481baa691a890b2b0
9096ca7 fix(tiktok): preserve legacy webhook routing during rollout Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/9096ca7eedd1d062ca7966266fdfa674cdc1ea2e
a1d8c79 fix(tiktok): preserve webhook delivery guarantees Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/a1d8c7900033155d4e8df7c41edf92680390a630
df6065e refactor(tiktok): remove rollout compatibility Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/df6065efed94ea16af5d0399df8a00502f10762e
8d40ee4 refactor(tiktok): remove unused webhook backfill Aug 4, 2026 https://github.com/simstudioai/sim/pull/6261/commits/8d40ee4109ec50e67783746d4d8c34290e9b5e1c
cc4ca66 Merge remote-tracking branch 'origin/staging' into fix/tiktok-webhook… Aug 8, 2026 https://github.com/simstudioai/sim/pull/6261/commits/cc4ca66a1b729af5fdb6f21ddf4a63ed56c347d5
Clear filters https://github.com/simstudioai/sim/pull/6261/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
route.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-bd98a7c625c13c78203cf014b30ababe44d45016becc792973d47defa4ef1e74
route.ts https://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
tiktok-webhook-ingress.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-4115a8c1b0a734dbedd53102b13c0443a0176cc3bae8da6a49070cf37b35e9ca
tiktok-webhook-ingress.ts https://github.com/simstudioai/sim/pull/6261/files#diff-8357cb330a0f1e5b87c3241e470a1471fcc764d0b7bf7868221b3b226ba84d40
tiktok-webhook-targets.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-bdcb19e364a30e53360b6a12b52b91ed6aa647cc4f02cb34963d8c8bb81f9953
tiktok-webhook-targets.ts https://github.com/simstudioai/sim/pull/6261/files#diff-dc89bb1150c36a50c4339e69d1d9c224dd29c2ee8ca63bb5cf14525794cf1ef7
tiktok.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-09fcb9a54b22190f3e3060810ce24ee74ae8d457c62cff8c9a3ab2c31971e981
tiktok-tools.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-d8d34d8f0d491c06890ac2912e26a330a8356a375a213d64cfdf6229f2c38f6c
trigger-dev.ts https://github.com/simstudioai/sim/pull/6261/files#diff-b958b57cdd2a5f9c4810a9ab7f23f04197dc6bf85c187708611c43de2293676a
types.ts https://github.com/simstudioai/sim/pull/6261/files#diff-464f570b2f7f239bee176e78456417aaf2418ea40aa7ca13f1a2a31b837d56f4
webhook-deactivation.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-16023648e643292b8bd714f1041cdaef95ea76b14e1291e589e71cd01b27e625
deletion.ts https://github.com/simstudioai/sim/pull/6261/files#diff-6fd16548c00f5dc499ca096ef13bf4ed55048121497ab5564a10ac2a91f96e08
deploy.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-47af430cbada5debea9e9a1162eeed4c44aeefd6ba487eca66da235948717f2d
deploy.ts https://github.com/simstudioai/sim/pull/6261/files#diff-6516227214de2ff84c6d6376ac8cfd9324595b98d8963a986474ed9f72281af5
get_post_status.test.ts https://github.com/simstudioai/sim/pull/6261/files#diff-8dedacecdedec2c14d6ae6efc7fd526ceee4fee6d7c93341335b6c8d7ef80dd1
0286_tiktok_routing_key.sql https://github.com/simstudioai/sim/pull/6261/files#diff-f6c57fc4d925085113aa7e786ed7b3067c7f97599ad638e84de8d283b806ec84
0286_snapshot.json https://github.com/simstudioai/sim/pull/6261/files#diff-8c9c74a4a2a9fc68e7bb694710166968e471d5f109c3596909ce01fe7467cd41
_journal.json https://github.com/simstudioai/sim/pull/6261/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649
schema.ts https://github.com/simstudioai/sim/pull/6261/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928
apps/sim/app/api/webhooks/tiktok/route.test.tshttps://github.com/simstudioai/sim/pull/6261/files#diff-bd98a7c625c13c78203cf014b30ababe44d45016becc792973d47defa4ef1e74
View file https://github.com/simstudioai/sim/blob/cc4ca66a1b729af5fdb6f21ddf4a63ed56c347d5/apps/sim/app/api/webhooks/tiktok/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6261/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6261/files#diff-bd98a7c625c13c78203cf014b30ababe44d45016becc792973d47defa4ef1e74
https://github.com/simstudioai/sim/pull/6261/files#diff-bd98a7c625c13c78203cf014b30ababe44d45016becc792973d47defa4ef1e74
https://github.com/simstudioai/sim/pull/6261/files#diff-bd98a7c625c13c78203cf014b30ababe44d45016becc792973d47defa4ef1e74
https://github.com/simstudioai/sim/pull/6261/files#diff-bd98a7c625c13c78203cf014b30ababe44d45016becc792973d47defa4ef1e74
apps/sim/app/api/webhooks/tiktok/route.tshttps://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
View file https://github.com/simstudioai/sim/blob/cc4ca66a1b729af5fdb6f21ddf4a63ed56c347d5/apps/sim/app/api/webhooks/tiktok/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6261/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
https://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
https://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
https://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
https://github.com/simstudioai/sim/pull/6261/files#diff-791540c0f8453cb01efecca8828200088a5b9921efa2629cc1cbb9e797dc2ce6
apps/sim/background/tiktok-webhook-ingress.test.tshttps://github.com/simstudioai/sim/pull/6261/files#diff-4115a8c1b0a734dbedd53102b13c0443a0176cc3bae8da6a49070cf37b35e9ca
View file https://github.com/simstudioai/sim/blob/a477a5286c3b17fb664cd1679d8986c7c470dcee/apps/sim/background/tiktok-webhook-ingress.test.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6261/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.