-
Notifications
You must be signed in to change notification settings - Fork 227
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
Fixes #6850 Prewarmup home in certain scenarios where it shouldn't #6881
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
@Khadreal Test coverage is still low despite your latest commit that seems to add tests on warm_up_home. According to codacy, those tests are not running. PS: You can access previous runs by going to the commit list of the PR, then click the ✅ (or red X) CI status of the commit you are interested in. I compared the last 2, and it seems the action Unit/Integration General tests Latest version ran the same number of tests. |
It's part of the specific test and I can see the difference here 1 and 2 |
I'm moving this to QA, the group test(PerformanceHints) is not captured in the codacy coverage, a quick modification to move the specific group tests to general-test seems to break the test and out of scope for this PR to cover. We'll have another issue to cover this. Create an issue here |
@Khadreal I think there is a misunderstanding with @Tabrisrp's review. The change of name makes the function do the opposite of its name, no? It returns True when it is NOT allowed. The logic seems good, but the name is very misleading. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working fine when
- on live env , user expired >= 15d => no fetch/prewarmup
- on live env, user expired < 15 d => fetch is working
- on live , user not expired => fetch is working
- on live, rucss on then clear CI => not fetching
- on local env => no fetch nor warmup
Description
Fixes #6850
Documentation
User documentation
Prevent pre warm_up for expired license > 15 days
Explain how this code impacts users.
Technical documentation
Add grace period and environment check for warm_up.
Type of change
New dependencies
N/A
Checklists
Feature validation
Documentation
Code style