test(gents-cloud): end-to-end suite for the gents-cloud mechanics on Go Vera - #31
Open
vertexclique wants to merge 11 commits into
Open
vertexclique wants to merge 11 commits into
vertexclique wants to merge 11 commits into
Conversation
…ts writes reach the ring
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tests/gents_cloud/runs the gents-cloud architecture end to end on Go Vera (sourcenetwork/vera, binaryverad, formerly SourceHub), which is the chain gents-cloud ships on. Oneveraddevnet, a 3-node Orbis ring at threshold 2 whose DKG artifact is posted to Vera's bulletin, and DefraDB cells with--document-acp-type source-huband--signer-type orbis. Nothing in Vera itself is modified.Thirteen scenarios, each named after the invariant, hardening move, spike, or readiness finding it discharges, each asserting what the running stack does rather than what the plan says it should. The suite prints its measurements as markdown at the end, so numbers the plan marks "to be measured" now have values.
13 of 13 passed in 376.5 s on a 36-core machine, provisioning 32 tenants. The full report with charts and findings is
docs/gents-cloud-run-32-tenants.html; the copy-ready tables aredocs/gents-cloud-run-32-tenants.md.Scenarios
h1_node_identity_no_privileged_readi26_absence_denial_indistinguishablegrant_asymmetryh5_two_clocksh12_pre_on_verah3_ring_gate_mechanisml8_ring_below_thresholds7_signed_write_costdry_accounts8_topic_collision_c1i7_kill9_identityafterburner_sealed_packagesscale_per_tenant_costWhat it found
timeout_commit = "5s"and the harness had never set it. With the four consensus timeouts set (500 ms rounds, 1 s commit) the measured interval went from 5.03 s to 1.06 s, provisioning from 25.2 s to 6.06 s, and the suite from 1212 s to 377 s, with no change to what the stack does.Measured
Dependencies
Two client fixes are required and are open as PRs:
vclq/vera-compat): Vera'svera.*proto package andverabech32 prefix, plus--signer-orbis-identity, because the ring accepts an EdDSA token while the chain needs a secp256k1 signer.vclq/vera-compat): the derive RPC advertised the PRE capability key while signing used the signing key, so no peer could verify a ring-signed block; the requested derivation was dropped on the authenticated path;MsgCreatePostcarried a field Vera removed; the chain id was hardcoded.backbone.tomlpins both branches, so the suite builds the patched clients itself.Replaces #30, which was opened from a fork before this account had write access here. Same branch, same commits. The review there (approved, with a note that
/procis Linux-only) is carried over: cell RSS now reads throughpsoff Linux.