Skip to content

Always return indexes regardless of limit for inferred config and manual enqueues

Administrator requested to merge es/always-index into main

Created by: eseliger

This PR adds an internal mechanism to ignore the limit used when inferring config for a repo in auto-indexing.

  • The "Enqueue" button in the UI now doesn't mysteriously show 0 enqueued anymore, instead it just goes ahead and creates the indexes. It's a user triggered action so it's likely they wanted to enqueue all the jobs.
  • The "Infer config for repo" button in the config editor now returns the config regardless of the setting, so users can manually remove workspaces as needed, instead of just hiding the button.

Test plan

Verified manually the above changes are achieved by this change. Let me know if this needs some other form of testing, not my codebase :)

Merge request reports

Loading