Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Sep 25, 2025

Enable Reports service in test replication servers and gate PayerReport via server.EnabledServices.Reports with a 10s attestation poll interval to add reports test scaffolding

This change adds a Reports flag to server.EnabledServices and wires PayerReport configuration into test server construction, enabling the Reports service in tests with a fixed 10s attestation worker polling interval.

  • Add Reports boolean to server.EnabledServices and use it to set config.PayerReportOptions.Enable with AttestationWorkerPollInterval set to 10s in server.NewTestReplicationServer in server.go
  • Update TestCreateServer to enable the Reports service for both test replication servers in server_test.go

📍Where to Start

Start with server.NewTestReplicationServer in server.go to review how PayerReport options are configured, then see TestCreateServer in server_test.go.


Macroscope summarized 04283de.

@mkysel mkysel requested a review from a team as a code owner September 25, 2025 13:59
@graphite-app
Copy link

graphite-app bot commented Sep 25, 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.

Copy link
Contributor

@api-Hypernova api-Hypernova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@api-Hypernova api-Hypernova merged commit 55799bb into main Sep 29, 2025
11 of 12 checks passed
@api-Hypernova api-Hypernova deleted the mkysel/tests branch September 29, 2025 15:18
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