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

chore: fix some function names in comment #6230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sjtucoder
Copy link

@sjtucoder sjtucoder commented Feb 7, 2025

Tracking issue

Why are the changes needed?

fix some function names in comment

What changes were proposed in this pull request?

How was this patch tested?

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Summary by Bito

Documentation improvements across multiple files, focusing on function name corrections in comments. Updates include changing plural to singular form for parse functions in metrics_manager.go and fixing casing in subtask_exec_context.go for NewSubTaskExecutionContext comment.

Unit tests added: False

Estimated effort to review (1-5, lower is better): 1

Copy link

welcome bot commented Feb 7, 2025

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

@flyte-bot
Copy link
Collaborator

flyte-bot commented Feb 7, 2025

Code Review Agent Run #c4c7d0

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: b16b636..b16b636
    • flyteadmin/pkg/manager/impl/metrics_manager.go
    • flyteplugins/go/tasks/plugins/array/k8s/subtask_exec_context.go
  • Files skipped - 0
  • Tools
    • Golangci-lint (Linter) - ✖︎ Failed
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

AI Code Review powered by Bito Logo

@flyte-bot
Copy link
Collaborator

flyte-bot commented Feb 7, 2025

Changelist by Bito

This pull request implements the following key changes.

Key Change Files Impacted
Documentation - Comment Function Name Corrections

metrics_manager.go - Fixed function names in comments from plural to singular form

subtask_exec_context.go - Corrected casing in function name comment

@flyte-bot
Copy link
Collaborator

flyte-bot commented Feb 7, 2025

Code Review Agent Run #c80cae

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: b16b636..b16b636
    • flyteadmin/pkg/manager/impl/metrics_manager.go
    • flyteplugins/go/tasks/plugins/array/k8s/subtask_exec_context.go
  • Files skipped - 0
  • Tools
    • Golangci-lint (Linter) - ✖︎ Failed
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

AI Code Review powered by Bito Logo

Copy link

codecov bot commented Feb 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.86%. Comparing base (5197f60) to head (b16b636).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6230   +/-   ##
=======================================
  Coverage   36.85%   36.86%           
=======================================
  Files        1318     1318           
  Lines      134543   134543           
=======================================
+ Hits        49590    49597    +7     
+ Misses      80632    80625    -7     
  Partials     4321     4321           
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 51.94% <ø> (+0.02%) ⬆️
unittests-flytecopilot 30.99% <ø> (ø)
unittests-flytectl 62.29% <ø> (ø)
unittests-flyteidl 7.23% <ø> (ø)
unittests-flyteplugins 53.91% <ø> (ø)
unittests-flytepropeller 42.78% <ø> (ø)
unittests-flytestdlib 55.35% <ø> (+0.01%) ⬆️

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.

@@ -501,7 +501,7 @@ func (m *MetricsManager) parseNodeExecutions(ctx context.Context, nodeExecutions
return nil
}

// parseSubworkflowNodeExecutions partitions the SubworkflowNode execution into a collection of Categorical and
// parseSubworkflowNodeExecution partitions the SubworkflowNode execution into a collection of Categorical and
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you @sjtucoder
Not sure I get the motivation for doing this, and I'm not clear on the effects

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