Skip to content

impl(aggregator): GitHub events into the common activity stream (#3321 GitHub slice) #7084

Closed

Description

@developing-today

Part of #3321 (impl(aggregator): source coverage and gap-aware activity ingestion), epic #1184 / design #1261.

Slice: GitHub events into the common activity stream

PR #5141 (merged 2026-11-04) landed the Kaneo + watchdog half of #3321: stream writers into the #1739 common event contract, persisted checkpoints, gap tracking. Its closing note left #3321 open for the remaining GitHub slice, ordered after #2072 per the issue boundary ("reuse #2072 GitHub webhook/hot-list ingestion rather than building a competing receiver").

That dependency has landed: #2072 slice 2 (issue #5204) closed 2026-11-04 with PR #5327 merged — append-only GitHub webhook hot list + consumer checkpoints on main (confirmed fresh by the task 12027 triage of #2072, 2026-11-08, and by triage task 12108 of #3321, 2026-11-08).

Scope

Out of scope

Acceptance

Activity

  1. developing-today commented on Nov 8, 2026

    @developing-today
    ContributorAuthor

    🤖 Agent note · routed (fix task 12628 enqueued) — filed by triage task 12108 of issue #3321 (lane code-s, 2026-11-08); fix packet dedupe repo-health:v1:fix:developing-today/code:issue:7084. Template: PR #5141's Kaneo/watchdog writers; source stream: PR #5327's hot list.

  2. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 8, 2026
  3. dezren39 commented on Nov 8, 2026

    @dezren39
    Member

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 12628
    • Found via: queue claim
    • Task: small_fix for issue impl(aggregator): GitHub events into the common activity stream (#3321 GitHub slice) #7084. Lane assignment returned opencode per runbook §1b — handing off to the opencode claimant; this lane does not work it directly.
    • Expectation: claimant launches the bound opencode session and drives task 12628 to a terminal state, revalidating fresh GitHub state first (hard-stop labels, existing PRs, current main).
    • Links: none named
  4. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  5. dezren39 commented on Nov 8, 2026

    @dezren39
    Member

    🤖 Agent note · handed off

  6. developing-today commented on Nov 8, 2026

    @developing-today
    ContributorAuthor

    🤖 Agent note · handed off

  7. 103 remaining items

  8. removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 9, 2026
  9. dezren39 commented on Nov 9, 2026

    @dezren39
    Member

    🤖 Agent note · handed off

  10. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 9, 2026
  11. dezren39 commented on Nov 9, 2026

    @dezren39
    Member

    Task 12628 status (PR #7867 updated, branch queue/12628-7084-github-activity-impl @ 71ceb92, merged to current origin/main):

    Slice acceptance assessment:

    1. Mapping - DONE in PR: projector impl(observability): GitHub webhook ingestion + hot list (#2072 slice 2) #5204 hot-list rows map to the pm stack: one cross-stack event log (actions, orchestration, sessions, comments in a single chronological stream) #1739 contract via githubHotEventDelivery (stable id activity:github:<event_id>, kind github-event, source link; invalid refs fall back to the repo, never stall the page). No competing receiver; consumer only.
    2. Idempotency - DONE in PR: fixed-high-water sweeps, remote checkpoint acked only after the full sweep lands durably; IngestionStore dedupe + persisted per-source checkpoints. Tests: duplicate delivery, restart resume, partial-sweep resume, failed-ack recovery, plus generated failure/restart schedules (seeded traces asserting no undurable ack and no duplicate activity). Targeted suite post-merge: 53 pass / 0 fail; tsc clean in all changed src files.
    3. Gaps/coverage - DONE in PR: outage / lagging / unrecoverable states with source + time range on /events and /api/activity.json (with explicit completeHistory:false); coverage table now documents bounded hot-list support (retained ledger rows only; pre-ledger history and missed upstream deliveries explicitly unsupported).
    4. impl(aggregator): source coverage and gap-aware activity ingestion #3321 re-check: with feat(aggregator): activity ingestion — watchdog/Kaneo stream writers, checkpoints, gaps (#3321) #5141 (Kaneo/watchdog) + this slice, all three impl(aggregator): source coverage and gap-aware activity ingestion #3321 boxes are covered for the three sources. Naming what remains rather than closing: PR fix(aggregator): per-card Kaneo baseline progress after partial ingestion failure (#3321, PR #5141 Codex) #7285 (Kaneo per-card baseline follow-up, still OPEN) overlaps activity.ts/server.ts with feat(aggregator): consume GitHub hot list in activity stream (#7084) #7867 - reconcile merge ordering before landing; External-system observability: unified PM + queue + quota attribution (webhooks, hot list, session IDs, projections) #2072 slices 3-7 are separate issues and out of impl(aggregator): source coverage and gap-aware activity ingestion #3321 scope.

    CI: PR-tier checks (fleet-search parity, proxy port fallbacks, scripts-test 3.12/3.14) are QUEUED on the PR (infra backlog, unchanged for 1h+); CodeRabbit NEUTRAL, Codex review completed with no unresolved findings.

  12. added this to the PM stack coherence milestone on Nov 12, 2026
  13. added a commit that references this issue on Nov 14, 2026
  14. dezren39 commented on Nov 14, 2026

    @dezren39
    Member

    agent-note:v1
    state: done
    task: 17277
    lane: code-d
    worker: repo-worker-code
    What: Landed by PR #7867, MERGED as 9a56ac0 (main merged into the branch first: ce0b3a4; single install.sh conflict resolved keeping both the PROJECTOR_ENV token copy and main's UNIT_SRC resolution). Acceptance re-check: GitHub hot-list events appear in the common stream with stable activity:github:<event_id> IDs and source links (src/github-hot-list.ts + activity.ts); duplicate-delivery / restart / partial-sweep-resume tests pass — targeted bun run on the merged tree: activity-github-7084 + activity-3321 + config = 56 pass / 0 fail; gap/lag/outage state for the GitHub source is exposed on /events and /api/activity.json with completeHistory: false, and coverage is documented in the aggregator README. Full-suite caveat: the full aggregator suite in the laptop environment reports unrelated environment-sensitive failures (46 fail / 5 errors of 2388 on the merged tree; PR #7867 documented the same class at authoring), and the #7084 generated-schedules test itself failed intermittently (1 of 7 standalone runs) — filed as issue #10385 for a deterministic repro. Closing this slice as completed on the functional acceptance; the flake is tracked separately.
    Next: #3321 re-check note posted there; nothing else remains for the GitHub slice.

  15. added a commit that references this issue on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/enhancementqueue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionwork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions