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

refactor(clickhouse): Streamline query task initiation #22229

Closed
wants to merge 1 commit into from

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented May 9, 2024

Problem

Currently our query initiation behavior is a bit different in tests and outside of them. Only in production do we use transaction.on_commit.

Changes

Let's be consistent between tests and prod.

How did you test this code?

Just needs all the tests to pass.

@Twixes Twixes requested a review from a team May 9, 2024 15:43
Copy link
Contributor

@aspicer aspicer left a comment

Choose a reason for hiding this comment

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

👍

@Twixes
Copy link
Collaborator Author

Twixes commented May 9, 2024

Unfortunately it seems while transaction.on_commit generally can be tested, here this isn't quite working. Might not be worth a deeper investigation.

@Twixes Twixes marked this pull request as draft May 9, 2024 16:29
@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

@Twixes Twixes closed this May 22, 2024
@Twixes Twixes deleted the streamline-query-task-init branch May 22, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants