Skip to content

Update contributor resolution preparation query to consider all unresolved contributors#276

Merged
cdolfi merged 5 commits intomainfrom
fix/cntrb_resolution_prep_query
May 1, 2026
Merged

Update contributor resolution preparation query to consider all unresolved contributors#276
cdolfi merged 5 commits intomainfrom
fix/cntrb_resolution_prep_query

Conversation

@MoralCode
Copy link
Copy Markdown
Contributor

Description

proxy for augurlabs/augur#3797, which was merged post-fork in the augur repo.

This PR applies the suggested query changes to the two SQL queries that govern what commit changes are pulled in for contributor resolution

It improves upon the changes suggested in augurlabs/augur#3792 and those proposed in the underlying issue by making some small query corrections:

  • the canonical email column is called cntrb_canonical
  • the name of the email output in the second query is relied upon by later functions, and should not change

This PR fixes #252

Notes for Reviewers
This has been run locally and appears to work (at least in terms of not crashing) (tested using Augur)

Still waiting to see whether it helps resolve more contributors and get the % of null cmt_ght_author_id's to be much lower than the 10% observed in both large augur instances.

This PR has been merged into the code we deploy in prod for at least a month.

Signed commits

  • Yes, I signed my commits.

MoralCode and others added 5 commits April 30, 2026 15:43
Co-Authored-By: Cali Dolfi <cdolfi@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
…ttached config item

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Co-Authored-By: mn-ram <235066282+mn-ram@users.noreply.github.com>
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
Copy link
Copy Markdown
Contributor

@cdolfi cdolfi left a comment

Choose a reason for hiding this comment

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

lgtm, we have been testing these changes for a bit now

@cdolfi cdolfi merged commit d8b0723 into main May 1, 2026
14 of 16 checks passed
@MoralCode MoralCode deleted the fix/cntrb_resolution_prep_query branch May 1, 2026 16:46
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.

current insert_facade_contributors logic not linking previously resolved contributors

2 participants