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

backend: use v2 tables through views where possible (v2 phase 3) #5119

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

uael
Copy link
Collaborator

@uael uael commented Jan 23, 2025

No description provided.

@uael uael requested a review from rubenfiszel as a code owner January 23, 2025 13:04
@uael uael marked this pull request as draft January 23, 2025 13:04
Copy link

cloudflare-workers-and-pages bot commented Jan 23, 2025

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: e62e63a
Status:⚡️  Build in progress...

View logs

@uael uael force-pushed the uael/v2_phase_3 branch 3 times, most recently from 0d3095a to 1a2839a Compare January 24, 2025 10:28
Copy link

Meticulous was unable to execute a test run for this PR because the most recent commit is associated with multiple PRs. To execute a test run, please try pushing up a new commit that is only associated with this PR.

Last updated for commit a1df0dd. This comment will update as new commits are pushed.

Copy link
Contributor

@HugoCasa HugoCasa left a comment

Choose a reason for hiding this comment

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

[phase 3 review]

  • i would definitely change the view names to include view (e.g. _view)
  • and i wouldn't use view triggers for update but directly update in the new tables

Copy link
Contributor

@HugoCasa HugoCasa left a comment

Choose a reason for hiding this comment

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

[phase 1 review]

  • looks good to me, mostly comprehension questions

backend/migrations/20250117124431_v2_job.up.sql Outdated Show resolved Hide resolved
backend/migrations/20250117124431_v2_job.up.sql Outdated Show resolved Hide resolved
backend/migrations/20250117124743_v2_job_queue_sync.up.sql Outdated Show resolved Hide resolved
backend/migrations/20250117124743_v2_job_queue_sync.up.sql Outdated Show resolved Hide resolved
Copy link
Contributor

@HugoCasa HugoCasa left a comment

Choose a reason for hiding this comment

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

[phase 2 review]
looks good to me

backend/windmill-queue/src/jobs.rs Outdated Show resolved Hide resolved
@uael uael force-pushed the uael/v2_phase_3 branch 6 times, most recently from d043808 to 06e576d Compare January 28, 2025 05:51
@uael uael changed the title v2 migration up to phase 3 backend: use v2 tables through views where possible (v2 phase 3) Jan 28, 2025
@uael uael marked this pull request as ready for review January 28, 2025 06:13
@uael uael force-pushed the uael/v2_phase_3 branch 8 times, most recently from f475f6f to ec22839 Compare January 30, 2025 08:16
@rubenfiszel rubenfiszel force-pushed the main branch 2 times, most recently from 3069a7d to 0b0e564 Compare January 31, 2025 18:28
@uael uael force-pushed the uael/v2_phase_3 branch 16 times, most recently from 3353b92 to e7aace2 Compare February 4, 2025 16:04
@uael uael force-pushed the uael/v2_phase_3 branch 4 times, most recently from d1b428a to 53e6864 Compare February 6, 2025 09:17
@rubenfiszel rubenfiszel merged commit d51c308 into main Feb 6, 2025
7 of 8 checks passed
@rubenfiszel rubenfiszel deleted the uael/v2_phase_3 branch February 6, 2025 11:43
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants