Codex
d86f9abc29
fix(go-process): replace testify with stdlib testing patterns (AX-6)
...
Removes testify + davecgh/go-spew + pmezard/go-difflib from go.mod;
rewrites assert/require calls across 13 _test.go files
(buffer/daemon/errors/exec/global/health/pidfile/process/program/
registry/runner/service + pkg/api/provider) to stdlib t.Fatalf
patterns. go vet + go test all clean (GOWORK=off).
Closes tasks.lthn.sh/view.php?id=719
Co-authored-by: Codex <noreply@openai.com>
Via-codex-lane: Cyclops-719 dispatch (haiku forwarder, ~17min lane)
2026-04-24 18:03:24 +01:00
Snider
afcbea305e
feat(process): detached-by-default start + RFC API aliases + JSON tags
...
- service.go + actions.go + runner.go: process.start detached by default through
named action/task path and RFC HTTP alias
- service.go: managed process IDs use core.ID()
- types.go + service.go + runner.go: JSON tags on execution/pipeline DTOs
- pkg/api/provider.go: Register helper; RFC alias routes /process/list + /process/start
- service_test.go + provider_test.go: detached-startup + RFC alias coverage
NOTE: dev branch had pre-existing compile errors in pidfile.go (undefined processHandle,
currentPID) — these exist independent of this commit. Build remains broken until
those are added, but the feat work here is preserved.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 19:01:26 +01:00
Virgil
3dd65af0a5
feat(api): add process start and run endpoints
2026-04-04 08:02:33 +00:00
Virgil
a7cde26b9b
feat(api): allow pid targeting for process controls
2026-04-04 07:52:42 +00:00
Virgil
56bc171add
feat(process): add running-only process listing
2026-04-04 07:48:31 +00:00
Virgil
f9537fb24d
feat(api): add process signal endpoint
2026-04-04 07:44:37 +00:00
Virgil
cf9291d095
feat(process): add wait API endpoint
2026-04-04 07:41:05 +00:00
Virgil
208dac3c82
feat(api): expose process stdin control
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 06:44:01 +00:00
Virgil
9b3dd1ec49
feat(process): emit daemon started discovery events
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 06:12:49 +00:00
Virgil
040500f3e1
feat(process): broadcast provider process ws events
2026-04-04 06:09:01 +00:00
Virgil
911abb6ee8
feat(process): add process output snapshot endpoint
2026-04-04 01:45:09 +00:00
Virgil
90ce26a1b7
feat(api): expose managed process routes
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 01:03:42 +00:00
Virgil
d565e3539e
feat(process): add pipeline execution API
2026-04-04 00:49:35 +00:00
Virgil
214cf4cfa8
feat(process): expose health probe failure reasons
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 00:15:20 +00:00
Claude
61867e56bb
chore: update dependencies to dappco.re tagged versions
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 01:10:19 +00:00
Claude
a09ca4f408
chore: migrate to dappco.re vanity import path
...
Module path: forge.lthn.ai/core/go-process -> dappco.re/go/core/process
Import path updates:
- forge.lthn.ai/core/go-log -> dappco.re/go/core/log
- forge.lthn.ai/core/go-io -> dappco.re/go/core/io
- forge.lthn.ai/core/go-ws -> dappco.re/go/core/ws
- forge.lthn.ai/core/go-process (self) -> dappco.re/go/core/process
- forge.lthn.ai/core/api left as-is (not yet migrated)
Local replace directives added until vanity URL server is configured.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 23:49:08 +00:00
Snider
ae321f5344
refactor(api): update import path from go-api to core/api
...
Part of the polyglot merge — forge.lthn.ai/core/go-api is now
forge.lthn.ai/core/api.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:10:43 +00:00
Snider
58e4d37008
feat(api): add process service provider with REST endpoints
...
Wraps the daemon Registry as a provider.Provider with REST endpoints for
list, get, stop, and health check. Implements Streamable and Describable
for WS event streaming and OpenAPI generation. Adds go-api, go-ws, and
gin as direct dependencies for the pkg/api sub-package.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:47:20 +00:00