Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qa-release-benchmark

A reusable, release-over-release infrastructure benchmark of a Cartesi rollups-node release, driven by the qa-tester-app (Mugen-Builders/qa-tester-app) deployed on the node. Turns the tester-app half of the manual alpha.13 QA-Platform-infra-test-results campaign into a repeatable skill that emits a comparable sheet per release.

Vehicle: a skill (the agent orchestrates, adapts to the release, interprets, reports) backed by pinned measurement scripts (the agent never eyeballs a number — scripts produce them, so releases compare). Scope: the tester app only; performance (soak / stress / latency / availability) + functional coverage (command-catalog terminal states, size boundaries, inspect matrix, voucher execution, snapshot policy). Custody (foreclosure/refund/withdraw → erc20-withdrawal app) and fee/economic analysis (sequencer app) are out of scope — different apps.

Files

  • SKILL.md — the procedure (invoked as /qa-release-benchmark).
  • references/battery.md — the authoritative test list (P1–P8, F1–F28).
  • references/run-schema.md — the run@1 JSON schema + comparison rules.
  • baselines/alpha13.json — the alpha.13 campaign as a run@1 baseline.
  • scripts/ — client.py (vendored, self-contained node/L1 client + tester-app encoders), perf_run.py, func_run.py, collect.py, emit_xlsx.py, compare.py, abis/.

Dependencies

pip install web3 eth-account eth-abi eth-utils requests openpyxl

Quick use

export QA_BENCH_FUNDER_KEY=...        # never passed on the command line or logged
export QA_BENCH_L1_RPC_URL=...

cd scripts
# prove the pipeline first (tiny profile):
python3 perf_run.py --smoke --node <jsonrpc> --inspect <inspect> --app <addr> --token <addr> \
                    --input-box <addr> --portal <addr> --chain-id 11155111 --out ../results/<rel>
python3 func_run.py --node <jsonrpc> --inspect <inspect> --app <addr> --token <addr> \
                    --input-box <addr> --portal <addr> --chain-id 11155111 --out ../results/<rel>
python3 collect.py ../results/<rel> --release <rel>
python3 emit_xlsx.py ../results/<rel>
python3 compare.py ../baselines/alpha13.json ../results/<rel>/run.json

Verified vs pending

  • Verified offline (no node needed): client.py encoders/decoders/revert table; the full collect → emit_xlsx → compare pipeline, including regression detection and finding diffs.
  • Pending a live node + funded key: perf_run.py / func_run.py execution, and the node input/application status strings (read defensively in func_run.py; confirm against the release's JSON-RPC schema on first run and adjust _TERMINAL if a tag differs).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages