Skip to content

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

Open
MoralCode wants to merge 5 commits intomainfrom
fix/cntrb_resolution_prep_query
Open

Update contributor resolution preparation query to consider all unresolved contributors#3797
MoralCode wants to merge 5 commits intomainfrom
fix/cntrb_resolution_prep_query

Conversation

@MoralCode
Copy link
Copy Markdown
Collaborator

Description
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 #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 #3779

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

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.

Signed commits

  • Yes, I signed my commits.

MoralCode and others added 3 commits March 26, 2026 11:51
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>
@MoralCode MoralCode requested a review from sgoggins as a code owner March 26, 2026 16:02
MoralCode and others added 2 commits March 26, 2026 13:23
…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
Collaborator

@sgoggins sgoggins left a comment

Choose a reason for hiding this comment

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

For bare metal this would require a new parameter in the database config:

facade_contributor_full_recollect | True or False.

LGTM

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