Skip to content

#942: group awards by stable GitHub account ID - #962

Open
gemshrine wants to merge 2 commits into
zerocracy:masterfrom
gemshrine:942
Open

gemshrine wants to merge 2 commits into
zerocracy:masterfrom
gemshrine:942

Conversation

@gemshrine

Copy link
Copy Markdown
Contributor

Awards for one GitHub account could be split into separate rows after a login change because the table grouped by who_name. Reconciliation lookup used that mutable login too, so an existing payout snapshot under the old login was not applied to awards under the new one.

The table now groups and calculates totals by the stable who ID, resolves the latest known login from who-has-name facts for display, and matches reconciliation facts by that ID. Name-based grouping remains as a fallback for facts without a who ID.

Checks: TestAwards#test_groups_awards_by_user_id_and_shows_latest_login and the repository's Ruby/XSLT CI suite. The regression scenario includes old and new logins, awards under both names, and a reconciliation under the old name.

Closes #942

Copy link
Copy Markdown
Member

@yegor256 this regroups the whole awards table by account id with many touched xpaths in awards.xsl, and it will likely conflict with other awards.xsl changes. Needs a human look.


Generated by Claude Code

@yegor256 yegor256 self-assigned this Oct 12, 2026
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.

Awards page separates renamed GitHub accounts into different rows, causing wrong reconciliation

2 participants