Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Add lock around read/write of circular buffer #1258

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
May 2, 2022
Merged

Conversation

kylecarbs
Copy link
Member

@kylecarbs kylecarbs requested a review from coadler May 2, 2022 17:17
@kylecarbs kylecarbs self-assigned this May 2, 2022
@kylecarbs kylecarbs enabled auto-merge (squash) May 2, 2022 17:18
@codecov
Copy link

codecov bot commented May 2, 2022

Codecov Report

Merging #1258 (0945f3d) into main (3176e10) will increase coverage by 8.55%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1258      +/-   ##
==========================================
+ Coverage   57.62%   66.18%   +8.55%     
==========================================
  Files         275      275              
  Lines       17948    17952       +4     
  Branches      216      216              
==========================================
+ Hits        10343    11881    +1538     
+ Misses       6475     4840    -1635     
- Partials     1130     1231     +101     
Flag Coverage Δ
unittest-go-macos-latest 53.41% <100.00%> (-0.05%) ⬇️
unittest-go-postgres- 65.12% <100.00%> (?)
unittest-go-ubuntu-latest 55.89% <100.00%> (+0.11%) ⬆️
unittest-go-windows-2022 51.66% <0.00%> (-0.04%) ⬇️
unittest-js 70.69% <ø> (ø)
Impacted Files Coverage Δ
agent/agent.go 65.90% <100.00%> (+0.28%) ⬆️
provisionerd/provisionerd.go 76.70% <0.00%> (-0.14%) ⬇️
coderd/provisionerdaemons.go 63.98% <0.00%> (+1.50%) ⬆️
coderd/templates.go 62.29% <0.00%> (+1.63%) ⬆️
peer/channel.go 86.12% <0.00%> (+1.73%) ⬆️
peer/conn.go 81.34% <0.00%> (+2.73%) ⬆️
peerbroker/listen.go 87.39% <0.00%> (+3.36%) ⬆️
cli/server.go 58.79% <0.00%> (+3.84%) ⬆️
coderd/coderdtest/coderdtest.go 98.87% <0.00%> (+5.04%) ⬆️
coderd/database/migrate.go 45.00% <0.00%> (+45.00%) ⬆️
... and 4 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 3176e10...0945f3d. Read the comment docs.

@kylecarbs kylecarbs merged commit 3d96785 into main May 2, 2022
@kylecarbs kylecarbs deleted the circlock branch May 2, 2022 17:31
@misskniss misskniss added this to the V2 Beta milestone May 15, 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.

3 participants