Files
amethyst/cli/tests/.gitignore
T
Claude 32f0c462bb test: run relay-backed tests against geode instead of external relays
Every test that used to open a socket to something outside the repo now
talks to geode, the relay this project ships, either in-process or as the
embedded `amy serve`.

- amethyst: the Android instrumented EventSyncTest dialed vitor.nostr1.com,
  pyramid.fiatjaf.com and the nos.lol / nostr.mom defaults and asserted
  nothing. Replaced by a JVM unit test on geode's InProcessRelays that
  preloads a source relay and asserts what lands on the outbox, inbox and
  DM relays, plus a NIP-42 variant with the source behind FullAuthPolicy
  to cover the RelayAuthenticator wiring. Wires :geode, its testFixtures
  and the JVM SQLite driver into amethyst's unit-test classpath, the same
  way quartz's jvmAndroidTest already does.
- cli/tests: the cache, dm and marmot headless harnesses cloned and
  cargo-built nostr-rs-relay on first run. They now boot `amy serve`
  (geode) from the amy binary they already build, via a shared
  start_local_relay / stop_local_relay in headless/helpers.sh. Rust is no
  longer needed for the cache and dm suites at all.
- cli/tests/marmot/marmot-interop.sh: the interactive harness defaulted
  to relay.damus.io / nos.lol / primal / bitcoiner.social / nostr.mom,
  with `--local-relays` pointing at MDK's docker stack. It now boots the
  embedded relay on 0.0.0.0 by default (the phone reaches it over the
  LAN) and keeps the public set behind an explicit `--public-relays`.
- docs: cli/tests/README.md, CONTRIBUTING.md, cli/DEVELOPMENT.md and
  cli/ROADMAP.md no longer describe a loopback nostr-rs-relay.

The quartz prodbench probes (NegentropyStallRepro, CursorTerminationProbe,
NegentropyMultiRelayLiveTest, ProductionReceiverBenchmark, ...) are left
as they are: they are opt-in diagnostics of production relay behaviour,
gated behind PROD_RELAY_BENCH / NEG_MULTI / NEG_STALL_REPRO, and would
measure nothing against a local relay.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PguqnDbP2v11dtANs9xdxc
2026-09-12 16:21:51 +00:00

15 lines
332 B
Plaintext

marmot/state/
marmot/state-headless/
dm/state-dm-headless/
cache/state-cache-headless/
nests/state/
clink/state-clink-headless/
relaygroup/state-relaygroup-headless/
sync/state-sync-deletions/
blossom/state-blossom-live/
git/state-git-nip34/
buzz/state-job-loop/
buzz/state-workflow-loop/
buzz/state-agent-exec/
marmot/state-repro/