Skip to content

feat:make event retries end-to-end idempotent#36

Open
Adarsh9977 wants to merge 2 commits into
secureagentics:mainfrom
Adarsh9977:ws-retry-events
Open

feat:make event retries end-to-end idempotent#36
Adarsh9977 wants to merge 2 commits into
secureagentics:mainfrom
Adarsh9977:ws-retry-events

Conversation

@Adarsh9977
Copy link
Copy Markdown
Contributor

Summary

Detect duplicate event inserts via RowsAffected with ON CONFLICT (id) DO NOTHING, skip reclassification/verdict reinsert on retry, and re-publish the existing verdict. Add retry test assertions to ensure classifier runs once and verdict rows do not duplicate.

Test plan

  • [x]

Checklist

  • CLA signed (see CLA.md)
  • Tests pass locally
  • Docs updated where needed
  • British English; no em-dashes; no marketing fluff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant