René's URL Explorer Experiment


Title: Env vars page performance fix by kathiekiwi · Pull Request #3829 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: Env vars page performance fix by kathiekiwi · Pull Request #3829 · triggerdotdev/trigger.dev

X Title: Env vars page performance fix by kathiekiwi · Pull Request #3829 · triggerdotdev/trigger.dev

Description: Summary This PR improves performance across the Environment Variables page. Changes Targeted value loading load only the non-secret (environmentId, key) pairs required by the page. Secret values continue to be redacted in the UI. SSR windowing + virtualization SSR-render only the first 50 rows hydrate those rows virtualize the remaining dataset client-side search is now URL-driven during SSR, ensuring deep links such as ?search=DATABASE_URL Lightweight 'Create' flow 'Create' page no longer loads the full Environment Variables dataset. Results Large projects no longer render thousands of rows during SSR. Example (~11k rendered rows): Metric Before After Document size ~150 MB ~5 MB SSR rows ~11k 50 Browser DOM rows Thousands ~26–38 Testing Automated pnpm run test ./test/environmentVariablesRepository.test.ts pnpm run test ./test/environmentVariablesEnvironments.test.ts pnpm run test ./test/EnvironmentVariablesPresenter.test.ts Manual Environment Variables list loads without browser freezes Search works via URL parameters Secret values remain redacted Non-secret values render correctly Create page loads successfully Create/edit/delete flows continue to work Virtualized table preserves column alignment and sticky headers

Open Graph Description: Summary This PR improves performance across the Environment Variables page. Changes Targeted value loading load only the non-secret (environmentId, key) pairs required by the page. Secret values c...

