Skip to content

docs(sdkharness): run one check against the standalone simulator - #625

Merged
sophiecarreras merged 2 commits into
masterfrom
sdkharness/readme-standalone-simulator
Oct 4, 2026
Merged

sophiecarreras merged 2 commits into
masterfrom
sdkharness/readme-standalone-simulator

Conversation

@sophiecarreras

Copy link
Copy Markdown
Contributor

Follow-up to #623 and #624.

  • .sdkharness/README.md: the 'Run one check locally' steps no longer point at central-harness-only paths (/tmp/b2-simulator/..., sdkharness/bin/simulator/serve.mjs). They now clone or reuse the private backblaze-labs/b2-simulator via B2SIM_DIR, start it with --control, and run one conformance, resilience and health scenario through the dispatchers. Node requirement corrected to 20+ (the simulator's engines floor). Every command was run against a loopback simulator and printed a PASS SDKHARNESS_RESULT line.
  • README now lists every proxy variable the checks scrub (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, FTP_PROXY, NO_PROXY, REQUEST_METHOD, then NO_PROXY pinned), matching lib/loopback_guard.py.
  • Test: the _JournalServer helper's imports moved to module level.
  • Not changed: the unreachable/unauthorized entries in the conformance leaves' REASONS tuples. They are never raised, but ~34 files carry them and no test covers the tuples, so it was not a trivial, covered change.

Verified: pytest test/unit/test_sdkharness*.py (118 passed), ruff check and ruff format --check on the touched test file.

🤖 Generated with Claude Code

Rewrite the README's local-run steps to use backblaze-labs/b2-simulator
(via B2SIM_DIR) instead of central-harness-only paths, list every proxy
variable the leaf checks scrub, and move the _JournalServer test helper's
imports to module level.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sophiecarreras sophiecarreras self-assigned this Oct 4, 2026
Drop links to private repositories, say the standalone simulator is
available to the team, show the full loopback_guard.py path, note the
Python 3.10+ requirement, and stop each example's simulator before the
next so copy-paste runs get a fresh one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sophiecarreras
sophiecarreras merged commit c83daa5 into master Oct 4, 2026
27 of 28 checks passed
@sophiecarreras
sophiecarreras deleted the sdkharness/readme-standalone-simulator branch October 4, 2026 04:14
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.

1 participant