34 lines
1.4 KiB
Markdown
34 lines
1.4 KiB
Markdown
# Verification scope
|
|
|
|
Regression commands:
|
|
|
|
```sh
|
|
go test -race -count=1 ./...
|
|
go vet ./...
|
|
python3 -m unittest discover -s scripts -p 'test_*.py'
|
|
```
|
|
|
|
Optional no-inference stable OpenCode checks:
|
|
|
|
```sh
|
|
PIPELINES_TEST_OPENCODE_V1=/path/to/opencode \
|
|
go test ./internal/opencode ./internal/author -run TestStable -count=1 -v
|
|
```
|
|
|
|
The stable checks use isolated home/config/data/cache directories; they never
|
|
copy login credentials or invoke a model. They exercise session creation, explicit
|
|
model selection, stored scoped permissions, abort on the same owned service,
|
|
session deletion, and authoring instruction preload with `noReply=true`.
|
|
|
|
Native generation/assistant completion parsing is regression-tested against a
|
|
controlled HTTP server. Full live inference, permission enforcement by real model
|
|
tool calls, cancellation during inference, optional Docker deployment, privileged
|
|
system-wide copying, and OS service-manager registration are **not tested**.
|
|
|
|
Autostart regression tests exercise both service-definition formats, scoped
|
|
environment capture, escaping, private files, refusal to overwrite unmanaged
|
|
files/symlinks, preview without side effects, and lifecycle calls using a mock OS
|
|
manager. The installed macOS CLI's preview was validated with `plutil -lint`.
|
|
`GOOS=linux GOARCH=amd64 go build ./cmd/...` also passed. Actual launchd/systemd
|
|
registration, logout/login restart, and Linux lingering remain **not tested**.
|