Skip to content

[Tech Debt] Guard resource name consistency with CI #566

@xintongsong

Description

@xintongsong

Search before asking

  • I searched in the issues and found nothing similar.

Description

We provide easy-to-use constant strings for resource class names in ResourceName.java and resource.py. Two issues were observed in practice.

  1. The constant strings might be inconsistent with the actual class name. E.g., [hotfix] Fix Azure ChatModel class path in ResourceName. #562
  2. Developers tend to forget adding resource names for cross-language resource references, i.e. ResourceName.Python on the java side and ResourceName.Java on the python side.

It would be nice check in CI that the referenced class actually exist, and names in Java and Python are consistent.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerspriority/minorIndicates the PR or issue related to non-urgent bugs, features, and improvements.tech debt[Issue Type] User-unaware issues, such as code refactor and infrastructure maintenance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions