-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
fix: correctly set compareWith when requesting app refresh with delay (fixes #18998) #21298
fix: correctly set compareWith when requesting app refresh with delay (fixes #18998) #21298
Conversation
Signed-off-by: Xiaonan Shen <s@sxn.dev>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
db80633
to
54b7010
Compare
Signed-off-by: Xiaonan Shen <s@sxn.dev>
54b7010
to
540664d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #21298 +/- ##
==========================================
- Coverage 55.23% 55.22% -0.01%
==========================================
Files 337 337
Lines 57055 57055
==========================================
- Hits 31515 31510 -5
- Misses 22847 22854 +7
+ Partials 2693 2691 -2 ☔ View full report in Codecov by Sentry. |
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.
LGTM!!
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local> Signed-off-by: Brett C. Dudo <brett@dudo.io>
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local>
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local> Signed-off-by: flbla <flbla@users.noreply.github.com>
/cherry-pick release-2.14 |
/cherry-pick release-2.13 |
/cherry-pick release-2.12 |
…fixes argoproj#18998) (argoproj#21298) * fix: correctly set compareWith when requesting app refresh with delay Signed-off-by: Xiaonan Shen <s@sxn.dev> * test: add UT Signed-off-by: Xiaonan Shen <s@sxn.dev> --------- Signed-off-by: Xiaonan Shen <s@sxn.dev> Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local>
Fixes #18998. When requesting app refresh with a delay, the request will be stored as a string in the form of
<appKey>/<compareWith>
. However, the address ofcompareWith
is used instead of its value, causing invalid refresh levels being used.Checklist: