René's URL Explorer Experiment


Title: bug: development branches are counted toward the preview branch limit on the Manage/Limits page · Issue #4281 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: development branches are counted toward the preview branch limit on the Manage/Limits page · Issue #4281 · triggerdotdev/trigger.dev

X Title: bug: development branches are counted toward the preview branch limit on the Manage/Limits page · Issue #4281 · triggerdotdev/trigger.dev

Description: Provide environment information v4.5.0+ Describe the bug On the org Manage/Limits page, the "Preview branches" usage count includes DEVELOPMENT branches, not just preview branches. The number is also shown against the preview-branch limi...

Open Graph Description: Provide environment information v4.5.0+ Describe the bug On the org Manage/Limits page, the "Preview branches" usage count includes DEVELOPMENT branches, not just preview branches. The number is al...

X Description: Provide environment information v4.5.0+ Describe the bug On the org Manage/Limits page, the "Preview branches" usage count includes DEVELOPMENT branches, not just preview branches. The nu...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/4281

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: development branches are counted toward the preview branch limit on the Manage/Limits page","articleBody":"### Provide environment information\n\nv4.5.0+\n\n### Describe the bug\n\nOn the org Manage/Limits page, the \"Preview branches\" usage count includes DEVELOPMENT branches, not just preview branches. The number is also shown against the preview-branch limit, so it can display nonsensical over-limit values (e.g. \"12 / 5\" when most of those are dev branches).\n\nExpected: the \"Preview branches\" count should only reflect active preview branches. Dev branches and preview branches are separate features with separate limits and should not share a counter.\n\n### Reproduction repo\n\nn/a\n\n### To reproduce\n\n1. Have at least one active development branch, on a plan with a preview branch limit (Hobby/Pro).\n2. Open the Manage/Limits page and note the \"Preview branches\" count.\n3. Archive a development branch.\n4. Observe the \"Preview branches\" count decreases by 1, even though no preview branch was archived.\n\n### Additional information\n\nDisplay-only bug — actual quota enforcement is correct. checkBranchLimit (apps/webapp/app/services/upsertBranch.server.ts) enforces two separate limits: PREVIEW -> \"branches\", DEVELOPMENT -> \"branchesDev\". Dev branches do NOT actually consume the preview quota; only the displayed number is wrong.\n\nRoot cause: the count in apps/webapp/app/presenters/v3/LimitsPresenter.server.ts (~line 155) filters only on `branchName != null` / `archivedAt: null` with no `type` filter, so it counts DEVELOPMENT branches too, then renders that total against the preview (\"branches\") limit.\n\nFix: add `type: \"PREVIEW\"` to the count's where clause (and `parentEnvironmentId: { not: null }` to mirror checkBranchLimit and exclude the branchable parent).\n\nNote: not related to branch origin — the count ignores branch type entirely, so it happens regardless of whether branches came from merged PRs, `trigger dev`, etc.","author":{"url":"https://github.com/isshaddad","@type":"Person","name":"isshaddad"},"datePublished":"2026-07-17T14:53:32Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/4281"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3e40a2f0-f5be-face-6f36-b647cc06df8c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB764:646AE:13C259B:1BEF9B6:6AFAF581
html-safe-nonce4317310603b814db3105b1b28f420b2dc7cba8c1523b3573bf10814c14473fa2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzY0OjY0NkFFOjEzQzI1OUI6MUJFRjlCNjo2QUZBRjU4MSIsInZpc2l0b3JfaWQiOiIxOTYwOTI0NDI2NjY4Nzk5MzYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4b9a22269b2c2206d0098ff9e05c40f4cb2facab8b6f808a2d9ed2c11f954638
hovercard-subject-tagissue:4912402779
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/4281/issue_layout
twitter:imagehttps://opengraph.githubassets.com/458aa5906f052524826b5276ccec560d1a09e50979cc9c6e55dc44a0f3c51b92/triggerdotdev/trigger.dev/issues/4281
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/458aa5906f052524826b5276ccec560d1a09e50979cc9c6e55dc44a0f3c51b92/triggerdotdev/trigger.dev/issues/4281
og:image:altProvide environment information v4.5.0+ Describe the bug On the org Manage/Limits page, the "Preview branches" usage count includes DEVELOPMENT branches, not just preview branches. The number is al...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameisshaddad
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/4281#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F4281
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%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F4281
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/4281
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/4281
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/4281
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/4281
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/4281
#4283https://github.com/triggerdotdev/trigger.dev/pull/4283
bug: development branches are counted toward the preview branch limit on the Manage/Limits pagehttps://github.com/triggerdotdev/trigger.dev/issues/4281#top
#4283https://github.com/triggerdotdev/trigger.dev/pull/4283
https://github.com/isshaddad
isshaddadhttps://github.com/isshaddad
on Jul 17, 2026https://github.com/triggerdotdev/trigger.dev/issues/4281#issue-4912402779
cardernehttps://github.com/carderne
completedhttps://github.com/triggerdotdev/trigger.dev/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4283https://github.com/triggerdotdev/trigger.dev/pull/4283
on Jul 17, 2026https://github.com/triggerdotdev/trigger.dev/issues/4281#event-28130199403
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/4281
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/4281
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.