12 Commits

Author SHA1 Message Date
self 51b40e5dea feat: add scenario alias groups and dedupe scenario helpers
Add npm run alias:{tribes,sender,kobold,all} to run minimal coverage
groups of scenarios sequentially, failing fast on the first failure.
Scenarios in a group share one SUPERTEST_RUN_ID so artifacts land
together; all is the deduplicated union of the named groups.

tribes omits single-node-plugin-rollout-rollback (its coverage is a
subset of the cluster rollout scenarios); its rollback executor-status
check is folded into cluster-plugin-rollout-sync-split-brain via a shared
assertRollbackExecutorAccepted helper.

Extract the duplicated scenario plumbing into src/scenarios/shared.ts:
init-primary preamble, rollout start, cluster control convergence,
supertest plugin schema/state helpers, and sleep/shellQuote/errorToMessage.
2026-06-18 04:31:52 +02:00
self 4da993d609 feat: add manual node init scenario
Add manual provider configuration and node-create wiring for importing an existing host into supertest. Document the manual-node-init scenario and cover config plus CLI argument generation in tests.
2026-06-11 09:01:30 +02:00
self 91331a811c feat: add Kobold public private scenario
Add a two-node scenario that rolls out the Kobold plugin, creates public and private datasets, and verifies public dataset sync while private data remains local.
2026-05-28 00:49:36 +02:00
self 0bfb6847e2 build: use native npm release delay
Replace the local npm-safe wrapper with npm's native min-release-age config and remove redundant dependency script aliases.
2026-05-24 19:53:27 +02:00
self f19843c05e test: cover plugin-integrated join rollouts
Add a live supertest scenario that rolls out the supertest plugin on the primary node, adds join nodes afterward, and verifies the new nodes install with the active plugin-enabled system target.
2026-05-24 15:33:54 +02:00
self 2745c21675 feat: add cluster sender reboot scenario
Rename the clustered Sender fanout scenario to cover the edge reboot recovery path and wire the new command through the CLI and npm scripts.

Use provider default instances from runtime config, allow cleanup diagnostics to tolerate expected timeouts, and document the updated scenario and live-debug helper guidance.

Validated with SUPERTEST_CERT_MODE=self-signed SUPERTEST_WAIT_ON_FAILURE=1 npm run scenario:cluster-sender-fanout-reboot and npm run typecheck.
2026-05-19 09:26:10 +02:00
self 70f90fa1b0 feat: add clustered sender fanout scenario
Add the three-node Sender fanout scenario, wire it into the CLI and npm scripts, and document the scenario and substitute preflight helper. Capture remote logs before teardown so failed live runs keep enough context for later analysis.
2026-05-17 18:45:58 +02:00
self b5aecc0a24 feat: add single-node sender scenario 2026-05-09 20:24:28 +02:00
self 8b159c9f48 test: add clustered plugin split-brain scenario 2026-05-06 22:12:20 +02:00
self 08c49b4114 feat: add admin rollout scenario checks 2026-04-26 13:25:10 +02:00
self 530078ad6c improve: Drop scenario aliases 2026-04-16 19:48:56 +02:00
self 96ef2ba9ac init: devenv/npm 2026-04-09 22:14:37 +02:00