Skip to content

Conversation

@ImMin5
Copy link
Member

@ImMin5 ImMin5 commented May 23, 2025

Category

  • New feature
  • Bug fix
  • Improvement
  • Refactor
  • etc

Description

Known issue

@ImMin5 ImMin5 requested a review from Copilot May 23, 2025 06:37
@ImMin5 ImMin5 self-assigned this May 23, 2025
@ImMin5 ImMin5 added the enhancement New feature or request label May 23, 2025
@ImMin5 ImMin5 merged commit aa40d3a into cloudforet-io:master May 23, 2025
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Renames the workspace_name field to name in the cost report protobuf for naming consistency.

  • Updated CostReportQuery to use name instead of workspace_name.
  • Updated CostReportInfo to use name instead of workspace_name.
Comments suppressed due to low confidence (1)

proto/spaceone/api/cost_analysis/v1/cost_report.proto:81

  • [nitpick] The new field name ‘name’ is very generic and may cause ambiguity. Consider using a more descriptive identifier like ‘report_name’ or keeping ‘workspace_name’ if it specifically refers to the workspace.
string name = 6;

string issue_date = 5;
// +optional
string workspace_name = 6;
string name = 6;
Copy link

Copilot AI May 23, 2025

Choose a reason for hiding this comment

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

Renaming this field is a breaking change for existing clients. Consider marking the old workspace_name tag as deprecated = true and providing migration guidance or reserving the old field number.

Suggested change
string name = 6;
// Deprecated: Use an alternative field if applicable.
string name = 6 [deprecated = true];

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pass/signedoff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant