Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate CDN & build_queue to SQLx #2492

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

syphar
Copy link
Member

@syphar syphar commented Apr 10, 2024

Next block of migrations.

I intentionally kept the BuilldQueue methods sync so process_next_crate works seamlessly for now.

Apart from some small usages in the tests, the consistency check, this is the last piece of the sqlx migration. ( the PR for the rest is ready too).

I still don't like the amount of block_on in the tests, but that's a topic for more refactorings.

@syphar syphar requested a review from a team as a code owner April 10, 2024 13:38
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Apr 10, 2024
@syphar syphar force-pushed the async-build-queue-try-less branch from 9833e27 to 9ac8df4 Compare April 10, 2024 15:07
@syphar syphar marked this pull request as draft April 12, 2024 18:54
@syphar
Copy link
Member Author

syphar commented Apr 12, 2024

I discovered some more edge cases to fix

@syphar syphar force-pushed the async-build-queue-try-less branch from 777fa2c to 132a352 Compare April 17, 2024 16:26
@syphar syphar marked this pull request as ready for review April 17, 2024 16:27
@syphar syphar force-pushed the async-build-queue-try-less branch from 132a352 to 0b02b5a Compare June 24, 2024 15:43
@syphar syphar force-pushed the async-build-queue-try-less branch 2 times, most recently from e4a8244 to 5f32689 Compare September 23, 2024 03:37
@syphar syphar marked this pull request as draft September 23, 2024 11:33
@syphar syphar marked this pull request as ready for review September 23, 2024 14:25
@syphar
Copy link
Member Author

syphar commented Sep 23, 2024

@GuillaumeGomez I think this is ready for a review now,

generally one of the big sqlx refactors again, it's much code, but the pattern is similar.

After this I believe it's not much left with old postgres.

@GuillaumeGomez
Copy link
Member

Code looks good to me (took me a while to get through it ^^').

@syphar syphar merged commit 560d5f9 into rust-lang:master Sep 24, 2024
9 checks passed
@syphar syphar deleted the async-build-queue-try-less branch September 24, 2024 12:33
@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 Sep 24, 2024
@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 Oct 14, 2024
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