X Description: Summary This PR improves performance across the Environment Variables page. Changes Targeted value loading load only the non-secret (environmentId, key) pairs required by the page. Secret values c...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/3829

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:167012f6-2934-ad2a-bbbe-58b4481a048b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA2A6:1F5D:A97C85:F835AE:6AFADCDC
html-safe-nonce370d4756a37c221387235db710e2b74a335846dc06dc0d56a0f65a94fef28587
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkE2OjFGNUQ6QTk3Qzg1OkY4MzVBRTo2QUZBRENEQyIsInZpc2l0b3JfaWQiOiI0NjA0NzY3MTQ1NzM1OTM3MjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3c4a92af6b968fe76e07ea2793dd087052f8a1586e549c74542bbc937d467de4
hovercard-subject-tagpull_request:3799108872
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/triggerdotdev/trigger.dev/pull/3829/files
twitter:imagehttps://avatars.githubusercontent.com/u/4035897?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4035897?s=400&v=4
og:image:altSummary This PR improves performance across the Environment Variables page. Changes Targeted value loading load only the non-secret (environmentId, key) pairs required by the page. Secret values c...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3829%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%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3829%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=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
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 requests66 (66)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
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
kathiekiwihttps://github.com/kathiekiwi
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
env-vars-page-performance-fixhttps://github.com/triggerdotdev/trigger.dev/tree/env-vars-page-performance-fix
Conversation 12 https://github.com/triggerdotdev/trigger.dev/pull/3829
Commits 4 https://github.com/triggerdotdev/trigger.dev/pull/3829/commits
Checks 52 https://github.com/triggerdotdev/trigger.dev/pull/3829/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3829/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
Env vars page performance fix https://github.com/triggerdotdev/trigger.dev/pull/3829/files#top
Show all changes 4 commits https://github.com/triggerdotdev/trigger.dev/pull/3829/files
61ff680 perf(webapp): fetch and decrypt only non-secret env var values kathiekiwi Jun 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3829/commits/61ff68033a0db32cc0ea9192b13d96b368bc0c27
e92fccd perf(webapp): SSR-window and virtualize the env vars table kathiekiwi Jun 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3829/commits/e92fccd4dbc5a119c78cfa6bef266bd63195b82d
a456e19 perf(webapp): use lightweight loaders for the env var create flow kathiekiwi Jun 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3829/commits/a456e19a4a906f1c2d9f066c643b95560c90c64b
f118832 chore(core): add changeset for forceFlush typecheck build fix kathiekiwi Jun 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3829/commits/f118832af50157f47e60ad3a9728f45c75c81b16
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3829/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
env-vars-tracing-forceflush-typecheck.md https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-4ddefbfd341d4b5773766ccf10b798b377c472824ffd76b47183067cc4480f72
environment-variables-page-performance.md https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-9296ab0cba9a3b3a2ed42117fe0353ce092227424317943f6ade51e54a400627
Table.tsx https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-026663dff9c01d3e7e924c592e3c8a1d6d3369848a3c4d330e182e90f8453293
EnvironmentVariablesPresenter.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
environmentVariablesEnvironments.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-ca6f199702f511baaf838681241ea904128363417f97c963b5da96744e51e49a
route.tsx https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
route.tsx https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-ad7c9b1ac26415e250b5c70e3beb34cdd501c1462d2318c1b4c5415884dc591f
secretStore.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-c8bdfa08f0be3ee47f1a3fc02647f51b814c52fecd309224f546fb5c6619b3ca
environmentVariablesRepository.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0e75e6a254fef8d7800e2bb0cd563b6775c64e354c3848f2e7cda0c617a90f3f
repository.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-027ce410744b36c17eda56cbb911b8997416d4b6d3b528fa5f26e9d5132a4783
EnvironmentVariablesPresenter.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-1ecd703acc109b42f551958e18b93ee2fcafcc1005eeda455f2d1ff47bda0c08
environmentVariablesEnvironments.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-34103f8a89a70b39c50308c25e3591fdb6c8116b2b96a2b41dabd8f14e103040
environmentVariablesRepository.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-9317037b0f3677c37dc02f8ba04c4c341a80e7d94c0affcf726661769425d201
environmentVariablesFixtures.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-80792ebfa65032e46c667097653d36ec46985ad46b978b52ef2f9d5cdcd2e03f
tracingSDK.ts https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-ce510b575f0568e5e9854cedbca289205f363324a89085ae9b668c3cc334cd93
.changeset/env-vars-tracing-forceflush-typecheck.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-4ddefbfd341d4b5773766ccf10b798b377c472824ffd76b47183067cc4480f72
View file https://github.com/triggerdotdev/trigger.dev/blob/f118832af50157f47e60ad3a9728f45c75c81b16/.changeset/env-vars-tracing-forceflush-typecheck.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3829/{{ revealButtonHref }}
.server-changes/environment-variables-page-performance.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-9296ab0cba9a3b3a2ed42117fe0353ce092227424317943f6ade51e54a400627
View file https://github.com/triggerdotdev/trigger.dev/blob/f118832af50157f47e60ad3a9728f45c75c81b16/.server-changes/environment-variables-page-performance.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3829/{{ revealButtonHref }}
apps/webapp/app/components/primitives/Table.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-026663dff9c01d3e7e924c592e3c8a1d6d3369848a3c4d330e182e90f8453293
View file https://github.com/triggerdotdev/trigger.dev/blob/f118832af50157f47e60ad3a9728f45c75c81b16/apps/webapp/app/components/primitives/Table.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3829/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-026663dff9c01d3e7e924c592e3c8a1d6d3369848a3c4d330e182e90f8453293
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-026663dff9c01d3e7e924c592e3c8a1d6d3369848a3c4d330e182e90f8453293
apps/webapp/app/presenters/v3/EnvironmentVariablesPresenter.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
View file https://github.com/triggerdotdev/trigger.dev/blob/f118832af50157f47e60ad3a9728f45c75c81b16/apps/webapp/app/presenters/v3/EnvironmentVariablesPresenter.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3829/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0cae041b399da9d109ad89c32b727a85f4ecdaba60ebb2b5b995a8b79b1fbcd9
apps/webapp/app/presenters/v3/environmentVariablesEnvironments.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-ca6f199702f511baaf838681241ea904128363417f97c963b5da96744e51e49a
View file https://github.com/triggerdotdev/trigger.dev/blob/f118832af50157f47e60ad3a9728f45c75c81b16/apps/webapp/app/presenters/v3/environmentVariablesEnvironments.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3829/{{ revealButtonHref }}
...organizationSlug.projects.$projectParam.env.$envParam.environment-variables.new/route.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
View file https://github.com/triggerdotdev/trigger.dev/blob/f118832af50157f47e60ad3a9728f45c75c81b16/apps/webapp/app/routes/_app.orgs.%24organizationSlug.projects.%24projectParam.env.%24envParam.environment-variables.new/route.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3829/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
https://github.com/triggerdotdev/trigger.dev/pull/3829/files#diff-0254d62eaa094d3ed8ff515ad145098f3164aadfb4e7b7ce2b822558e619bc70
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3829/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3829/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.