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

feat: update new task type(TaskType_STANDARD, TaskType_PERSISTENT, TaskType_PERSISTENT_CACHE) #3540

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

gaius-qi
Copy link
Member

@gaius-qi gaius-qi commented Sep 26, 2024

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@gaius-qi gaius-qi added the enhancement New feature or request label Sep 26, 2024
@gaius-qi gaius-qi added this to the v2.2.0 milestone Sep 26, 2024
@gaius-qi gaius-qi self-assigned this Sep 26, 2024
@gaius-qi gaius-qi requested a review from a team as a code owner September 26, 2024 06:09
@gaius-qi gaius-qi changed the title feat: update new task type(TaskType_STANDARD, TaskType_PERSIST, TaskT… feat: update new task type(TaskType_STANDARD, TaskType_PERSIST, TaskType_PERSIST_CACHE) Sep 26, 2024
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 5.26316% with 54 lines in your changes missing coverage. Please review.

Project coverage is 51.87%. Comparing base (1afe79e) to head (74c3d2d).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
scheduler/rpcserver/scheduler_server_v2.go 0.00% 32 Missing ⚠️
scheduler/resource/seed_peer_client_mock.go 0.00% 14 Missing ⚠️
scheduler/service/service_v2.go 0.00% 8 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3540      +/-   ##
==========================================
- Coverage   51.88%   51.87%   -0.01%     
==========================================
  Files         190      190              
  Lines       20483    20483              
==========================================
- Hits        10628    10626       -2     
  Misses       9047     9047              
- Partials      808      810       +2     
Flag Coverage Δ
unittests 51.87% <5.26%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
scheduler/metrics/metrics.go 8.24% <ø> (ø)
scheduler/resource/task.go 77.43% <100.00%> (ø)
scheduler/service/service_v1.go 80.37% <100.00%> (ø)
scheduler/service/service_v2.go 81.01% <0.00%> (ø)
scheduler/resource/seed_peer_client_mock.go 16.56% <0.00%> (ø)
scheduler/rpcserver/scheduler_server_v2.go 1.83% <0.00%> (ø)

... and 2 files with indirect coverage changes

@gaius-qi gaius-qi changed the title feat: update new task type(TaskType_STANDARD, TaskType_PERSIST, TaskType_PERSIST_CACHE) feat: update new task type(TaskType_STANDARD, TaskType_PERSISTENT, TaskType_PERSISTENT_CACHE) Sep 26, 2024
…skType_PERSISTENT_CACHE)

Signed-off-by: Gaius <gaius.qi@gmail.com>
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@fcgxz2003 fcgxz2003 left a comment

Choose a reason for hiding this comment

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

LGTM

@gaius-qi gaius-qi merged commit 9cd6f41 into main Sep 27, 2024
29 checks passed
@gaius-qi gaius-qi deleted the feature/task-type branch September 27, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants