Files
pipelines/docs/installation-verification.md
T

53 lines
2.9 KiB
Markdown

# Installation verification
Executed on macOS (arm64), using an isolated prefix and ports 18080/18090;
the development database and services were not targets of these checks.
- `go test -race -count=1 ./...`: passed, including fresh empty database,
template catalog/create-only protection, workspace allowlisting and symlink
rejection, multiline prompt, and run-state regressions.
- `go vet ./...`: passed.
- `python3 -m unittest discover -s scripts -p 'test_*.py'`: 14 passed (including
unchanged argument forwarding to the shared CLI).
- `./install.sh --yes --no-autostart --prefix <isolated> --bin-dir <isolated>`:
installed native binaries plus isolated Docker ntfy, with private credentials.
- Isolated `pipelines doctor`: both health endpoints and host OpenCode API passed.
- Actual pseudo-terminal check (`check-install-cli.py` in the session's temporary
storage): rendered template browser, editor return without automatic submission,
explicit submission, fuzzy CLI selection, multiline composer, and supplied
name/prompt confirmation passed.
- Isolated `pipelines restart`, retained-data uninstall, reinstall, and a second
terminal check: passed; the submitted pipeline survived reinstall.
- Authenticated HTTP publication and phone-reader polling: passed. Actual Android
app reception is **not tested**.
Full model-driven repository changes, launchd autostart, Linux systemd, privileged
`--system-command`, and automatic npm CLI installation are **not tested**.
Existing Go-file edit-scope restrictions still apply.
## CLI authoring checks
- `check-author-cli.py` (session temporary storage): isolated installed help,
JSON draft/validate/submit/export/history, and real OpenCode session/skill
activation passed. Interactive launch arguments were captured without a model turn.
- `check-author-picker.py`: actual terminal fuzzy `edit` selection, draft creation,
and real skill preload passed, again without a model turn.
- CLI/server regression tests cover stale-version rejection, invalid submission
rejection even with `--force`, create-only collisions, headless run idempotency,
inspection/cancellation, and bounded waiting that leaves an active run intact
on timeout. Execution is controlled in these tests, not a live model.
Full interactive model-driven pipeline authoring is **not tested**.
## Compiled Go command
- `GOBIN=<isolated> go install ./cmd/pipelines ./cmd/server ./cmd/tui`: passed.
- Source installer now uses `go install`; isolated installation and retained-data
reinstall passed. The command symlink resolved to a Mach-O Go binary, not a script.
- Compiled command `help`, `list --json`, README three-stage example validation /
submission, `doctor`, and `restart`: passed against isolated services.
- A separately Go-installed CLI selected the same installation using
`PIPELINES_PREFIX` and read the retained pipeline successfully.
Privileged `/usr/local/bin` linking, launchd, and Linux remain **not tested**.