-
Notifications
You must be signed in to change notification settings - Fork 728
fix: bq depsdev deadlock and a couple of fixes and optimizations #4238
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
Open
themarolt
wants to merge
22
commits into
main
Choose a base branch
from
fix/bq-depsdev-deadlock
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f6249a2
fix: trying to prevent a deadlock
themarolt eafcb53
fix: using proper tables for nuget and go
themarolt 9b77640
fix: flag to update constraints
themarolt 9fd28f7
chore: improvements to monitoring
themarolt 584cf90
chore: more states
themarolt c4e31ac
fix: use the same env as in deployment
themarolt ba96498
fix: better deploy script and monitor fix
themarolt 954a751
fix: monitor column spacing fix
themarolt 1f3fda0
fix: dont be done prematurely
themarolt fd18287
fix: index creation improvements
themarolt 755a317
chore: script to fix unique index on packages_dependents
themarolt 73ad88b
fix: better index creation
themarolt 078ccae
Merge branch 'main' into fix/bq-depsdev-deadlock
themarolt aac2ccd
Merge remote-tracking branch 'origin/main' into fix/bq-depsdev-deadlock
themarolt 0f33398
fix: comments
themarolt 719ce84
Merge remote-tracking branch 'origin/main' into fix/bq-depsdev-deadlock
themarolt e2ca951
fix: comments
themarolt 826b42e
Merge remote-tracking branch 'origin/main' into fix/bq-depsdev-deadlock
themarolt d369171
fix: comments
themarolt 61b4b31
Merge remote-tracking branch 'origin/main' into fix/bq-depsdev-deadlock
themarolt f56818a
fix: comments
themarolt 26f0680
fix: comments
themarolt 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
Some comments aren't visible on the classic Files Changed page.
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
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
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
8 changes: 8 additions & 0 deletions
8
services/apps/packages_worker/src/deps-dev/activities/setJobStep.ts
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,8 @@ | ||
| import { mergeJobTableRowCounts } from '@crowd/data-access-layer' | ||
|
|
||
| import { getPackagesDb } from '../../db' | ||
|
|
||
| export async function setJobStep(input: { jobId: number; step: string }): Promise<void> { | ||
| const qx = await getPackagesDb() | ||
| await mergeJobTableRowCounts(qx, input.jobId, { 'meta:step': input.step }) | ||
| } |
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.