-
-
Notifications
You must be signed in to change notification settings - Fork 853
Realtime and task run performance improvements #2158
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
0ffd481
Add createdAt filter to realtime subscribing with tags
ericallam d39db91
Filter realtime colums and expose ability to skip some columns
ericallam f4a7369
Add sharding support for electric
ericallam 089c935
Use unkey cache for the created at filter caching
ericallam 234af54
Remove 2 unused indexes on TaskRun
ericallam 59e6783
Run list now filters by a single runtime environment
ericallam 211d116
Remove project ID indexes
ericallam d489709
Use clickhouse in task list aggregation queries instead of pg (keep p…
ericallam 30813f1
WIP clickhouse powered runs list
ericallam be70f25
Improve the query to get the latest tasks for the task list presenter
ericallam f3e2643
Update the usage task list to use clickhouse
ericallam 07967bd
Implement next runs list powered by clickhouse
ericallam a86417c
Add new index for TaskRun for the runs list, by environment ID
ericallam d4c6d06
Add runTags gin index
ericallam 532067d
Handle possibly malicious inputs
ericallam a3c7ea3
Ignore claude settings
ericallam 47d43c4
Better handling not finding an environment on the schedule page
ericallam 7666478
Use ms since epoch in test, not seconds
ericallam 0a98b65
Remove unused function
ericallam eb957a6
Fix test
ericallam 59f99cf
Use an env var for the realtime maximum createdAt filter duration (de…
ericallam b080384
Fixed the query builder to correct the group by / order by order
ericallam 25e6267
Make sure runs.list still works
ericallam 39e97de
Create small-birds-arrive.md
ericallam 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"permissions": { | ||
"allow": [ | ||
"Bash(grep:*)", | ||
"Bash(rg:*)", | ||
"Bash(find:*)", | ||
"Bash(/Users/eric/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg \"\\.findFirst|\\.findMany|\\.findUnique|\\.create|\\.update|\\.delete|\\.upsert|\\.count|\\.aggregate\" --type ts -A 3 -B 1)", | ||
"Bash(/Users/eric/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg \"taskRun\\.\" --type ts -B 2 -A 2)", | ||
"WebFetch(domain:clickhouse.com)" | ||
], | ||
"deny": [] | ||
} | ||
} | ||
ericallam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.