Skip to content

Conversation

@f-f
Copy link
Member

@f-f f-f commented Jan 11, 2026

This PR integrates into the Job Queue framework the three "Registry scripts" that we run daily to keep data tidy: the package transferrer, the package set upgrades, and the legacy importer - as detailed here

The patch is simpler than I though it would be, and I think that's mainly because we only deal with packages that are already in the registry, rather than packages that could possibly be missing. As a result, the package transfer script and the package set updater are deprecated, while the legacy importer stays in place since it's the only way we have to bootstrap the registry from scratch at the moment.

EDIT: the above approach didn't work because of the complex race conditions that come from running more code interacting with the registry concurrently with the jobs (that's why we have the queue, right!). So we are going to keep the daily cron jobs in separate scripts, but wire them up so that they hit the API instead of directly editing the Registry.

Somewhere in the middle of this PR I noticed that the matrix tests for detecting a compiler at the start were discarded, so I added them back.

@f-f f-f requested a review from thomashoneyman January 11, 2026 23:08
Copy link
Member

@thomashoneyman thomashoneyman left a comment

Choose a reason for hiding this comment

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

Noticed a few things that need to be resolved before we merge. Also, I went ahead and removed the daily jobs workflow from the registry repository since this replaces it:
purescript/registry#525

@f-f f-f changed the title Integrate registry cron scripts into the job queue Rework daily cron jobs to hit the API instead of working directly on the Registry Jan 17, 2026
@thomashoneyman thomashoneyman force-pushed the f-f/cronjobs-in-job-queue branch from 92b322a to 4a7ce6d Compare January 18, 2026 16:51
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.

3 participants