René's URL Explorer Experiment


Title: feat(feature-flags): AppConfig-backed gated feature flags by TheodoreSpeaks · Pull Request #5059 · simstudioai/sim · GitHub

Open Graph Title: feat(feature-flags): AppConfig-backed gated feature flags by TheodoreSpeaks · Pull Request #5059 · simstudioai/sim

X Title: feat(feature-flags): AppConfig-backed gated feature flags by TheodoreSpeaks · Pull Request #5059 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - feat(feature-flags): AppConfig-backed gated feature flags by TheodoreSpeaks · Pull Request #5059 · simstudioai/sim

Open Graph Description: Summary New lib/core/config/feature-flags.ts: runtime feature flags gated by org id, user id, or admin — AppConfig-backed on prod (reuses fetchAppConfigProfile), with an in-file DEFAULT_FEATURE_FL...

X Description: Summary New lib/core/config/feature-flags.ts: runtime feature flags gated by org id, user id, or admin — AppConfig-backed on prod (reuses fetchAppConfigProfile), with an in-file DEFAULT_FEATURE_FL...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0962776e-910c-08fd-2e15-0f3a5ab6ae1d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE93A:BB648:8479CD:B63E78:6AFB471D
html-safe-nonce74978225f4a99fc538b8dc470627cee2f8960b8ff8a6f0cfdd693b4333dd5360
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTNBOkJCNjQ4Ojg0NzlDRDpCNjNFNzg6NkFGQjQ3MUQiLCJ2aXNpdG9yX2lkIjoiNjk3NzAwNzg2MjU1OTc1NDAxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6fecea0db73de71448e05b8bf3a4923c37e1145fe04fa2ce403a25a0fdbb0438
hovercard-subject-tagpull_request:3870035018
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/5059/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7d46b349565990202790b0983172e3ec292936879a255dfac4d79230bbcbcfee/simstudioai/sim/pull/5059
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d46b349565990202790b0983172e3ec292936879a255dfac4d79230bbcbcfee/simstudioai/sim/pull/5059
og:image:altSummary New lib/core/config/feature-flags.ts: runtime feature flags gated by org id, user id, or admin — AppConfig-backed on prod (reuses fetchAppConfigProfile), with an in-file DEFAULT_FEATURE_FL...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTheodoreSpeaks
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-cache
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
disable-turbofalse
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
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5059#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5059
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%2F5059
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5059
Reloadhttps://github.com/simstudioai/sim/pull/5059
Reloadhttps://github.com/simstudioai/sim/pull/5059
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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
https://github.com/simstudioai/sim
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/appconfig-backed-feature-flaghttps://github.com/simstudioai/sim/tree/feat/appconfig-backed-feature-flag
Conversationhttps://github.com/simstudioai/sim/pull/5059
Commits7 (7)https://github.com/simstudioai/sim/pull/5059/commits
Checkshttps://github.com/simstudioai/sim/pull/5059/checks
Files changedhttps://github.com/simstudioai/sim/pull/5059/files
feat(feature-flags): AppConfig-backed gated feature flagshttps://github.com/simstudioai/sim/pull/5059#top
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/appconfig-backed-feature-flaghttps://github.com/simstudioai/sim/tree/feat/appconfig-backed-feature-flag
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Jun 15, 2026https://github.com/simstudioai/sim/pull/5059#issue-4667727334
Contributor License Agreement (CLA)https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/TheodoreSpeaks
feat(feature-flags): AppConfig-backed gated feature flagshttps://github.com/simstudioai/sim/pull/5059/commits/b485a5a0a2d3992cdb131e8d620c29338999f3b0
b485a5ahttps://github.com/simstudioai/sim/pull/5059/commits/b485a5a0a2d3992cdb131e8d620c29338999f3b0
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jun 15, 2026https://github.com/simstudioai/sim/pull/5059#issuecomment-4711007701
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/sim-studio/docs/7PCMnNnRxziMPdAqJDFm1v1z8ons
Previewhttps://docs-git-feat-appconfig-backed-feature-flag-sim-studio.vercel.app
Commenthttps://vercel.live/open-feedback/docs-git-feat-appconfig-backed-feature-flag-sim-studio.vercel.app?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=5059
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 15, 2026https://github.com/simstudioai/sim/pull/5059#issuecomment-4711013076
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
Cursor Bugbothttps://cursor.com/bugbot
c82faebhttps://github.com/simstudioai/sim/commit/c82faeb556388185cc4819765442c7f50d100dbc
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-2m69fr96r-sim-studio.vercel.app
Previewhttps://docs-2m69fr96r-sim-studio.vercel.app
June 15, 2026 18:22https://github.com/simstudioai/sim/pull/5059#event-26772325640
View deploymenthttps://docs-2m69fr96r-sim-studio.vercel.app
https://github.com/TheodoreSpeaks
fix(ci): repoint 'Validate feature flags' step to env-flags.ts after …https://github.com/simstudioai/sim/pull/5059/commits/d0e0660a0f2e019fc9c721e4623412a6a7903a1d
d0e0660https://github.com/simstudioai/sim/pull/5059/commits/d0e0660a0f2e019fc9c721e4623412a6a7903a1d
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 15, 2026 https://github.com/simstudioai/sim/pull/5059#pullrequestreview-4502076460
View reviewed changes https://github.com/simstudioai/sim/pull/5059/files/d0e0660a0f2e019fc9c721e4623412a6a7903a1d
apps/sim/lib/core/config/feature-flags.tshttps://github.com/simstudioai/sim/pull/5059/files/d0e0660a0f2e019fc9c721e4623412a6a7903a1d#diff-3e4749df9f5e590f0e3d17cc4e1fed55b8788c93f823e02fba3409ba2ca708c2
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-p273bhgxa-sim-studio.vercel.app
Previewhttps://docs-p273bhgxa-sim-studio.vercel.app
June 15, 2026 23:42https://github.com/simstudioai/sim/pull/5059#event-26783556926
View deploymenthttps://docs-p273bhgxa-sim-studio.vercel.app
https://github.com/TheodoreSpeaks
Merge remote-tracking branch 'origin/staging' into feat/appconfig-bac…https://github.com/simstudioai/sim/pull/5059/commits/d13b2302aa0e7afc8de6e74df114705ad4579128
d13b230https://github.com/simstudioai/sim/pull/5059/commits/d13b2302aa0e7afc8de6e74df114705ad4579128
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-185hcfnqo-sim-studio.vercel.app
Previewhttps://docs-185hcfnqo-sim-studio.vercel.app
June 16, 2026 00:17https://github.com/simstudioai/sim/pull/5059#event-26784448449
View deploymenthttps://docs-185hcfnqo-sim-studio.vercel.app
https://github.com/TheodoreSpeaks
improvement(feature-flags): drop in-code defaults; fallback resolves …https://github.com/simstudioai/sim/pull/5059/commits/1989bf860b6c6e2939158cfbf7d69fb71bb0f770
1989bf8https://github.com/simstudioai/sim/pull/5059/commits/1989bf860b6c6e2939158cfbf7d69fb71bb0f770
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-qt7n7jyag-sim-studio.vercel.app
Previewhttps://docs-qt7n7jyag-sim-studio.vercel.app
June 16, 2026 01:19https://github.com/simstudioai/sim/pull/5059#event-26785919160
View deploymenthttps://docs-qt7n7jyag-sim-studio.vercel.app
https://github.com/TheodoreSpeaks
improvement(feature-flags): make flag names a closed set so every fla…https://github.com/simstudioai/sim/pull/5059/commits/0853240860d68fc7279777cd8857373c97043599
0853240https://github.com/simstudioai/sim/pull/5059/commits/0853240860d68fc7279777cd8857373c97043599
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-d4nwwemax-sim-studio.vercel.app
June 16, 2026 01:32https://github.com/simstudioai/sim/pull/5059#event-26786219581
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 16, 2026 https://github.com/simstudioai/sim/pull/5059#pullrequestreview-4502571881
View reviewed changes https://github.com/simstudioai/sim/pull/5059/files/0853240860d68fc7279777cd8857373c97043599
cursorhttps://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/5059#pullrequestreview-4502571881
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTphMTA0MmE2OC1kZDgyLTQ0MmMtYTk2ZS03ZTdhMDFjNjE4MzIiLCJlbmNyeXB0aW9uS2V5IjoiUTFBOUNZN0t4emQtZklrdGdOSFdScHJOQm9IRVYwM1lmNnNVUzB4ZU85SSIsImJyYW5jaCI6ImZlYXQvYXBwY29uZmlnLWJhY2tlZC1mZWF0dXJlLWZsYWciLCJyZXBvT3duZXIiOiJzaW1zdHVkaW9haSIsInJlcG9OYW1lIjoic2ltIn19
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
0853240https://github.com/simstudioai/sim/commit/0853240860d68fc7279777cd8857373c97043599
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
apps/sim/lib/core/config/feature-flags.tshttps://github.com/simstudioai/sim/pull/5059/files/0853240860d68fc7279777cd8857373c97043599#diff-3e4749df9f5e590f0e3d17cc4e1fed55b8788c93f823e02fba3409ba2ca708c2
cursorhttps://github.com/apps/cursor
Jun 16, 2026https://github.com/simstudioai/sim/pull/5059#discussion_r3417595728
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmM0N2E5NjBkLWE5YTQtNDdkMC1iYTVmLWJiMDNjOTg2MmVhMCIsImVuY3J5cHRpb25LZXkiOiJ5SFdzelJDTWxzMWU2T1pUTGFadkdfby1kRGh3OWFPYkRGbHVtM1FlM01ZIiwiYnJhbmNoIjoiZmVhdC9hcHBjb25maWctYmFja2VkLWZlYXR1cmUtZmxhZyIsInJlcG9Pd25lciI6InNpbXN0dWRpb2FpIiwicmVwb05hbWUiOiJzaW0ifX0
https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmM0N2E5NjBkLWE5YTQtNDdkMC1iYTVmLWJiMDNjOTg2MmVhMCIsImVuY3J5cHRpb25LZXkiOiJ5SFdzelJDTWxzMWU2T1pUTGFadkdfby1kRGh3OWFPYkRGbHVtM1FlM01ZIiwiYnJhbmNoIjoiZmVhdC9hcHBjb25maWctYmFja2VkLWZlYXR1cmUtZmxhZyIsInJlcG9Pd25lciI6InNpbXN0dWRpb2FpIiwicmVwb05hbWUiOiJzaW0iLCJwck51bWJlciI6NTA1OSwiY29tbWl0U2hhIjoiMDg1MzI0MDg2MGQ2OGZjNzI3OTc3N2NkODg1NzM3M2M5NzA0MzU5OSIsInByb3ZpZGVyIjoiZ2l0aHViIn19
Cursor Bugbothttps://cursor.com/bugbot
0853240https://github.com/simstudioai/sim/commit/0853240860d68fc7279777cd8857373c97043599
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
TheodoreSpeakshttps://github.com/TheodoreSpeaks
June 15, 2026 18:35https://github.com/simstudioai/sim/pull/5059#commits-pushed-4b5adb2
https://github.com/TheodoreSpeaks
improvement(feature-flags): single FEATURE_FLAGS registry — each entr…https://github.com/simstudioai/sim/pull/5059/commits/4b5adb2206031b58d1a2e218931c7f2e7471b42b
4b5adb2https://github.com/simstudioai/sim/pull/5059/commits/4b5adb2206031b58d1a2e218931c7f2e7471b42b
https://github.com/TheodoreSpeaks
improvement(feature-flags): fallback is the env secret key (keyof typ…https://github.com/simstudioai/sim/pull/5059/commits/c82faeb556388185cc4819765442c7f50d100dbc
c82faebhttps://github.com/simstudioai/sim/pull/5059/commits/c82faeb556388185cc4819765442c7f50d100dbc
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
Jun 16, 2026https://github.com/simstudioai/sim/pull/5059#issuecomment-4714065229
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-eqv9d1mwu-sim-studio.vercel.app
Previewhttps://docs-eqv9d1mwu-sim-studio.vercel.app
June 16, 2026 01:43https://github.com/simstudioai/sim/pull/5059#event-26786502744
View deploymenthttps://docs-eqv9d1mwu-sim-studio.vercel.app
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Jun 16, 2026https://github.com/simstudioai/sim/pull/5059#issuecomment-4714088466
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
%%{init: {'theme': 'neutral'}}%% sequenceDiagram participant Caller participant isFeatureEnabled participant getFeatureFlags participant fetchAppConfigProfile participant evaluate participant isPlatformAdmin Caller->>isFeatureEnabled: "isFeatureEnabled(flag, { userId, orgId })" isFeatureEnabled->>getFeatureFlags: getFeatureFlags() alt isAppConfigEnabled getFeatureFlags->>fetchAppConfigProfile: fetchAppConfigProfile(ids, parseConfig) note over fetchAppConfigProfile: Stale-while-revalidate cache (~30s TTL) fetchAppConfigProfile-->>getFeatureFlags: "FeatureFlagsConfig | null" else fallback path getFeatureFlags-->>getFeatureFlags: fallbackFlags() from env secrets end getFeatureFlags-->>isFeatureEnabled: "{ flags }" isFeatureEnabled->>evaluate: evaluate(flags[flag], ctx) note over evaluate: 1. rule.enabled? note over evaluate: 2. userId in userIds? note over evaluate: 3. orgId in orgIds? alt "rule.admins && no earlier match" evaluate->>isPlatformAdmin: isPlatformAdmin(userId) via dbReplica isPlatformAdmin-->>evaluate: boolean end evaluate-->>isFeatureEnabled: boolean isFeatureEnabled-->>Caller: boolean Loading https://github.com/simstudioai/sim/pull/5059#gh-light-mode-only
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% sequenceDiagram participant Caller participant isFeatureEnabled participant getFeatureFlags participant fetchAppConfigProfile participant evaluate participant isPlatformAdmin Caller->>isFeatureEnabled: "isFeatureEnabled(flag, { userId, orgId })" isFeatureEnabled->>getFeatureFlags: getFeatureFlags() alt isAppConfigEnabled getFeatureFlags->>fetchAppConfigProfile: fetchAppConfigProfile(ids, parseConfig) note over fetchAppConfigProfile: Stale-while-revalidate cache (~30s TTL) fetchAppConfigProfile-->>getFeatureFlags: "FeatureFlagsConfig | null" else fallback path getFeatureFlags-->>getFeatureFlags: fallbackFlags() from env secrets end getFeatureFlags-->>isFeatureEnabled: "{ flags }" isFeatureEnabled->>evaluate: evaluate(flags[flag], ctx) note over evaluate: 1. rule.enabled? note over evaluate: 2. userId in userIds? note over evaluate: 3. orgId in orgIds? alt "rule.admins && no earlier match" evaluate->>isPlatformAdmin: isPlatformAdmin(userId) via dbReplica isPlatformAdmin-->>evaluate: boolean end evaluate-->>isFeatureEnabled: boolean isFeatureEnabled-->>Caller: boolean Loading https://github.com/simstudioai/sim/pull/5059#gh-dark-mode-only
linkhttps://github.com/simstudioai/sim/blob/c82faeb556388185cc4819765442c7f50d100dbc/apps/sim/lib/core/config/feature-flags.ts#L1027-L1038
https://github.com/simstudioai/sim/pull/5059
"improvement(feature-flags): fallback is ..."https://github.com/simstudioai/sim/commit/c82faeb556388185cc4819765442c7f50d100dbc
Re-trigger Greptilehttps://app.greptile.com/api/retrigger?id=37787095
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
3fe061ehttps://github.com/simstudioai/sim/commit/3fe061e3b3d417eadc2271580a132b239bd2f588
Jun 16, 2026https://github.com/simstudioai/sim/pull/5059#event-26786787113
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/TheodoreSpeaks
TheodoreSpeakshttps://github.com/TheodoreSpeaks
June 16, 2026 01:56https://github.com/simstudioai/sim/pull/5059#event-26786789278
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
Jun 16, 2026 https://github.com/simstudioai/sim/pull/5059#ref-pullrequest-4670824993
v0.7.8: security hardening, code hygiene, MSFT oauth provider, new atlassian assets and google calendar tools #5088 https://github.com/simstudioai/sim/pull/5088
Deployedhttps://docs-eqv9d1mwu-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-eqv9d1mwu-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5059
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/5059/files/0853240860d68fc7279777cd8857373c97043599
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
Please reload this pagehttps://github.com/simstudioai/sim/pull/5059
https://github.com/TheodoreSpeaks
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.