Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(skill-pr-addresser): detect updated comments after addressing

Aperta
#796 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@aRustyDev ci sta già lavorando.

Dal 2/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement skill-pr-addresser

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aRustyDev/agents

Tutte le issue di aRustyDev/agents

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.