Skip to content

FOUNDATIONS: EventV2Service - RetrieveEventV2CountBySignatureAsync#546

Merged
cjdutoit merged 14 commits into
mainfrom
users/cjdutoit/foundations-eventv2-countbysignature
Jun 22, 2026
Merged

FOUNDATIONS: EventV2Service - RetrieveEventV2CountBySignatureAsync#546
cjdutoit merged 14 commits into
mainfrom
users/cjdutoit/foundations-eventv2-countbysignature

Conversation

@cjdutoit

@cjdutoit cjdutoit commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Foundation layer implementation of RetrieveEventV2CountBySignatureAsync with full TDD coverage:

  • Returns count of matching EventV2 records within the loop detection window
  • Returns 0 if loop detection is disabled
  • Validates eventV2 and config non-null
  • Validates fields (EventAddressId, EventName, ContentHash, Window)
  • Handles timeout, SQL, and service exceptions

Test coverage

  • 9 tests: 1 logic (enabled), 1 logic (disabled), 3 validation, 2 exception, 2 edge case
  • All passing

closes #546

cjdutoit added 14 commits June 22, 2026 00:38
…ncellationIsRequestedOnRetrieveCountBySignatureAsync
@cjdutoit cjdutoit changed the title Add EventV2Service.RetrieveEventV2CountBySignatureAsync FOUNDATIONS: EventV2Service - RetrieveEventV2CountBySignatureAsync Jun 22, 2026
@cjdutoit cjdutoit merged commit ec3392f into main Jun 22, 2026
7 of 9 checks passed
@cjdutoit cjdutoit deleted the users/cjdutoit/foundations-eventv2-countbysignature branch June 22, 2026 00:49
cjdutoit added a commit that referenced this pull request Jun 22, 2026
…/foundations-eventv2-countbysignature

FOUNDATIONS: EventV2Service - RetrieveEventV2CountBySignatureAsync
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