feat(agent): add event-driven listener with durable retries#794
Closed
AlexMikhalev wants to merge 2 commits intomainfrom
Closed
feat(agent): add event-driven listener with durable retries#794AlexMikhalev wants to merge 2 commits intomainfrom
AlexMikhalev wants to merge 2 commits intomainfrom
Conversation
added 2 commits
April 12, 2026 12:01
…adapter - Add proper pagination for Gitea issue fetching (50 per page) - Add claim_issue() with idempotency, conflict detection, and verification - Add ClaimResult/ClaimStrategy types for structured claim outcomes - Add Default for GiteaConfig to ease construction at call sites - Add LinearTrackerAdapter in symphony for tracker API compatibility - Support gitea-robot CLI with REST API fallback for claims - Update orchestrator GiteaConfig sites with ..Default::default() - Fix validation test latency threshold for CI stability Refs #791
- Add control_plane::events module with NormalizedAgentEvent types - Add event normalization from Gitea webhook/poll sources - Add terraphim_agent::listener for Gitea event-driven issue processing - Implement durable retry logic for transient claim failures - Add deduplication via event_id tracking - Wire listener into agent main with ADF command parsing Refs #523
This was referenced Apr 12, 2026
Contributor
Author
|
Closing as superseded by current main. After refreshing this branch onto current main, the event-driven listener and tracker behavior that this PR originally carried is already present on main from the earlier listener/tracker merge path. What remains after refresh is only a small 4-file cleanup around The safe path is to close this PR as superseded. If that small cleanup is still desired, it should be reopened later as a new focused PR with the correct title and validation scope. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
control_plane::eventsmodule with NormalizedAgentEvent typesterraphim_agent::listenerfor Gitea event-driven issue processingDepends on: #793 (tracker PR must merge first)
Extracted from #790 as part of the clean PR split.
Refs #523