-
Notifications
You must be signed in to change notification settings - Fork 4
diff api tweaks #58
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
diff api tweaks #58
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1402503
overhaul contribution diff worker
mitchellwrosen 35c8ccf
generalize CodebaseRuntime
mitchellwrosen 275055d
make diffCausals a single transaction
mitchellwrosen acf63d1
compute diff while holding lock on job row
mitchellwrosen 6c7d2ad
break diffCausals up
mitchellwrosen 3318aa0
model diff error and diff still computing states explicitly in the API
mitchellwrosen 738c7c1
⅄ main → diff-api-tweaks
mitchellwrosen e0dee5e
ping background worker in contribution diffs endpoint
mitchellwrosen f87012e
flatten json
mitchellwrosen 9fd2d38
⅄ main → diff-api-tweaks
mitchellwrosen 1fb0602
hydrate terms with more parallelism
mitchellwrosen d1cb4d4
tweak indentation
mitchellwrosen ffc243c
fetch type decls in parallel
mitchellwrosen 165d503
⅄ main → diff-api-tweaks
mitchellwrosen 126e1e2
⅄ main → diff-api-tweaks
mitchellwrosen 169c1e5
store namespace diff errors
mitchellwrosen 76fe8d8
change "errorKind" to "tag" in error json
mitchellwrosen afde807
⅄ main → diff-api-tweaks
mitchellwrosen 4c256d1
don't ping background worker in get contribution diff endpoint
mitchellwrosen 7ed3d75
check notification channels on startup
mitchellwrosen d6e926c
address more PR comments
mitchellwrosen c5c79f8
⅄ main → diff-api-tweaks
mitchellwrosen 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,3 @@ | ||
| -- Delete all previously-computed namespace diffs, because the diff payload is different now (we explicitly store | ||
| -- errors). | ||
| TRUNCATE namespace_diffs; | ||
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.
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.
Depending on whether you choose to re-queue diffs when the page is loaded and it's not cached, you may want to repopulate the queue with all existing contribution diffs after wiping them out.
If you have it set to requeue on page load then no need