-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 New OEC:{traceback}-{timestamp} format for de-duplication purposes
#7364
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
🎨 New OEC:{traceback}-{timestamp} format for de-duplication purposes
#7364
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7364 +/- ##
==========================================
+ Coverage 85.66% 86.97% +1.31%
==========================================
Files 1709 1356 -353
Lines 66355 56314 -10041
Branches 1124 613 -511
==========================================
- Hits 56840 48977 -7863
+ Misses 9195 7140 -2055
+ Partials 320 197 -123
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
sanderegg
left a comment
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.
Very nice thanks!
odeimaiz
left a comment
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.
Nice 💅
GitHK
left a comment
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.
I would prefer to support both features as pointed out in my comment.
bisgaard-itis
left a comment
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.
Cool, thanks a lot. This is a topic I care a lot about, so I wrote some thoughts/suggestions. I think we can still improve a lot in the direction of being able to quickly locate and solve issues.
66caeb5 to
df87f8a
Compare
df87f8a to
2da9d9a
Compare
|
OEC:{traceback}-{timestamp} format for de-duplication purposes



What do these changes do?
What this PR changes
This PR introduces a new fingerprinting mechanism on the traceback for generating the osparc error code (OEC) as
Instead of computing the OEC from the exception instance, which produced a different OEC for every occurrence, we now generate the OEC from a fingerprint of the exception’s type and relevant context. This change ensures that identical errors will consistently yield the same OEC across multiple occurrences.
What the OEC is used for
The OEC is included in the logs and passed to the front-end as a
supportId(SEE OAS below), enabling users and support teams to trace and identify unexpected errors. It is also extracted by the logging system aslog_oecandlog_useridto associate errors with users and provide better observability across the platform.Why we introduced this change
Previously, identical errors thrown in different instances (even with the same stack trace) would result in different OECs. This made it difficult to group and analyze recurring issues. With the new fingerprint-based approach, repeated occurrences of the same underlying error—possibly affecting multiple users—can now be identified and grouped under a single OEC. This improves our ability to detect and prioritize common issues, simplifies debugging, and enhances the efficiency of support workflows.
Related issue/s
How to test
Dev-ops
None