Repository navigation
3.x.x: checked-in e2e scenario manifest and its CI check (#543) - #560
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
test/e2e-scenarios.toml lists every end-to-end and load scenario from issue, pass criteria and whether it runs. scripts/check_e2e_scenarios.py derives each running scenario's lanes from its evidence (the PR and nightly gated lists, the load presets, ungated tests) and fails when a lane runs a live_regtest/load_smoke test, nightly variant or preset the manifest does not name, when the manifest claims a lane its evidence does not run in, or when an unexercised entry lacks a reason. CI runs it through tests/test_check_e2e_scenarios.py in the required python-tests shards. The functional entries map to existing tests; vardiff convergence had none and is tracked in #558. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Anatolie
force-pushed
the
s14-scenario-manifest
branch
from
September 28, 2026 21:05
b5a9dd0 to
bc12069
Compare
djh58
added a commit
that referenced
this pull request
Sep 29, 2026
…cenario manifest (#560) (#584) The manifest check added by #560 fails on 3.x.x (tests/test_check_e2e_scenarios.py::test_the_checked_in_manifest_passes): two live_regtest tests in the PR gated list are cited by no running scenario. Both belong to existing #521 scenarios: - pg_failover_tests::offer_standby::a_found_block_offered_after_the_standby_flush_survives_a_replication_cut_at_submitblock (#570, #529 item c) runs on the #521 scenario 3 failover fixture; its criteria gain the standby flush wait's claim. - node_outage_tests::node_restarted_into_warmup_before_submitblock_lands_the_block_once (#566) is a #521 scenario 4 node-outage drill. scripts/check_e2e_scenarios.py and its tests pass. Refs #560, #570, #566. Co-authored-by: Claude Opus 5.5 <[email protected]>
25 of 40 tasks
2 tasks
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.
Closes #543 (#487 S14).
What
test/e2e-scenarios.tomllists 50 end-to-end and load scenarios. Each has its lanes, owner issue, pass criteria and arunsflag. The sources are 3.x.x: End-to-end and load testing in CI on Blacksmith runners: real qbitd regtest mining, ephemeral PostgreSQL, many wallets #487's catalogue, 3.x.x: pre-mainnet end-to-end scenarios on regtest, plus a nightly load-harness job #521's scenarios 1–7 and presets, and 3.x.x: Close native E2E gaps in multi-recipient payouts, async failover and lost node replies #474's B, C and 1,001-recipient case under 3.x.x: Close native E2E gaps in multi-recipient payouts, async failover and lost node replies #474. 27 run today and 23 are unexercised; every unexercised entry links an issue and gives a reason.scripts/check_e2e_scenarios.pychecks the manifest against what the lanes run, followingcheck_gate_manifest.py. It reuses that script's list parser andprism_load_matrix.load. A running scenario's lanes come from the evidence it cites:testsid runs inprif it is intest/prism-gated-tests.txt, and innightlyif it is intest/prism-nightly-gated-tests.txt;presetsentry runs innightly,dispatchorpr(smoke), following the preset'sschedule;unit_testsare<file>::<fn>references to ungated#[test]functions that are not#[ignore]d.The check fails in these cases:
live_regtestorload_smokegated test, a nightly opt-in id, or a preset;#issue, or a duplicate id.tests/test_check_e2e_scenarios.pychecks each failure mode on a fixture tree, and also checks the manifest as committed.There are pointers to the manifest from both gated lists and from the load-harness README's preset section.
Functional entries mapped to existing tests
vardiff.rsunit tests,stratum_codec,stratum_protocol. Convergence per session: no test, filed as #558live_regtest::highdiff_tests×4,stratum_restart_bind×3,stratum_protocol×2stratum_codec::version_mask_advertisement_is_authoritative,stratum_protocolnegotiation and cross-listener rolled submit,compact_runtime_e2e::real_socket_reconnect…stratum_protocol×10,stratum_admission,stratum_admission_postgres×3stratum_protocol::reconnect_on_another_listener…(A's job accepted on B, and a thief refused),compact_runtime_e2e×2 (real ledger: another worker can't resume it, and a duplicate on B is rejected),ledger_postgres::global_duplicates…(a duplicate through a second instance)CI
The token that pushed this branch has no
workflowscope, so this PR doesn't editci.yml. The check still runs in required CI: thepython-testsshards runtests/test_check_e2e_scenarios.py, and itstest_the_checked_in_manifest_passesruns the script against the tree. A dedicated lint-job step (python3 scripts/check_e2e_scenarios.py) would only make failures easier to spot, and it can be added separately by someone whose token hasworkflowscope.Verification
python3 scripts/check_e2e_scenarios.py→ exit 0 (50 scenarios: 27 run, 23 unexercised)python3 -m unittest tests.test_check_e2e_scenarios tests.test_check_gate_manifest tests.test_prism_load_matrix→ tests OK🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.