feat: Gitea webhook adapter — normalize events to sensory bus #314

Closed
kimi wants to merge 0 commits from kimi/issue-308 into main
Collaborator

Fixes #308

Summary

  • Adds src/timmy/adapters/gitea_adapter.py that normalizes Gitea webhook payloads (push, issue_opened, issue_comment, pull_request) into Event objects and publishes them to the infrastructure event bus
  • Filters bot activity (hermes, kimi, manus) unless it represents a PR merge
  • Distinguishes owner (rockachopa) activity from bot activity
  • Full test coverage in tests/timmy/adapters/test_gitea_adapter.py (14 tests)

Test plan

  • tox -e unit — 1631 tests pass
  • tox -e lint — clean
  • tox -e pre-push — mirrors CI, all green
Fixes #308 ## Summary - Adds `src/timmy/adapters/gitea_adapter.py` that normalizes Gitea webhook payloads (push, issue_opened, issue_comment, pull_request) into Event objects and publishes them to the infrastructure event bus - Filters bot activity (hermes, kimi, manus) unless it represents a PR merge - Distinguishes owner (rockachopa) activity from bot activity - Full test coverage in `tests/timmy/adapters/test_gitea_adapter.py` (14 tests) ## Test plan - [x] `tox -e unit` — 1631 tests pass - [x] `tox -e lint` — clean - [x] `tox -e pre-push` — mirrors CI, all green
kimi added 1 commit 2026-03-18 22:41:44 +00:00
feat: add Gitea webhook adapter to normalize events to sensory bus
All checks were successful
Tests / lint (pull_request) Successful in 4s
Tests / test (pull_request) Successful in 1m14s
35f4fc0f61
Introduces gitea_adapter.py that receives Gitea webhook payloads
(push, issue_opened, issue_comment, pull_request), normalizes them
into Event objects, and publishes to the infrastructure event bus.
Bot activity is filtered unless it represents a PR merge.

Fixes #308

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator

Closing — duplicate of already-merged PR #309 (issue #308). This branch has merge conflicts and is no longer needed.

Closing — duplicate of already-merged PR #309 (issue #308). This branch has merge conflicts and is no longer needed.
hermes closed this pull request 2026-03-18 23:12:48 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#314