Skip to content

Added threading#5508

Open
wassafshahzad wants to merge 4 commits into
mozilla:masterfrom
wassafshahzad:wassaf/5400-generate-diff-parallization
Open

Added threading#5508
wassafshahzad wants to merge 4 commits into
mozilla:masterfrom
wassafshahzad:wassaf/5400-generate-diff-parallization

Conversation

@wassafshahzad
Copy link
Copy Markdown
Contributor

@wassafshahzad wassafshahzad commented Nov 30, 2025

Description

I added threading to generate diff to make it run concurrently,. The design is same retrieve_logs. The only difference is that we returen a tuple (mapping_erros, diff_errors) and add them in the end for the total.

Linked PRS

Closes #5400

Copy link
Copy Markdown
Member

@suhaibmujahid suhaibmujahid left a comment

Choose a reason for hiding this comment

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

Thank you for taking care of this, and sorry for the late review! Please take a look at my comments.

Comment thread scripts/retrieve_ci_failures.py Outdated
Comment thread scripts/retrieve_ci_failures.py Outdated
Comment thread scripts/retrieve_ci_failures.py Outdated
Comment thread scripts/retrieve_ci_failures.py Outdated
Comment thread scripts/retrieve_ci_failures.py Outdated
@marco-c
Copy link
Copy Markdown
Collaborator

marco-c commented Apr 28, 2026

@wassafshahzad still want to finish this up or should we close the PR?

@wassafshahzad
Copy link
Copy Markdown
Contributor Author

@wassafshahzad still want to finish this up or should we close the PR?

Ohh sorry this drowned in he nitifications. I will finisn tgis is week

@wassafshahzad
Copy link
Copy Markdown
Contributor Author

@marco-c @suhaibmujahid I have addressed the feedback and also fixed a typing issue in util.py

Copy link
Copy Markdown
Member

@suhaibmujahid suhaibmujahid left a comment

Choose a reason for hiding this comment

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

@wassafshahzad LGTM! Could you please resolve the merge conflict so we can land it?

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.

[retrieve_ci_failures] Generate diffs in parallel

3 participants