Skip to content

fix: Return from update loop when job completes #1121

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 1 commit into from
Apr 25, 2022
Merged

Conversation

kylecarbs
Copy link
Member

Update was running forever, which stopped jobs from timing
out unless a restart occurred. This also fixes complete properly
reporting an error.

@kylecarbs kylecarbs requested a review from coadler April 25, 2022 03:23
@kylecarbs kylecarbs self-assigned this Apr 25, 2022
@kylecarbs kylecarbs enabled auto-merge (squash) April 25, 2022 03:24
@codecov
Copy link

codecov bot commented Apr 25, 2022

Codecov Report

Merging #1121 (5a093a8) into main (0c042dc) will decrease coverage by 8.98%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main    #1121      +/-   ##
==========================================
- Coverage   66.54%   57.56%   -8.99%     
==========================================
  Files         259      261       +2     
  Lines       16159    16194      +35     
  Branches      156      156              
==========================================
- Hits        10753     9322    -1431     
- Misses       4301     5854    +1553     
+ Partials     1105     1018      -87     
Flag Coverage Δ
unittest-go-macos-latest 53.66% <83.33%> (-0.19%) ⬇️
unittest-go-postgres- ?
unittest-go-ubuntu-latest 56.32% <83.33%> (-0.04%) ⬇️
unittest-go-windows-2022 53.22% <83.33%> (-0.06%) ⬇️
unittest-js 67.28% <ø> (ø)
Impacted Files Coverage Δ
provisionerd/provisionerd.go 75.20% <83.33%> (-2.51%) ⬇️
coderd/database/queries.sql.go 0.00% <0.00%> (-81.80%) ⬇️
coderd/devtunnel/tunnel.go 0.00% <0.00%> (-79.67%) ⬇️
coderd/database/pubsub.go 0.00% <0.00%> (-77.78%) ⬇️
coderd/database/db.go 0.00% <0.00%> (-55.18%) ⬇️
coderd/database/migrate.go 0.00% <0.00%> (-45.00%) ⬇️
cli/cliui/agent.go 77.19% <0.00%> (-5.27%) ⬇️
coderd/coderdtest/coderdtest.go 93.83% <0.00%> (-5.05%) ⬇️
cli/server.go 54.33% <0.00%> (-4.05%) ⬇️
cli/ssh.go 36.76% <0.00%> (-2.61%) ⬇️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c042dc...5a093a8. Read the comment docs.

Update was running forever, which stopped jobs from timing
out unless a restart occurred. This also fixes complete properly
reporting an error.
@kylecarbs kylecarbs merged commit a6ea995 into main Apr 25, 2022
@kylecarbs kylecarbs deleted the fixcomplete branch April 25, 2022 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants