René's URL Explorer Experiment


Title: feat(bitbucket): add repository webhook triggers by BillLeoutsakosvl346 · Pull Request #6934 · simstudioai/sim · GitHub

Open Graph Title: feat(bitbucket): add repository webhook triggers by BillLeoutsakosvl346 · Pull Request #6934 · simstudioai/sim

X Title: feat(bitbucket): add repository webhook triggers by BillLeoutsakosvl346 · Pull Request #6934 · simstudioai/sim

Description: Summary Depends on #6952. Adds 19 automatically managed Bitbucket Cloud repository triggers covering: repository push, fork, update, commit-comment, and build-status events pull-request lifecycle, approval, changes-request, and comment events signed webhook creation/deletion with exact event matching generated Bitbucket trigger documentation and deployment integration metadata Hook deployment uses the existing Bitbucket OAuth connection, workspace/repository selectors, refreshed credentials, and encoded repository paths. Each deployment creates one event-specific repository hook, verifies Bitbucket's raw-body HMAC-SHA256 signature, and removes the hook on undeploy. Bitbucket permits at most 50 webhooks per repository, and each deployed Sim trigger consumes one slot. The follow-up hardening adds unique hook descriptions tied to the Sim webhook ID, 15-second management-request deadlines, candidate reconciliation/checkpoint reuse, safe rollback, blank-UUID rejection, and strict cleanup retries. Ambiguous URL/description matches are never broadly deleted. Delivery idempotency uses Bitbucket's nonblank X-Request-UUID, copied into Sim's trusted provider-local idempotency header after untrusted incoming Sim headers are stripped. A controlled failed-delivery test produced automatic attempts 1, 2, and 3 with the same request UUID and identical payload; only X-Attempt-Number changed. Missing or blank request UUIDs retain the existing unique fallback, preferring a possible duplicate over silently suppressing a legitimate byte-identical event. If Bitbucket ever changes UUID stability across retries, duplicate delivery remains possible. OAuth compatibility Bitbucket OAuth consent now includes the webhook scope. Existing action-only credentials remain compatible with the prior seven action scopes; users deploying triggers with an older credential must reconnect/update access so the OAuth consumer grants Webhooks read/write. The OAuth consumer used for live validation was confirmed to have Webhooks read/write enabled. No database migration is required. Deliberate omissions pullrequest:push, because Atlassian lists it without a documented payload schema Bitbucket Issues events, because they require the additional issue scope and are comparatively niche pipeline:span_created, because it is a low-level OpenTelemetry span payload stale repository events absent from the current catalog a generic all-events trigger Type of Change Bug fix New feature Documentation Breaking change Other: ___________ Testing Final review patch: 319 focused Bitbucket provider, trigger, and block tests compact request-UUID idempotency coverage for retries, distinct UUIDs, and missing/blank UUIDs provider registry assertion bun run scripts/generate-docs.ts bun run docs:check apps/sim type-check scoped Biome check git diff --check Earlier branch validation covered Atlassian's HMAC vector, all 19 mappings/output contracts, lifecycle timeout/reconciliation/rollback/cleanup behavior, OAuth compatibility, trigger checks, lint, and the full test suite. Live testing Final browser/live validation verified 19 of 19 configured trigger events. The previously missing pullrequest:comment_updated event was reproduced successfully after editing a different, older comment with a clean interval: Bitbucket delivered it to the exact event-specific hook, ngrok observed HTTP 200 from Sim, and Sim ran BB-TR-16 with the expected event, hook/request metadata, comment object, commentId, and commentContent. A first edit to a newly created comment produced no provider request, consistent with Bitbucket-side edit suppression/coalescing; no Sim code change is required. A separate controlled failed-delivery probe used an isolated temporary hook returning HTTP 500. Bitbucket sent three automatic attempts with the same X-Request-UUID and identical body while incrementing X-Attempt-Number from 1 through 3. The temporary hook was removed and the test repository metadata was restored afterward. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Screenshots/Videos N/A — no bespoke visual component was added.

