-
Notifications
You must be signed in to change notification settings - Fork 11
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: get the logs working again #487
Conversation
9dd1bea
to
14ef775
Compare
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #487 +/- ##
==========================================
- Coverage 97.26% 97.26% -0.01%
==========================================
Files 412 412
Lines 34393 34411 +18
==========================================
+ Hits 33453 33470 +17
- Misses 940 941 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #487 +/- ##
==========================================
- Coverage 97.26% 97.26% -0.01%
==========================================
Files 412 412
Lines 34393 34411 +18
==========================================
+ Hits 33453 33470 +17
- Misses 940 941 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found @@ Coverage Diff @@
## main #487 +/- ##
==========================================
- Coverage 97.26% 97.26% -0.01%
==========================================
Files 412 412
Lines 34393 34411 +18
==========================================
+ Hits 33453 33470 +17
- Misses 940 941 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
Changes have been made to critical files, which contain lines commonly executed in production. Learn more ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #487 +/- ##
==========================================
- Coverage 97.29% 97.29% -0.01%
==========================================
Files 443 443
Lines 35122 35140 +18
==========================================
+ Hits 34172 34189 +17
- Misses 950 951 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
This hack assumes that only 1 task runs at any given time in a single process. I think it's a fair assumption, but have you verified it? Otherwise we can have logs with wrong task_ids
task_name = None | ||
task_id = None | ||
|
||
# this is a temporary hack to get the task information working in the logs again |
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.
Unless there's a GitHub ticket to fix this for good there are good chances that this "temporary hack" will become permanent
7427948
to
718829d
Compare
I agree if there are multiple tasks running at once in a given process. this will be an issue. I added a log line to check if there is concurrent access and i'm going to run this on staging for a while to verify this. |
logs here look good to me |
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
718829d
to
1fdb4ed
Compare
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
Fixes: codecov/feedback#365