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

Fix chall cancel commit #1359

Merged
merged 2 commits into from
Dec 24, 2023
Merged

Fix chall cancel commit #1359

merged 2 commits into from
Dec 24, 2023

Conversation

Hitenjain14
Copy link
Member

Changes

Fixes

Tests

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

  • 0chain:
  • gosdk:
  • system_test:
  • zboxcli:
  • zwalletcli:
  • Other: ...

@codecov-commenter
Copy link

codecov-commenter commented Dec 24, 2023

Codecov Report

Attention: 30 lines in your changes are missing coverage. Please review.

Comparison is base (fdde95b) 23.65% compared to head (ce7b319) 23.64%.

Files Patch % Lines
...de/go/0chain.net/blobbercore/allocation/workers.go 0.00% 11 Missing ⚠️
...ain.net/blobbercore/allocation/allocationchange.go 0.00% 9 Missing ⚠️
...et/blobbercore/handler/object_operation_handler.go 0.00% 5 Missing ⚠️
...de/go/0chain.net/blobbercore/writemarker/worker.go 0.00% 4 Missing ⚠️
.../0chain.net/blobbercore/handler/storage_handler.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@               Coverage Diff               @@
##           sprint-1.12    #1359      +/-   ##
===============================================
- Coverage        23.65%   23.64%   -0.02%     
===============================================
  Files               87       87              
  Lines            10094    10099       +5     
===============================================
  Hits              2388     2388              
- Misses            7410     7415       +5     
  Partials           296      296              
Flag Coverage Δ
Unit-Tests 23.64% <0.00%> (-0.02%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Hitenjain14 Hitenjain14 changed the base branch from sprint-1.12 to staging December 24, 2023 11:54
Copy link
Member

@dabasov dabasov left a comment

Choose a reason for hiding this comment

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

lgtm

@dabasov dabasov merged commit c7460fd into staging Dec 24, 2023
5 checks passed
@dabasov dabasov deleted the fix/chall-cancel-commit branch December 24, 2023 11:57
dabasov pushed a commit that referenced this pull request Jan 21, 2024
* check prev root and add constraint (#1356)

* Hotfix update allocation worker

* Fix lint

* Fix

* Fixed updateAllocationInDB check as well

* check prev root and add constraint

* check if alloc is updated

* rmv check

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* add index for connection id (#1358)

* Fix chall cancel commit (#1359)

* fix challenge cancel commit

* change conn lifetime

* Fixed updateAllocationInDB check as well (#1357)

* fix alloc lock for commit (#1363)

* Fix get round (#1361)

* check prev root and add constraint (#1356)

* Hotfix update allocation worker

* Fix lint

* Fix

* Fixed updateAllocationInDB check as well

* check prev root and add constraint

* check if alloc is updated

* rmv check

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* add index for connection id (#1358)

* get round on start

* fix hook

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* fix alloc lock for commit

* cleanup

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* fix max objects in dir

* fix ut

* fix commit lock (#1365)

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>
Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com>
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.

None yet

3 participants