From 293d112c1800ea30032232809b99dcc9b490b883 Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Tue, 5 May 2026 18:44:31 +0300 Subject: [PATCH] fix: fall back to _repo in commit reshape for github-repo events The commit presentation layer only checked repository.full_name, missing commits ingested by github_repo which store the repo name in _repo instead. Co-Authored-By: Claude Opus 4.6 (1M context) --- crates/moments-core/src/presentation/github.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/moments-core/src/presentation/github.rs b/crates/moments-core/src/presentation/github.rs index 5932b7b..5be6149 100644 --- a/crates/moments-core/src/presentation/github.rs +++ b/crates/moments-core/src/presentation/github.rs @@ -480,6 +480,7 @@ fn commit_reshape(event: &Event) -> TimelineItem { .get("repository") .and_then(|r| r.get("full_name")) .and_then(Value::as_str) + .or_else(|| p.get("_repo").and_then(Value::as_str)) .unwrap_or("(unknown repo)"); let author_login = p .get("author")