lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

[UI] Onboarding "service" slows down main screen until everything is set up

Open arielshaqed opened this issue 1 year ago • 1 comments

[Seen at a user installation]

The repo onboarding service always looks for:

  • GC configuration, by fetching settings/gc_rules
  • Branch protection, by fetching settings/branch_protection
  • Hooks, by listing _lakefs_actions/
  • The lakefs.parquet object, to determine whether this is a sample repo

This slows everything down in the GUI until the user has "completed" onboarding. Given that sopme users do not need GC rules or actions, they will always pay for it in the GUI. The user never actually sees this, it's hidden behind the "Start here" panel. I don't know how often this is actually used.

  • settings/gc_rules is additionally called to show the "No garbage collection rules configured" warning panel. So it is loaded again per page, but this one appears to be cached by repo ID. The steps are not really
  • settings/branch_protection also ends up being loaded twice per page, not sure why.

Anyway this slows down everything in the GUI.

arielshaqed avatar Apr 15 '24 07:04 arielshaqed

I opened https://github.com/treeverse/lakeFS/issues/7691 to remove the progress bar

talSofer avatar Apr 21 '24 05:04 talSofer

This UI feature has been removed.

eladlachmi avatar May 28 '24 09:05 eladlachmi