Skip to content

Conversation

@syphar
Copy link
Member

@syphar syphar commented Feb 8, 2026

  • store the crate-count on the repositories table. Updated via CLI, or after each build when we finish the release.
  • after we processed all changes in the index watcher, we to a bulk activity where we deprioritize the workspaces we find.

caveats:

  • this will only work when we actually find the repo in github/gitlab etc. Otherwise we don't have a column in the repositories table. I didn't want to base everything onto the releases.repository column. ( happy to discuss)
  • some edge cases depending on where and how you use the build-queue classes. I didn't want the deprioritization logic in process_version_added, because the query is nontrivial.

deploy checklist

  • after deploy, one of the repo-stats backfill commands have to be run to the point that the crate-counts are filled initially.
  • I can probably also remove some of the hardcoded crate priorities via prefixes.

@syphar syphar requested a review from a team as a code owner February 8, 2026 22:03
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Feb 8, 2026
@syphar syphar force-pushed the crate-count-per-repo branch from dc32b2f to a39de72 Compare February 8, 2026 22:03
@syphar syphar self-assigned this Feb 8, 2026
@syphar syphar force-pushed the crate-count-per-repo branch 2 times, most recently from ff5f042 to c4e50da Compare February 8, 2026 22:18
@syphar syphar force-pushed the crate-count-per-repo branch from c4e50da to facec16 Compare February 8, 2026 23:22
@syphar syphar merged commit 0262b95 into rust-lang:main Feb 9, 2026
13 checks passed
@syphar syphar deleted the crate-count-per-repo branch February 9, 2026 10:30
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Feb 9, 2026
@GuillaumeGomez
Copy link
Member

To be noted: would be nice to have the config documented somewhere.

@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Feb 10, 2026
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