feat(skill-pr-addresser): detect updated comments after addressing
@aRustyDev ci sta già lavorando.
Dal 2/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
The skill-pr-addresser agent tracks addressed feedback by ID to avoid duplicate work. However, if a reviewer updates their comment after it's been addressed, the agent will still skip it because the ID hasn't changed.
Current Behavior
# discovery.py:288-291
def not_addressed(item) -> bool:
item_id = getattr(item, "id", None)
return item_id is None or item_id not in addressed_ids
Only checks if the ID exists in addressed_ids. Content changes are not detected.
Proposed Solution
Store a content hash alongside the addressed ID:
# In session.results["addressed_feedback"]
{
"comment-123": {
"id": "comment-123",
"content_hash": "sha256:abc123...",
"addressed_at": "2025-01-02T12:00:00Z"
}
}
Then compare content hash when filtering:
def not_addressed(item) -> bool:
item_id = getattr(item, "id", None)
if item_id is None:
return True
addressed = addressed_feedback.get(item_id)
if not addressed:
return True
# Check if content changed since addressing
current_hash = hash_content(item.body)
return current_hash != addressed.get("content_hash")
Acceptance Criteria
- Store content hash when marking feedback as addressed
- Compare hash when filtering already-addressed feedback
- Re-process comments whose content has changed
- Add tests for updated comment detection
Notes
- Review threads don't have persistent IDs in our model, so they're always reprocessed
- This only affects PR comments and review comments with IDs
- Lingua principale
- Jupyter Notebook
- Stelle
- 8
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aRustyDev/agents
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
dependencies github-actions
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
-
dependencies github-actions
Difficoltà 1/5 1-3 ore Idoneità per principianti 45/100