Skip to content

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Oct 14, 2025

While testing the new system on the x64 collector, I ran into some panics caused by missing API keys that I did not configure. I realized that in the case of panic, the cron job would stop, but the website would happily chug along. That's not really ideal.

The rustc-perf codebase uses unwraps and panics on a bunch of places, and thus panics can sometime happen, e.g. from transient network or DB errors. This PR thus pre-emptively guards against the panics by restarting the job queue handler cron job when it panics.

Special care is taken to avoid a "panic loop", where we would restart the task and it would immediately panic again.

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