René's URL Explorer Experiment


Title: Move `Feature` enum to a separate file by mbg · Pull Request #4298 · github/codeql-action · GitHub

Open Graph Title: Move `Feature` enum to a separate file by mbg · Pull Request #4298 · github/codeql-action

X Title: Move `Feature` enum to a separate file by mbg · Pull Request #4298 · github/codeql-action

Description: The feature-flags.ts module currently contains a number of definitions, including the Features enum and FeatureEnablement interface. Most consumers of feature flags only need to import Features and occasionally FeatureEnablement in order to query feature flags. However, feature-flags.ts also contains the feature flag "client" implementation which has a number of dependencies on other parts of the codebase. Because Features is an enum and has a value-level representation, it cannot just be imported as type by consumers (unlike FeatureEnablement). Consequently, importing Features in modules that are themselves dependencies or transitively dependencies of feature-flags.ts is not possible and (in my experience) a frequent source of dependency cycles. This PR moves the definition of Features into a separate file from which it can be imported by consumers that are dependencies of feature-flags.ts without introducing dependency cycles. For convenience, feature-flags.ts re-exports Features since it doesn't affect existing consumers and we don't have to update all of the import lists this way.

Open Graph Description: The feature-flags.ts module currently contains a number of definitions, including the Features enum and FeatureEnablement interface. Most consumers of feature flags only need to import Features and...

X Description: The feature-flags.ts module currently contains a number of definitions, including the Features enum and FeatureEnablement interface. Most consumers of feature flags only need to import Features and...

Opengraph URL: https://github.com/github/codeql-action/pull/4298

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bd4389c1-da5d-686e-484a-3519c46c3772
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8152:27764F:AC30C4:EAC2A9:6B03F6E8
html-safe-noncea81ca96a040857efdf2c94419ddd082d8228769f47840c7a795253cb89cd8bda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTUyOjI3NzY0RjpBQzMwQzQ6RUFDMkE5OjZCMDNGNkU4IiwidmlzaXRvcl9pZCI6IjIzMzE5MzU1NTE1MTI2MzkyMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1518ad160b8d2887b973031bd1a4cf192c1809f2c4369c58b7b5796de0d1431e
hovercard-subject-tagpull_request:5155011579
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/github/codeql-action/pull/4298/files
twitter:imagehttps://avatars.githubusercontent.com/u/278086?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/278086?s=400&v=4
og:image:altThe feature-flags.ts module currently contains a number of definitions, including the Features enum and FeatureEnablement interface. Most consumers of feature flags only need to import Features and...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/4298/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4298%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%2Fgithub%2Fcodeql-action%2Fpull%2F4298%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=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/4298/files
Reloadhttps://github.com/github/codeql-action/pull/4298/files
Reloadhttps://github.com/github/codeql-action/pull/4298/files
githubhttps://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Codehttps://github.com/github/codeql-action
Issues167 (167)https://github.com/github/codeql-action/issues
Pull requests41 (41)https://github.com/github/codeql-action/pulls
Actionshttps://github.com/github/codeql-action/actions
Security and quality2 (2)https://github.com/github/codeql-action/security
Insightshttps://github.com/github/codeql-action/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/decouple-features-enumhttps://github.com/github/codeql-action/tree/mbg/decouple-features-enum
Conversation 1 https://github.com/github/codeql-action/pull/4298
Commits 1 https://github.com/github/codeql-action/pull/4298/commits
Checks 230 https://github.com/github/codeql-action/pull/4298/checks
Files changed https://github.com/github/codeql-action/pull/4298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4298/files
Move Feature enum to a separate file https://github.com/github/codeql-action/pull/4298/files#top
Show all changes 1 commit https://github.com/github/codeql-action/pull/4298/files
29ddace Move `Feature` enum to a separate file mbg Nov 4, 2026 https://github.com/github/codeql-action/pull/4298/commits/29ddace71d5505249af76e7f6d1476e04917c2b1
Clear filters https://github.com/github/codeql-action/pull/4298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/4298/files
feature-flags.ts https://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
features.ts https://github.com/github/codeql-action/pull/4298/files#diff-bcd20598afabfcf5016319ae0f693f6b2ad2e195f0738dc861e2a5261ff506be
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/feature-flags.tshttps://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
View file https://github.com/github/codeql-action/blob/29ddace71d5505249af76e7f6d1476e04917c2b1/src/feature-flags.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4298/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
https://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
https://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
https://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
https://github.com/github/codeql-action/pull/4298/files#diff-d6ca7464724b1fe6094ce0912d338e79983058d9acda8717c0469d40f1ae3dbd
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
src/feature-flags/features.tshttps://github.com/github/codeql-action/pull/4298/files#diff-bcd20598afabfcf5016319ae0f693f6b2ad2e195f0738dc861e2a5261ff506be
View file https://github.com/github/codeql-action/blob/29ddace71d5505249af76e7f6d1476e04917c2b1/src/feature-flags/features.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/4298/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/codeql-action/pull/4298/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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.