Skip to content

Normalize GitHub App actor names#44

Merged
ashleyzhang01 merged 1 commit into
withmartian:mainfrom
gauravp-cubic:codex/actor-normalization
Jul 1, 2026
Merged

Normalize GitHub App actor names#44
ashleyzhang01 merged 1 commit into
withmartian:mainfrom
gauravp-cubic:codex/actor-normalization

Conversation

@gauravp-cubic

Copy link
Copy Markdown
Contributor

Summary

Normalize GitHub App bot actor names before comparing review actors, so comments attributed as either name or name[bot] are treated consistently across the ETL pipeline.

This keeps inline review comments from being dropped when GitHub exposes the same app identity in different actor forms.

Changes

  • Add a shared actor normalization helper.
  • Apply normalized actor comparison in analysis, assembly, and quality extraction paths.
  • Add regression coverage for app actors with and without the [bot] suffix.

Validation

  • uv run ruff check pipeline/actors.py pipeline/analyze.py pipeline/assemble.py pipeline/quality.py tests/test_actor_normalization.py
  • uv run pytest tests

@ashleyzhang01 ashleyzhang01 merged commit 949e4a1 into withmartian:main Jul 1, 2026
2 checks passed
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.

2 participants