Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Oct 29, 2025

Remove blocking cursor wait from payer.Service.publishToBlockchain to eliminate the BlockUntilDesiredCursorReached clutch in the payer API

Refactor the payer service to drop node cursor tracking and metadata client wiring, changing payer.NewPayerAPIService to exclude the metadata client and updating payer.Service.publishToBlockchain to return immediately after publishing without waiting on a node cursor. Tests and builders update to the new constructor signature.

📍Where to Start

Start with payer.NewPayerAPIService and the removal of cursor tracking in service.go, then review the callsite updates in builder.go and test changes in publish_test.go.


Macroscope summarized 5c31aa6.

@mkysel mkysel requested a review from a team as a code owner October 29, 2025 21:51
@graphite-app
Copy link

graphite-app bot commented Oct 29, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • Queue - adds this PR to the back of the merge queue
  • Hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@mkysel mkysel merged commit 0b87688 into main Oct 30, 2025
11 checks passed
@mkysel mkysel deleted the mkysel/remove-BlockUntilDesiredCursorReached branch October 30, 2025 18:39
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.

3 participants