mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-25 13:10:03 +00:00
46d3ca214f
`npm run dev:verify` (and `dev:verify:lab`) still passed
`tests/17-recovery-layout.spec.ts` to the integration runner. That spec
was replaced by `tests/17-proxmox-backups-layout.spec.ts` in 1c38d79937,
and `scripts/tests/test-hot-dev-bg.sh` pinned the stale path.
The stale path never failed the pack. Playwright treats spec paths as
filters, so `test --list` with main's arguments reports 10 tests in 2
files and exits 0. The backups layout guard had silently dropped out of
the managed proof pack.
Changes:
- `scripts/hot-dev-bg.sh`: the default verify command names
`17-proxmox-backups-layout.spec.ts`.
- `tests/integration/tests/17-proxmox-backups-layout.spec.ts`: the
guards need the mock-mode estate. Under the managed hot-dev runtime
(`PULSE_E2E_USE_HOT_DEV`) they skip with an `npm run mock:on` hint when
mock mode is off. They do not switch modes in place, because
`Monitor.SetMockMode` clears the runtime's active alerts and in-memory
history. Other harnesses are unchanged; Core E2E runs mock mode.
- `scripts/tests/test-hot-dev-bg.sh`: pins the new spec and checks that
every spec the default verify command names exists under
`tests/integration`. Against main's `hot-dev-bg.sh` that check fails on
the retired path. The README pin is updated the same way.
- `tests/integration/README.md`, `deployment-installability.md`:
describe the real spec and what it checks.
- Removes two unused `RECOVERY_PRODUCT_SURFACE_EXACT_FILES` lists that
named deleted files.
Verification (private stacks on pulse-dev, not the shared dev stack):
- Fixed proof-pack arguments through `scripts/run-playwright.mjs`
against a mock backend: 7 passed, 5 skipped (spec 16 needs the managed
runtime), twice. An earlier run at load ~110 timed out on clicks in
specs 17 and 18; those passed on rerun.
- Gated spec 17 with `PULSE_E2E_USE_HOT_DEV=1`: 2 skipped against a
real-mode backend, 2 passed against a mock backend. Main's ungated spec
17 fails both tests against the same real-mode backend.
- `scripts/tests/test-hot-dev-bg.sh`: 288 passed. The touched functions
fail 4 assertions with main's `hot-dev-bg.sh` and README.
- `canonical_completion_guard_test` and `subsystem_lookup_test`: 304
tests OK.
The mock backend used a reduced estate (`PULSE_MOCK_NODES=5` and
similar). The default 50-node estate did not finish starting within 25
minutes on pulse-dev at load ~100.