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: load EXTRA_TAGS from plugin .buildrc file to avoid build issue. #1852

Merged

Conversation

Colstuwjx
Copy link
Contributor

Ⅰ. Describe what this PR did

改成约定的从插件目录 .buildrc 文件读取 EXTRA_TAGS,而不是让用户再去手动设置这个变量值

Ⅱ. Does this pull request fix one issue?

Fixed #1847

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

本地运行 PLUGIN_NAME=ai-token-ratelimit make build , PLUGIN_NAME=ai-proxy make build 即可看出来差别。

Ⅴ. Special notes for reviews

@CH3CHO
Copy link
Collaborator

CH3CHO commented Mar 5, 2025

我在 Linux 上跑报错了:

image

@Colstuwjx Colstuwjx force-pushed the chore/fix-plugin-makefile-extra-tags-issue branch from 2b2af50 to 500f1f4 Compare March 5, 2025 03:40
@Colstuwjx
Copy link
Contributor Author

我在 Linux 上跑报错了:

改成 . 了。

Copy link
Collaborator

@CH3CHO CH3CHO left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.39%. Comparing base (ef31e09) to head (500f1f4).
Report is 330 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1852      +/-   ##
==========================================
+ Coverage   35.91%   43.39%   +7.48%     
==========================================
  Files          69       76       +7     
  Lines       11576    12301     +725     
==========================================
+ Hits         4157     5338    +1181     
+ Misses       7104     6629     -475     
- Partials      315      334      +19     

see 71 files with indirect coverage changes

@CH3CHO CH3CHO merged commit d721c23 into alibaba:main Mar 5, 2025
12 checks passed
@Colstuwjx Colstuwjx deleted the chore/fix-plugin-makefile-extra-tags-issue branch March 5, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants