From b7ef256ebf47872a4bbeff0759d9f58a8daae6df Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 24 Apr 2026 21:45:29 +0100 Subject: [PATCH] fix(go-process): update stale coreerr alias to dappco.re/go/log (AX-6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated `coreerr "dappco.re/go/core/log"` → `coreerr "dappco.re/go/log"` across 12 files (actions.go, daemon.go, errors.go, exec/exec.go, health.go, pkg/api/provider.go, process.go, process_global.go, program.go, registry.go, runner.go, service.go). No stale path remains in .go. Pre-existing blocker (out of ticket scope): `dappco.re/go/io@v0.4.2` is 404 from module proxy — affects `go test ./...` but is unrelated to this import rename. Closes tasks.lthn.sh/view.php?id=718 Co-authored-by: Codex --- actions.go | 2 +- daemon.go | 2 +- errors.go | 2 +- exec/exec.go | 2 +- health.go | 2 +- pkg/api/provider.go | 2 +- process.go | 2 +- process_global.go | 2 +- program.go | 2 +- registry.go | 2 +- runner.go | 2 +- service.go | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/actions.go b/actions.go index 162ff93..891ebff 100644 --- a/actions.go +++ b/actions.go @@ -7,7 +7,7 @@ import ( "time" "dappco.re/go/core" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // --- ACTION messages (broadcast via Core.ACTION) --- diff --git a/daemon.go b/daemon.go index 6199fc6..26044b5 100644 --- a/daemon.go +++ b/daemon.go @@ -7,7 +7,7 @@ import ( "sync" "time" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // DaemonOptions configures daemon mode execution. diff --git a/errors.go b/errors.go index ba540e6..e7f36d4 100644 --- a/errors.go +++ b/errors.go @@ -1,6 +1,6 @@ package process -import coreerr "dappco.re/go/core/log" +import coreerr "dappco.re/go/log" // ServiceError wraps a service-level failure with a message string. // diff --git a/exec/exec.go b/exec/exec.go index 5e76ada..68bcadd 100644 --- a/exec/exec.go +++ b/exec/exec.go @@ -8,7 +8,7 @@ import ( "os/exec" "strings" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" goio "io" ) diff --git a/health.go b/health.go index a5a2ca0..92a091c 100644 --- a/health.go +++ b/health.go @@ -10,7 +10,7 @@ import ( "sync" "time" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // HealthCheck is a function that returns nil when the service is healthy. diff --git a/pkg/api/provider.go b/pkg/api/provider.go index ecf5561..6b397f8 100644 --- a/pkg/api/provider.go +++ b/pkg/api/provider.go @@ -16,7 +16,7 @@ import ( "dappco.re/go/core" "dappco.re/go/core/api" "dappco.re/go/core/api/pkg/provider" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" process "dappco.re/go/core/process" "dappco.re/go/core/ws" "github.com/gin-gonic/gin" diff --git a/process.go b/process.go index 6725cb6..a0c4225 100644 --- a/process.go +++ b/process.go @@ -16,7 +16,7 @@ import ( // Note: banned-imports exception: process lifecycle timing is intrinsic here; core.* helpers are downstream and unavailable at this layer. "time" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" // Note: banned-imports exception: stdlib io is intrinsic for process pipes; go-process is THE core.Process implementation and cannot self-depend. goio "io" ) diff --git a/process_global.go b/process_global.go index 79862b3..c55ad7d 100644 --- a/process_global.go +++ b/process_global.go @@ -7,7 +7,7 @@ import ( "sync/atomic" "dappco.re/go/core" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // Global default service used by package-level helpers. diff --git a/program.go b/program.go index f7b0822..a8b8ab7 100644 --- a/program.go +++ b/program.go @@ -8,7 +8,7 @@ import ( "unicode" core "dappco.re/go/core" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // ErrProgramNotFound is returned when Find cannot locate the binary on PATH. diff --git a/registry.go b/registry.go index 76d0247..acf44a1 100644 --- a/registry.go +++ b/registry.go @@ -10,7 +10,7 @@ import ( "time" coreio "dappco.re/go/core/io" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // DaemonEntry records a running daemon in the registry. diff --git a/runner.go b/runner.go index 4f0a588..0f8eec5 100644 --- a/runner.go +++ b/runner.go @@ -5,7 +5,7 @@ import ( "sync" "time" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" ) // Runner orchestrates multiple processes with dependencies. diff --git a/service.go b/service.go index 2c13782..ddce7b0 100644 --- a/service.go +++ b/service.go @@ -17,7 +17,7 @@ import ( "time" "dappco.re/go/core" - coreerr "dappco.re/go/core/log" + coreerr "dappco.re/go/log" // Note: banned-imports exception: stdlib io is intrinsic for process pipes; go-process is THE core.Process implementation and cannot self-depend. goio "io" )