Skip to content

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Aug 27, 2025

In the end I decided to just query GitHub directly, it's the easiest thing to do, and we should only do it only ~once per hour, so should be fine. It was much easier than adding a singleton database table and threading the git information from the website.

It permits some slight desync of the SHA in the collector and the website, but that also happened before and we ~never had issues with it.

I made the periodic check optional to avoid annoying restarts when running the collector locally.

Kobzol added 2 commits August 27, 2025 08:18
To ensure that jobs from the same request are batched together.
@Kobzol Kobzol requested a review from Jamesbarford August 27, 2025 07:53
@Kobzol Kobzol force-pushed the collector-sha-check branch from 0adf914 to a13a464 Compare August 27, 2025 08:01
Copy link
Contributor

@Jamesbarford Jamesbarford left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Kobzol Kobzol enabled auto-merge August 27, 2025 08:13
@Kobzol Kobzol merged commit 29090d0 into rust-lang:master Aug 27, 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