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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

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: 88cbba0
Status: ✅  Deploy successful!
Preview URL: https://aa575e61.windmill.pages.dev
Branch Preview URL: https://uael-v2-phase-3.windmill.pages.dev

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 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
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