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

[Storage] Refactor computation result status storage #7084

Merged
merged 4 commits into from
Mar 5, 2025

Conversation

zhangchiqing
Copy link
Member

@zhangchiqing zhangchiqing commented Feb 21, 2025

Working towards #6515

Refactor computation result status storage

@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 96.77419% with 1 line in your changes missing coverage. Please review.

Project coverage is 41.25%. Comparing base (7ea8eb7) to head (41dc7dd).

Files with missing lines Patch % Lines
cmd/execution_builder.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7084      +/-   ##
==========================================
+ Coverage   41.23%   41.25%   +0.02%     
==========================================
  Files        2155     2155              
  Lines      189329   189323       -6     
==========================================
+ Hits        78067    78111      +44     
+ Misses     104760   104700      -60     
- Partials     6502     6512      +10     
Flag Coverage Δ
unittests 41.25% <96.77%> (+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.

@zhangchiqing zhangchiqing marked this pull request as ready for review February 26, 2025 17:22
@zhangchiqing zhangchiqing requested a review from a team as a code owner February 26, 2025 17:22
@@ -82,7 +82,6 @@ const (
// code for ComputationResult upload status storage
// NOTE: for now only GCP uploader is supported. When other uploader (AWS e.g.) needs to
// be supported, we will need to define new code.
codeComputationResults = 66
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be deprecated instead of removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is now an unused variable after the refactor. The same variable is now defined in storage/operation/prefix.go , that's why I had to remove it.

@@ -82,7 +82,6 @@ const (
// code for ComputationResult upload status storage
// NOTE: for now only GCP uploader is supported. When other uploader (AWS e.g.) needs to
// be supported, we will need to define new code.
codeComputationResults = 66
Copy link
Contributor

Choose a reason for hiding this comment

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

how about

_ = 66 // used by ComputationResults in storage/operation

@zhangchiqing zhangchiqing added this pull request to the merge queue Mar 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 4, 2025
@zhangchiqing zhangchiqing enabled auto-merge March 5, 2025 01:34
@zhangchiqing zhangchiqing added this pull request to the merge queue Mar 5, 2025
github-merge-queue bot pushed a commit that referenced this pull request Mar 5, 2025
…status-storage

[Storage] Refactor computation result status storage
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 5, 2025
@zhangchiqing zhangchiqing added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 5, 2025
@zhangchiqing zhangchiqing added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 5, 2025
@zhangchiqing zhangchiqing added this pull request to the merge queue Mar 5, 2025
Merged via the queue into master with commit a90d2e0 Mar 5, 2025
56 checks passed
@zhangchiqing zhangchiqing deleted the leo/refactor-computation-result-status-storage branch March 5, 2025 15:34
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.

4 participants