Skip to content

Feat; job_queue table definition & mark a request as complete if all jobs are finished #2200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Jamesbarford
Copy link
Contributor

  • Creates the job_queue table.
  • Inserts into the job_queue.
  • Marks a benchmark_request as complete if all jobs associated with the request have the status of success or failure.

I've omitted job_splitting as this PR is modestly big. However, bar marking things as complete, the PR is fairly mechanical.

@Jamesbarford Jamesbarford force-pushed the feat/split-benchmark-requests-to-jobs branch 2 times, most recently from cca4e3d to 3e1489a Compare July 14, 2025 08:44
@Jamesbarford Jamesbarford force-pushed the feat/split-benchmark-requests-to-jobs branch from 3e1489a to d0ed82f Compare July 14, 2025 08:45
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a quick scan and left a bunch of comments, but it would likely be best to discuss this at our call.

target TEXT NOT NULL,
backend TEXT NOT NULL,
benchmark_set INTEGER NOT NULL,
collector_id TEXT NOT NULL,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We finally got to a place where we need collectors, let's merge #2157 first then, so that we can use a proper foreign key here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I've updated that PR

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.

2 participants