Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Smoke test

Exercises pi-sre-mode through Pi RPC mode, either standalone or together with an overlay package.

What it verifies

  • the public package loads from a local path via .pi/settings.json
  • optional overlay package loading works from a second local path
  • commands are discoverable through get_commands
  • /incident works through extension UI requests
  • /check-connectors runs
  • /report writes a report file and pushes markdown into the editor

Usage

cd /path/to/pi-sre-mode

# Public package only
bun run examples/smoke-test/smoke-test.mjs --public-only

# Public package + overlay
bun run examples/smoke-test/smoke-test.mjs --overlay /path/to/private-overlay

Optional environment variables:

  • PI_BIN — override the pi binary path
  • KEEP_SMOKE_TMP=1 — keep the temporary smoke-test workspace for inspection

Notes

  • The script creates a temporary isolated HOME so your normal Pi config does not interfere.
  • It uses a temporary workspace with .pi/settings.json pointing at the local package paths.