Skip to content

test: Wrap provisionerd channel closes in sync.Once #1181

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 26, 2022
Merged

Conversation

kylecarbs
Copy link
Member

This caused a few flakes, so figured I'd tackle all of them:
https://github.com/coder/coder/runs/6167856950?check_suite_focus=true#step:9:246

@kylecarbs kylecarbs requested a review from coadler April 26, 2022 02:12
@kylecarbs kylecarbs self-assigned this Apr 26, 2022
@kylecarbs kylecarbs enabled auto-merge (squash) April 26, 2022 02:12
@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #1181 (abbcea5) into main (744a00a) will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1181      +/-   ##
==========================================
+ Coverage   66.16%   66.34%   +0.18%     
==========================================
  Files         257      263       +6     
  Lines       16394    16615     +221     
  Branches      156      156              
==========================================
+ Hits        10847    11024     +177     
- Misses       4417     4453      +36     
- Partials     1130     1138       +8     
Flag Coverage Δ
unittest-go-macos-latest 53.60% <ø> (?)
unittest-go-postgres- 65.49% <ø> (-0.02%) ⬇️
unittest-go-ubuntu-latest 56.23% <ø> (ø)
unittest-go-windows-2022 53.27% <ø> (?)
unittest-js 67.45% <ø> (ø)
Impacted Files Coverage Δ
peerbroker/dial.go 77.04% <0.00%> (-6.56%) ⬇️
peerbroker/proxy.go 58.72% <0.00%> (-3.49%) ⬇️
coderd/workspaceagents.go 55.59% <0.00%> (-2.56%) ⬇️
provisioner/terraform/provision.go 70.96% <0.00%> (-0.44%) ⬇️
agent/usershell/usershell_darwin.go 100.00% <0.00%> (ø)
agent/usershell/usershell_windows.go 83.33% <0.00%> (ø)
cli/cliui/cliui_darwin.go 0.00% <0.00%> (ø)
cli/ssh_windows.go 0.00% <0.00%> (ø)
pty/pty_windows.go 70.14% <0.00%> (ø)
pty/start_windows.go 66.95% <0.00%> (ø)
... 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 744a00a...abbcea5. Read the comment docs.

@kylecarbs kylecarbs requested a review from Emyrk April 26, 2022 14:43
@kylecarbs kylecarbs merged commit 603b7da into main Apr 26, 2022
@kylecarbs kylecarbs deleted the wrapclose branch April 26, 2022 14:44
kylecarbs added a commit that referenced this pull request Jun 10, 2022
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