Skip to content

fix(githubcoverage): keep App coverage honest about user-token union - #122

Merged
rldyourmnd merged 2 commits into
mainfrom
feat/github-coverage-honesty-20260908
Sep 8, 2026
Merged

fix(githubcoverage): keep App coverage honest about user-token union#122
rldyourmnd merged 2 commits into
mainfrom
feat/github-coverage-honesty-20260908

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Summary

  • Coverage reports user_token_union: not-proven instead of looking like a PAT membership union.
  • Local identities with provider_id <= 0 stay unknown with github_id_missing; they are not dropped and do not collapse on id 0.
  • Unknown reconciler installation statuses map to coverage unknown, not raw reconciler vocabulary.
  • --include-local on an empty root is proven at the app layer.

Test plan

  • go test ./core/githubcoverage ./core/app ./core/cli -count=1
  • gds generate repository --check on the restamped HEAD
  • hosted GDS fast / PR-required

rldyourmnd and others added 2 commits September 8, 2026 18:15
Local identities without a GitHub id were dropped, and unknown
reconciler statuses leaked into the report. Record user_token_union
as not-proven instead of implying a PAT membership union.

Signed-off-by: rldyourmnd <danil@nddev.it.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
core/app tests are inside the source-tree digest.

Signed-off-by: rldyourmnd <danil@nddev.it.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@rldyourmnd
rldyourmnd merged commit 239a325 into main Sep 8, 2026
7 checks passed
@rldyourmnd
rldyourmnd deleted the feat/github-coverage-honesty-20260908 branch September 8, 2026 13:25
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