Skip to content

fix(e2e): honest --no-miner skips + bench chain pre-flight (#905, #914) - #982

Merged
VijitSingh97 merged 1 commit into
developfrom
fix/e2e-harness-hardening
Aug 14, 2026
Merged

fix(e2e): honest --no-miner skips + bench chain pre-flight (#905, #914)#982
VijitSingh97 merged 1 commit into
developfrom
fix/e2e-harness-hardening

Conversation

@VijitSingh97

Copy link
Copy Markdown
Collaborator

Parked-branch submission from the 2026-08-14 repo audit: the branch was finished 2026-08-13 (single self-contained commit with tests and docs) but no PR was ever opened.

Ponytail-review: lean, nothing to cut.

Closes #905
Closes #914

🤖 Generated with Claude Code

…ded config with loud drift diff

Three e2e-harness hardenings (#914, #905, #880):

- #914: e2e.sh refuses to start when the bench chains are not at tip.
  Before anything is locked or borrowed, it reads both sync panels off
  the bench dashboard's /api/state; anything but done/done prints each
  chain's current/target and aborts, so a cold bench reads as an
  environment condition instead of burning the borrowed-rig hour on
  required-sync failures. --skip-preflight overrides.

- #905: --no-miner now does what its help text promised. e2e.sh threads
  --no-mining-asserts into run.sh, which SKIPs the workers-online and
  stratum-hashes assertions with a logged notice (and skips their
  pointless waits); every other assertion stays binding.

- #880: the bundle-seeding path resolves the current -> symlink with
  readlink -f so the log names the real per-version bundle dir, and the
  bundle-vs-canonical drift diff is now full dotted key paths (nested
  keys — the shape that actually bit: monero.view_key, dashboard.energy)
  and ALWAYS prints a verdict when both configs exist, including the
  clean "no key-level drift" arm.

The shared jq filters live in lib.sh so the selftest pins them: the #914
summary against a representative /api/state payload, the #880 key-path
diff against nested drift, symlink resolution, and the identical-configs
empty-diff arm. docs/dev/integration-testing.md updated for all three.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VijitSingh97
VijitSingh97 merged commit 825a9f3 into develop Aug 14, 2026
16 checks passed
@VijitSingh97
VijitSingh97 deleted the fix/e2e-harness-hardening branch August 14, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant