-
Notifications
You must be signed in to change notification settings - Fork 297
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: improve regulation-worker status capture #2837
Conversation
Codecov ReportBase: 52.97% // Head: 52.99% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2837 +/- ##
==========================================
+ Coverage 52.97% 52.99% +0.01%
==========================================
Files 334 334
Lines 51863 51858 -5
==========================================
+ Hits 27475 27482 +7
+ Misses 22785 22776 -9
+ Partials 1603 1600 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
41495e3
to
fe380fe
Compare
f6ad0b3
to
1aade77
Compare
1aade77
to
2cca050
Compare
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
expectedDeleteStatus: model.JobStatusComplete, | ||
expectedPayload: `[{"jobId":"1","destType":"ga","config":{"rudderDeleteAccountId":"xyz"},"userAttributes":[{"email":"dorowane8n285680461479465450293437@gmail.com","phone":"6463633841","randomKey":"randomValue","userId":"Jermaine1473336609491897794707338"},{"email":"dshirilad853601942465969121327991@gmail.com","userId":"Mercie8221821544021583104106123"},{"phone":"8782905113","userId":"Claiborn443446989226249191822329"}]}]`, | ||
}, | ||
// { |
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.
why those tests are commented out?
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.
Oops, that is mistake. I was debugging something and forgot to uncomment them back. Thanks for pointing it out. Fixed.
f9e468e
to
5ab6254
Compare
Description
Currently, when
regulation-worker
responds toregulation-manager
, it doesn't return the reason in case offailure
oraborted
. And, as it could be helpful in debugging and in various other cases. This PR modifies response body to return the reason too.Notion Ticket
https://www.notion.so/rudderstacks/improve-regulation-worker-status-capture-f1e82e5fe8e64ec1b88fc7df29e9325e