Skip to content

Conversation

Jamesbarford
Copy link
Contributor

Fixes the error message below which happens when trying to enqueue a job that has already been enqueued. We only use the return value from this query in tests.

[2025-09-24T08:51:57Z ERROR site::job_queue] Cron job failed to execute: failed to insert benchmark_job

    Caused by:
        query returned an unexpected number of rows

@Kobzol
Copy link
Member

Kobzol commented Sep 25, 2025

Right, because we can enqueue parent jobs where the jobs were already computed.

@Kobzol Kobzol enabled auto-merge September 25, 2025 10:23
@Kobzol Kobzol merged commit 96b2846 into rust-lang:master Sep 25, 2025
11 checks passed
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