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

Check for duplicates immediately before creating issue #41

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

c-herrewijn
Copy link
Member

Extra fix related to issue https://github.com/duckdblabs/duckdb-internal/issues/4206

Because workflow CI Fuzz runs multiple fuzz jobs in parallel, they can find and register the same issue, resulting in duplicates. This is because the querying of the current issues happens before the fuzzing. If the same issue is found by a parallel fuzz job and registered in this time gap, it is therefore not taken into account when checking for duplicates.

This PR solves that problem by querying for existing issues directly before the issue registered.
Some code clean-up/refactor has also been done.

Test issue created with the code of this PR: duckdb/duckdb-fuzzer#4082

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.

1 participant