Skip to content

Remove dead hold scanner#32

Merged
samithreddychinni merged 1 commit into
mainfrom
fix/remove-hold-scanner
Jul 3, 2026
Merged

Remove dead hold scanner#32
samithreddychinni merged 1 commit into
mainfrom
fix/remove-hold-scanner

Conversation

@samithreddychinni

Copy link
Copy Markdown
Collaborator

Closes #23

Deleted the old hold expiry scanner.

main only starts stabilizer.RunTTLScanner. The old scanner had separate finalizers, callback payloads, idempotency keys, and ledger source.

Added TTL tests for the stabilizer path.

Tested:
GOCACHE=/tmp/paystable-issue23-gocache go test ./...

main only runs stabilizer.RunTTLScanner.

The hold package still had its own expiry scanner and finalizers. That gave us two callback shapes, two ledger sources, and two state paths.

Delete the dead scanner. Keep the TTL coverage on the stabilizer path that actually runs.

Closes #23
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
paystable Ready Ready Preview, Comment Jul 3, 2026 5:08pm

@samithreddychinni samithreddychinni merged commit 42926b1 into main Jul 3, 2026
7 checks passed
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.

[P0] Remove the old hold expiry scanner and keep one transition path

1 participant