René's URL Explorer Experiment


Title: Stop calling `api/projects/list` on every UI page · Issue #3473 · dstackai/dstack · GitHub

Open Graph Title: Stop calling `api/projects/list` on every UI page · Issue #3473 · dstackai/dstack

X Title: Stop calling `api/projects/list` on every UI page · Issue #3473 · dstackai/dstack

Description: Currently, UI call api/projects/list when loading practically any UI page (e.g. Runs, Fleets, Instances, etc) even when it doesn't seem to be necessary. This endpoint can be heavy for global admins (especially on Sky) since it returns al...

Open Graph Description: Currently, UI call api/projects/list when loading practically any UI page (e.g. Runs, Fleets, Instances, etc) even when it doesn't seem to be necessary. This endpoint can be heavy for global admins...

X Description: Currently, UI call api/projects/list when loading practically any UI page (e.g. Runs, Fleets, Instances, etc) even when it doesn't seem to be necessary. This endpoint can be heavy for global ad...

Opengraph URL: https://github.com/dstackai/dstack/issues/3473

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stop calling `api/projects/list` on every UI page","articleBody":"Currently, UI call `api/projects/list` when loading practically any UI page (e.g. Runs, Fleets, Instances, etc) even when it doesn't seem to be necessary. This endpoint can be heavy for global admins (especially on Sky) since it returns all projects on the server.\n\nThe main reason call `api/projects/list` seems to be `useProjectFilter` that allows filtering resources by project name. For this, we could introduce api endpoint to list project names only (perhaps by prefix, with a limit).\n\nAlso:\n* [`useCheckingForFleetsInProjects` should not `useGetProjectsQuery`](https://github.com/dstackai/dstack/blob/a07ef352779fad5aa2fdc0334314becc940ddd47/frontend/src/hooks/useCheckingForFleetsInProjectsOfMember.ts#L8) since there is already `useGetOnlyNoFleetsProjectsQuery`.\n* [TutorialPanel should not list all projects](https://github.com/dstackai/dstack/blob/a07ef352779fad5aa2fdc0334314becc940ddd47/frontend/src/layouts/AppLayout/TutorialPanel/hooks.ts#L47).\n* [Select only project names for events project filtering](https://github.com/dstackai/dstack/blob/a07ef352779fad5aa2fdc0334314becc940ddd47/frontend/src/pages/Events/List/hooks/useFilters.ts#L68).\n\nOverall, ensure the UI never lists all projects (besides Projects page currently). Introduce more efficient API if needed.\n\n**Ensure the same for `api/users/list`**.","author":{"url":"https://github.com/r4victor","@type":"Person","name":"r4victor"},"datePublished":"2026-01-19T12:33:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3473/dstack/issues/3473"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f5517917-710e-09ec-8492-dd3421b6daba
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCDC2:89571:A45ED9:DAC99D:69812FCF
html-safe-nonce33f10a5f920d9ce10f2de73bef75ec0a359e957946877aabdf3e3a12d65dcc21
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREMyOjg5NTcxOkE0NUVEOTpEQUM5OUQ6Njk4MTJGQ0YiLCJ2aXNpdG9yX2lkIjoiNTE2MDcwMzQ0NzYwMjkwMDk0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4331894210ee2dc2287fd08c40416e91b4905b94b883ec7cadc8af768866c8f5
hovercard-subject-tagissue:3829529950
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/dstackai/dstack/3473/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a9250c9c4488fb4f779702ccfebc0c7e630da157a0fd728bc115cf7f09a53352/dstackai/dstack/issues/3473
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a9250c9c4488fb4f779702ccfebc0c7e630da157a0fd728bc115cf7f09a53352/dstackai/dstack/issues/3473
og:image:altCurrently, UI call api/projects/list when loading practically any UI page (e.g. Runs, Fleets, Instances, etc) even when it doesn't seem to be necessary. This endpoint can be heavy for global admins...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamer4victor
hostnamegithub.com
expected-hostnamegithub.com
None39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1
turbo-cache-controlno-preview
go-importgithub.com/dstackai/dstack git https://github.com/dstackai/dstack.git
octolytics-dimension-user_id54146142
octolytics-dimension-user_logindstackai
octolytics-dimension-repository_id444377346
octolytics-dimension-repository_nwodstackai/dstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id444377346
octolytics-dimension-repository_network_root_nwodstackai/dstack
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
released5b34a4e4898b066c629879feb4b184bc471d6a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/dstackai/dstack/issues/3473#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdstackai%2Fdstack%2Fissues%2F3473
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdstackai%2Fdstack%2Fissues%2F3473
Sign up https://patch-diff.githubusercontent.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=dstackai%2Fdstack
Reloadhttps://patch-diff.githubusercontent.com/dstackai/dstack/issues/3473
Reloadhttps://patch-diff.githubusercontent.com/dstackai/dstack/issues/3473
Reloadhttps://patch-diff.githubusercontent.com/dstackai/dstack/issues/3473
dstackai https://patch-diff.githubusercontent.com/dstackai
dstackhttps://patch-diff.githubusercontent.com/dstackai/dstack
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fdstackai%2Fdstack
Fork 211 https://patch-diff.githubusercontent.com/login?return_to=%2Fdstackai%2Fdstack
Star 2k https://patch-diff.githubusercontent.com/login?return_to=%2Fdstackai%2Fdstack
Code https://patch-diff.githubusercontent.com/dstackai/dstack
Issues 107 https://patch-diff.githubusercontent.com/dstackai/dstack/issues
Pull requests 5 https://patch-diff.githubusercontent.com/dstackai/dstack/pulls
Actions https://patch-diff.githubusercontent.com/dstackai/dstack/actions
Security 0 https://patch-diff.githubusercontent.com/dstackai/dstack/security
Insights https://patch-diff.githubusercontent.com/dstackai/dstack/pulse
Code https://patch-diff.githubusercontent.com/dstackai/dstack
Issues https://patch-diff.githubusercontent.com/dstackai/dstack/issues
Pull requests https://patch-diff.githubusercontent.com/dstackai/dstack/pulls
Actions https://patch-diff.githubusercontent.com/dstackai/dstack/actions
Security https://patch-diff.githubusercontent.com/dstackai/dstack/security
Insights https://patch-diff.githubusercontent.com/dstackai/dstack/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/dstackai/dstack/issues/3473
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/dstackai/dstack/issues/3473
Stop calling api/projects/list on every UI pagehttps://patch-diff.githubusercontent.com/dstackai/dstack/issues/3473#top
internalshttps://github.com/dstackai/dstack/issues?q=state%3Aopen%20label%3A%22internals%22
performancehttps://github.com/dstackai/dstack/issues?q=state%3Aopen%20label%3A%22performance%22
uihttps://github.com/dstackai/dstack/issues?q=state%3Aopen%20label%3A%22ui%22
https://github.com/r4victor
https://github.com/r4victor
r4victorhttps://github.com/r4victor
on Jan 19, 2026https://github.com/dstackai/dstack/issues/3473#issue-3829529950
useCheckingForFleetsInProjects should not useGetProjectsQueryhttps://github.com/dstackai/dstack/blob/a07ef352779fad5aa2fdc0334314becc940ddd47/frontend/src/hooks/useCheckingForFleetsInProjectsOfMember.ts#L8
TutorialPanel should not list all projectshttps://github.com/dstackai/dstack/blob/a07ef352779fad5aa2fdc0334314becc940ddd47/frontend/src/layouts/AppLayout/TutorialPanel/hooks.ts#L47
Select only project names for events project filteringhttps://github.com/dstackai/dstack/blob/a07ef352779fad5aa2fdc0334314becc940ddd47/frontend/src/pages/Events/List/hooks/useFilters.ts#L68
internalshttps://github.com/dstackai/dstack/issues?q=state%3Aopen%20label%3A%22internals%22
performancehttps://github.com/dstackai/dstack/issues?q=state%3Aopen%20label%3A%22performance%22
uihttps://github.com/dstackai/dstack/issues?q=state%3Aopen%20label%3A%22ui%22
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.