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

return an error for missing metric templates #1582

Merged
merged 3 commits into from
Jan 30, 2024

Conversation

LiZhenCheng9527
Copy link
Contributor

@LiZhenCheng9527 LiZhenCheng9527 commented Jan 17, 2024

Return an error for missing metric templates and count that towards the failure threshold.
fix #1581

…he failure threshold

Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b562ddd) 55.13% compared to head (5f8aeb8) 55.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1582      +/-   ##
==========================================
+ Coverage   55.13%   55.19%   +0.05%     
==========================================
  Files          85       85              
  Lines       10639    10643       +4     
==========================================
+ Hits         5866     5874       +8     
+ Misses       4104     4100       -4     
  Partials      669      669              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
@LiZhenCheng9527
Copy link
Contributor Author

Hi @stefanprodan,

The PR is ready for review!

@stefanprodan
Copy link
Member

@LiZhenCheng9527 will spend the next week reviewing Flagger PRs. This is top of my list. Thanks for you patience.

Copy link
Member

@stefanprodan stefanprodan 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 @LiZhenCheng9527

@stefanprodan stefanprodan merged commit 16f8e15 into fluxcd:main Jan 30, 2024
17 checks passed
@stefanprodan
Copy link
Member

@LiZhenCheng9527 looks like this breaks a in-line queries, could you please see #1609

@LiZhenCheng9527
Copy link
Contributor Author

I will fix it as soon.

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.

If Builtin Metric and metric.TemplateRef are not used, will the tests always incorrectly report as passing?
3 participants