Skip to content
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

[ws-daemon] Pass error by value instead of reference #5358

Merged
merged 2 commits into from
Aug 24, 2021

Conversation

princerachit
Copy link
Contributor

fixes #5349

@roboquat roboquat added size/S and removed size/XS labels Aug 24, 2021
@codecov
Copy link

codecov bot commented Aug 24, 2021

Codecov Report

Merging #5358 (5e361ec) into main (f646642) will increase coverage by 23.17%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##           main    #5358       +/-   ##
=========================================
+ Coverage      0   23.17%   +23.17%     
=========================================
  Files         0       11       +11     
  Lines         0     1929     +1929     
=========================================
+ Hits          0      447      +447     
- Misses        0     1423     +1423     
- Partials      0       59       +59     
Flag Coverage Δ
components-ws-daemon-app 23.17% <66.66%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
components/ws-daemon/pkg/content/archive.go 58.88% <66.66%> (ø)
components/ws-daemon/pkg/content/tar.go 46.71% <0.00%> (ø)
components/ws-daemon/pkg/content/service.go 0.00% <0.00%> (ø)
components/ws-daemon/pkg/resources/dispatch.go 0.00% <0.00%> (ø)
components/ws-daemon/pkg/internal/session/store.go 19.38% <0.00%> (ø)
...onents/ws-daemon/pkg/internal/session/workspace.go 50.73% <0.00%> (ø)
components/ws-daemon/pkg/quota/size.go 87.30% <0.00%> (ø)
components/ws-daemon/pkg/resources/controller.go 33.69% <0.00%> (ø)
components/ws-daemon/pkg/content/initializer.go 0.00% <0.00%> (ø)
... and 2 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 f646642...5e361ec. Read the comment docs.

@princerachit
Copy link
Contributor Author

I tested this in preview env and it works as expected. I request the reviewers to test out this PR .

@princerachit princerachit changed the title Pass error by value instead of reference [ws-daemon] Pass error by value instead of reference Aug 24, 2021
Copy link
Contributor

@mrsimonemms mrsimonemms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this fixes the issue when saving changes 🥳

@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: e4142c096ba63c675e862ec26375bcbaa82a727f

@roboquat
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MrSimonEmms

Associated issue: #5349

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat merged commit 2d66afc into main Aug 24, 2021
@roboquat roboquat deleted the prs/remove-suspected-changes branch August 24, 2021 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workspaces are not being backed up on EU15 cluster
4 participants