Open Graph Description: Summary Depends on #6952. Adds 19 automatically managed Bitbucket Cloud repository triggers covering: repository push, fork, update, commit-comment, and build-status events pull-request lifecycle,...

X Description: Summary Depends on #6952. Adds 19 automatically managed Bitbucket Cloud repository triggers covering: repository push, fork, update, commit-comment, and build-status events pull-request lifecycle,...

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

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:3639bb5e-244d-9ce4-cc90-b0b5dea6648a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD77E:186510:AD09D5:EDBD58:6AFB50BC
html-safe-nonce6d3ce8cf53c7d6445e7242b78b1b2fc363fd12cc1d26a449c83de785a2228215
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzdFOjE4NjUxMDpBRDA5RDU6RURCRDU4OjZBRkI1MEJDIiwidmlzaXRvcl9pZCI6IjQ5NjEyMDc1MjUzMDgwNTk4MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac96f942a78aa051ae0b6654e3276a843e6ee9f85bf9374abd66bc99497e038a24
hovercard-subject-tagpull_request:4334028067
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/6934/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 Depends on #6952. Adds 19 automatically managed Bitbucket Cloud repository triggers covering: repository push, fork, update, commit-comment, and build-status events pull-request lifecycle,...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
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
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6934/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6934%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%2F6934%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/6934/files
Reloadhttps://github.com/simstudioai/sim/pull/6934/files
Reloadhttps://github.com/simstudioai/sim/pull/6934/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
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
feat/bitbucket-triggershttps://github.com/simstudioai/sim/tree/feat/bitbucket-triggers
Conversation 9 https://github.com/simstudioai/sim/pull/6934
Commits 5 https://github.com/simstudioai/sim/pull/6934/commits
Checks 30 https://github.com/simstudioai/sim/pull/6934/checks
Files changed https://github.com/simstudioai/sim/pull/6934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6934/files
feat(bitbucket): add repository webhook triggers https://github.com/simstudioai/sim/pull/6934/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/6934/files
8deddc7 feat(bitbucket): add repository webhook triggers Aug 21, 2026 https://github.com/simstudioai/sim/pull/6934/commits/8deddc78d3124abdf1fad74c4d254b8196d89c82
74145eb fix(bitbucket): harden webhook trigger delivery Aug 21, 2026 https://github.com/simstudioai/sim/pull/6934/commits/74145eba9905fb0baefd635c6f72ba4030855a95
cf4ed10 fix(bitbucket): address final trigger review Aug 21, 2026 https://github.com/simstudioai/sim/pull/6934/commits/cf4ed10f5b2550b7398b3256c416791121c64d61
95ce4db chore(bitbucket): address review conventions Aug 21, 2026 https://github.com/simstudioai/sim/pull/6934/commits/95ce4dbc49a30758b5600162d258b0d4a6989a81
ea3a07e fix(bitbucket): harden triggers and connector sync waleedlatif1 Aug 22, 2026 https://github.com/simstudioai/sim/pull/6934/commits/ea3a07eed2a8509122ab2440c4036950c8532ecd
Clear filters https://github.com/simstudioai/sim/pull/6934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6934/files
bitbucket.mdx https://github.com/simstudioai/sim/pull/6934/files#diff-d10fb6e91b74ef4d843592ea9486c2a4138473206e69b5bbea962b7c7e5db1f4
integrations-oauth.mdx https://github.com/simstudioai/sim/pull/6934/files#diff-215912ef74c1ce57991c651e5c98db0020f933b8aee0a484246549c6cadcb2d9
bitbucket.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-c7ea2262babcb5c48734689cb9ce040bcd8b6275087e35b75ea43a1b768fc17d
bitbucket.ts https://github.com/simstudioai/sim/pull/6934/files#diff-b80c2800e988b50ec8dbd5e16dab0ec125b04f6c791bfe6a2cefc65f2286e01d
bitbucket.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-e3b397350a0f193d65417e2ed40fd22965ab1ec30e49121004bc0673f0307245
bitbucket.ts https://github.com/simstudioai/sim/pull/6934/files#diff-e15d19dccaa43e961bf8a00a86f733ecf3d5444e3de563c547038076754cf8be
meta.ts https://github.com/simstudioai/sim/pull/6934/files#diff-1ce1818336e243e06003625ee18409888e05a008a9893545d4bd26586f56e0aa
oauth.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-b694eb43f7b08de5bf415fbdb403f2e47ec8ad9c10349e69950fe38f17ae48ef
oauth.ts https://github.com/simstudioai/sim/pull/6934/files#diff-8a2b3eb4f06390885c9e87d5fc4949ad359f7f6c0aa55fbf9e281be1c1fe639d
utils.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-4b43ff5548083e5129bdbe6b0e2c0ecb6253aa7b4f3109aa7bd55ad1390ba358
utils.ts https://github.com/simstudioai/sim/pull/6934/files#diff-e036fbd5b48db2c6adae004365c42cf926d0eafaa92e424cf063f4861ce6efbb
bitbucket.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-77bf59118d0f9a14c019c44d3acfbf487163784249a8f2ac9b26e5af089a6145
bitbucket.ts https://github.com/simstudioai/sim/pull/6934/files#diff-3c3312848a1ff94c70161a8835fec14a884981368d63fd047a0d0f828d67be58
registry.ts https://github.com/simstudioai/sim/pull/6934/files#diff-cd8b5020eba22a4fac7b217037aabeb709d2234d66bd1a7b566f4245ab4b0cbd
context.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-5eae9eaf801aaa08bc09d4548881fab3d9d66ebb627d16e5b00f5489f1e5844f
build_status_created.ts https://github.com/simstudioai/sim/pull/6934/files#diff-a4ad9b7dfe04c2aa08f42a82787cb423dac208b27874dd0ae189a6eb1c222dcd
build_status_updated.ts https://github.com/simstudioai/sim/pull/6934/files#diff-a4b808749d1b11cf63a2dbe3233e5cf35a1e986dfcc6f69009b3b6708d6d83f8
commit_comment_created.ts https://github.com/simstudioai/sim/pull/6934/files#diff-6e88025ed51c1c50704179c49621e9d24d960766a5dbe526a35f9fc43fd73298
index.ts https://github.com/simstudioai/sim/pull/6934/files#diff-814b7c8f75eb591cb67cd0fbe5296955213f408b9bed76c9527ac5d3313ddbdc
pull_request_approval_removed.ts https://github.com/simstudioai/sim/pull/6934/files#diff-ced511d394b55b2b4017ae9bbc6df771e7010dfa30176b57ffc04afccf8be28c
pull_request_approved.ts https://github.com/simstudioai/sim/pull/6934/files#diff-6d431c46f12d6ee3c6b2fb80f0a8bc60a124bc2a328bf3574de0316a2106f472
pull_request_changes_request_removed.ts https://github.com/simstudioai/sim/pull/6934/files#diff-417820599e05f022240ad973d20bc6c0f8ba3b06cb2b3bb90783192187063a7b
pull_request_changes_requested.ts https://github.com/simstudioai/sim/pull/6934/files#diff-d47e5b60cb6392d2ef66ee22035a8d1c07b4c11d07c552c839b78fe4802b50e2
pull_request_comment_created.ts https://github.com/simstudioai/sim/pull/6934/files#diff-e5488b4292b0c405475d4d9fd889bb181e2fbdab9d6fd8cb3434b8c185edc338
pull_request_comment_deleted.ts https://github.com/simstudioai/sim/pull/6934/files#diff-4f9afa826f1cd245aae9faf3cdf92bf14487cb8f6a588b7d332399dd6dcab61a
pull_request_comment_reopened.ts https://github.com/simstudioai/sim/pull/6934/files#diff-55eb751a942937eb1b5871fafffee95bcc905e8885cebd1c019e4552d4188ec9
pull_request_comment_resolved.ts https://github.com/simstudioai/sim/pull/6934/files#diff-5ed81af0d1247eefcc478f07d94b5aa9466713c73a232c93061aac32e1cf001e
pull_request_comment_updated.ts https://github.com/simstudioai/sim/pull/6934/files#diff-a32674e81e8b71759315bf9038bd772cd66d1980320beedd99c992838293c8d0
pull_request_created.ts https://github.com/simstudioai/sim/pull/6934/files#diff-468f0d5b3ef79f3c92472266c5f7e527b7c0582c6c083f3fcfc950b1da5c391d
pull_request_declined.ts https://github.com/simstudioai/sim/pull/6934/files#diff-501fa7a80134019e33daaa16f483470c52d13b239df493f3d9b6093e22c34750
pull_request_merged.ts https://github.com/simstudioai/sim/pull/6934/files#diff-74aeed2f49325409424c48fe7f5e29e4603166e0d6a89c416dd750e2c1cc49c8
pull_request_updated.ts https://github.com/simstudioai/sim/pull/6934/files#diff-19b944e94ad814b52459957d989ab8e9649b24dc0811db5b36c5b8c6be43e2b2
push.ts https://github.com/simstudioai/sim/pull/6934/files#diff-33eb907e76b7e386ad97e4ed81cf21299f41273e30f078cb709761b7d784d3ea
repository_forked.ts https://github.com/simstudioai/sim/pull/6934/files#diff-22222c071fb03198e0c66d936821075c4f24cbbc6218bb03ad415f81a810f84e
repository_updated.ts https://github.com/simstudioai/sim/pull/6934/files#diff-6eb0ba59902a22bb3005de8b8b5923a59085ccbfce3650e2a1ee295608ff4f48
utils.test.ts https://github.com/simstudioai/sim/pull/6934/files#diff-16d94126137ab1c68c4247b7b41aaa8d7dc40df41328e0d91d7dc1d070d15408
utils.ts https://github.com/simstudioai/sim/pull/6934/files#diff-567c66371e9022f775929c0f567aa4064749384223ebbbb51033267a820816a6
registry.ts https://github.com/simstudioai/sim/pull/6934/files#diff-0f5b1810bf30257d852bc7517386fc1af8300d84403784af432fad653811356c
integrations.json https://github.com/simstudioai/sim/pull/6934/files#diff-3c0cdbab0250ae3bd5869a2c3ce5c3f4f548d896e4fbbbc82a01ffc0f588a8cc
check-tool-registry-boundary.baseline.json https://github.com/simstudioai/sim/pull/6934/files#diff-e7b820ce86615ed78dd6fbaf0b57b20a2ac350d700c3dc0fc6b71207a656e4b7
apps/docs/content/docs/en/integrations/bitbucket.mdxhttps://github.com/simstudioai/sim/pull/6934/files#diff-d10fb6e91b74ef4d843592ea9486c2a4138473206e69b5bbea962b7c7e5db1f4
View file https://github.com/simstudioai/sim/blob/ea3a07eed2a8509122ab2440c4036950c8532ecd/apps/docs/content/docs/en/integrations/bitbucket.mdx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/6934/files
apps/docs/content/docs/en/platform/self-hosting/integrations-oauth.mdxhttps://github.com/simstudioai/sim/pull/6934/files#diff-215912ef74c1ce57991c651e5c98db0020f933b8aee0a484246549c6cadcb2d9
View file https://github.com/simstudioai/sim/blob/ea3a07eed2a8509122ab2440c4036950c8532ecd/apps/docs/content/docs/en/platform/self-hosting/integrations-oauth.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6934/files#diff-215912ef74c1ce57991c651e5c98db0020f933b8aee0a484246549c6cadcb2d9
https://github.com/simstudioai/sim/pull/6934/files#diff-215912ef74c1ce57991c651e5c98db0020f933b8aee0a484246549c6cadcb2d9
Please reload this pagehttps://github.com/simstudioai/sim/pull/6934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6934/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.