Skip to content

Enable find jobs by fleet_id in backoffice - #2474

Draft
Alberto Vilches (avilches) wants to merge 2 commits into
mainfrom
worktree-admin-job-runner-fleet-search
Draft

Enable find jobs by fleet_id in backoffice#2474
Alberto Vilches (avilches) wants to merge 2 commits into
mainfrom
worktree-admin-job-runner-fleet-search

Conversation

@avilches

Copy link
Copy Markdown
Contributor

Summary

Lets the job list search in the admin backoffice match by fleet_id, and adds a background (concurrent) index on that column so the search stays fast. The Runner column now shows the engine job id (ray_job_id or fleet_id) as the link to the job page, with Ray/Fleets as a label underneath, instead of just the runner name.

Details and comments

fleet_id had no index before, so the migration uses PostgreSQL's CREATE INDEX CONCURRENTLY to avoid locking api_job while it builds. It falls back to a plain index on non-PostgreSQL backends, since the test suite runs against SQLite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant