Skip to content
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

Ignore all extra cache=False install times #1025

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Conversation

jjnesbitt
Copy link
Collaborator

This should fix all the KeyError errors we've been seeing in sentry.

This was being caused by install time entries that didn't exist in the spec json. This seems to mainly occur with bootstrapped packages.

@jjnesbitt jjnesbitt requested a review from mvandenburgh January 6, 2025 22:57
@jjnesbitt
Copy link
Collaborator Author

I've tested the process_job function on a job that was known to trigger this issue, and can confirm it's resolved with this change.

mvandenburgh
mvandenburgh previously approved these changes Jan 7, 2025
analytics/analytics/job_processor/build_timings.py Outdated Show resolved Hide resolved
Copy link
Member

@mvandenburgh mvandenburgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jjnesbitt I'll just go ahead and merge this so we can re-enable Sentry

@mvandenburgh mvandenburgh merged commit db688aa into main Jan 7, 2025
2 of 15 checks passed
@mvandenburgh mvandenburgh deleted the job-processor-keyerror branch January 7, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants