Skip to content

fix(tests): vote mining archive host#423

Open
blakebyrnes wants to merge 3 commits intomainfrom
pr/fix-vote-mining-archive-host
Open

fix(tests): vote mining archive host#423
blakebyrnes wants to merge 3 commits intomainfrom
pr/fix-vote-mining-archive-host

Conversation

@blakebyrnes
Copy link
Contributor

No description provided.

Configure the vote mining end-to-end test nodes to use the same notary archive bucket as the spawned notary so notebook audit can fall back to archive downloads when direct notary connectivity is flaky on macOS CI.

Verified with:
- cargo build -p argon-node -p argon-notary
- env CI=1 cargo test -p end-to-end vote_mining::test_end_to_end_default_vote_mining -- --nocapture
Scope the sync end-to-end check to the grandpa_proveFinality path. The warp sync follow-up is failing on Ubuntu CI due to unstable sync-layer behavior and is not needed to verify finality proofs.
@blakebyrnes blakebyrnes marked this pull request as ready for review March 9, 2026 18:59
Copilot AI review requested due to automatic review settings March 9, 2026 18:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the end-to-end test setup so vote-mining tests use a notary archive bucket/host configuration, and simplifies the finality proof test by removing the warp-sync portion.

Changes:

  • Configure the vote-mining e2e test node with a MinIO archive URL (bucket-based) and start the test notary with the matching archive bucket.
  • Replace create_active_notary with create_active_notary_with_archive_bucket in the vote-mining test.
  • Remove the warp-sync catch-up section from the finality proof test and clean up related imports/variables.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
end-to-end/src/vote_mining.rs Starts the node with explicit notebook_archive_urls and starts the notary with a specific archive bucket.
end-to-end/src/sync.rs Removes warp-sync test logic, leaving only finality proof verification and minor cleanup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Mac CI produced finalized vote blocks, but not from every registered miner within the fixed wait window. Assert the stable behavior instead: finalized vote mining starts after registration.
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.

2 participants