-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
test(insights): Run all tests with filters
-based insights using HogQL
#21861
Merged
Merged
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3407f75
ci: Run core backend tests with both HogQL and legacy insights
Twixes adb4fe8
Double the number of tests
Twixes e8e59c6
Fix env var setting
Twixes 1f2469c
Add some HOGQL_INSIGHTS_OVERRIDE overrides in tests
Twixes f15ecb9
Mark `Insight.last_refresh` as deprecated
Twixes dd9aa72
Fix bad merge
Twixes 88fa51d
Update query snapshots
github-actions[bot] e5af07c
Update query snapshots
github-actions[bot] b83c6b9
Update test_team.py
Twixes d91cd20
Actually remove legacy backend from matrix
Twixes c32b377
Update test_fetch_from_cache.py
Twixes b28e699
Use `update_cached_state` in `calculate_for_query_based_insight()`
Twixes e1160c5
Clean up CI changes and a comment
Twixes 483d786
Fix `update_cached_state` typing
Twixes 1a8dffd
Update test_fetch_from_cache.py
Twixes ee7e7c0
Update test_insight_cache.py
Twixes 8fa0b5f
Update test_insight_cache.py
Twixes 0c0bb44
Clarify `generate_insight_cache_key` as legacy function
Twixes 95cc8be
Update test_should_refresh_insight.py
Twixes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has not been used in a long time and not sure it ever actually worked. The actual
last_refresh
is in InsightCachingState at the insight level, and in the cached result packages themselves