Skip to content

Fix bug reports, bump deps#310

Merged
OisinKyne merged 1 commit intomainfrom
oisin/versionupdates
Apr 6, 2026
Merged

Fix bug reports, bump deps#310
OisinKyne merged 1 commit intomainfrom
oisin/versionupdates

Conversation

@OisinKyne
Copy link
Copy Markdown
Contributor

No description provided.

@OisinKyne OisinKyne merged commit 9e6873d into main Apr 6, 2026
6 checks passed
@OisinKyne OisinKyne deleted the oisin/versionupdates branch April 6, 2026 16:21
bussyjd added a commit that referenced this pull request Apr 7, 2026
…recision

Address review findings from #310 merge:

- fixVolumeOwnership: log errors instead of silently swallowing them so
  failed chown is visible in CLI output for debugging
- fixVolumeOwnership: reject paths outside DataDir (../ traversal guard)
  to prevent docker exec targeting unexpected node paths
- docker-publish-x402: remove broken matrix outputs (both pointed to
  last-finishing job), scan by SHA tag instead of :latest for
  deterministic Trivy results matching the exact build
- obolup.sh: warn before restarting Ollama service, only restart if
  already active to avoid disrupting running inference
bussyjd added a commit that referenced this pull request Apr 7, 2026
…vy scan precision

Address review findings from #310 merge:

- fixVolumeOwnership: use ui.Warnf (variadic optional) instead of
  silently swallowing errors, aligned with the codebase's UI logging
  pattern (54 u.Warn/Success calls vs 0 log.Printf in this file)
- fixVolumeOwnership: reject paths outside DataDir (../ traversal guard)
  to prevent docker exec targeting unexpected node paths
- docker-publish-x402: remove broken matrix outputs (both pointed to
  last-finishing job), scan by SHA tag instead of :latest for
  deterministic Trivy results matching the exact build
- obolup.sh: warn before restarting Ollama service, only restart if
  already active to avoid disrupting running inference
bussyjd added a commit that referenced this pull request Apr 7, 2026
… Trivy precision

Address review findings from #310 merge:

- fixVolumeOwnership: thread *ui.UI through the full call chain
  (ensureWallet → GenerateWallet → provisionKeystoreToVolume →
  fixVolumeOwnership) so chown failures surface via u.Warnf, uniform
  with the rest of the codebase (zero log.Printf in openclaw package)
- fixVolumeOwnership: reject paths outside DataDir (../ traversal guard)
  to prevent docker exec targeting unexpected node paths
- docker-publish-x402: remove broken matrix outputs (both pointed to
  last-finishing job), scan by SHA tag instead of :latest for
  deterministic Trivy results matching the exact build
- obolup.sh: warn before restarting Ollama service, only restart if
  already active to avoid disrupting running inference
OisinKyne pushed a commit that referenced this pull request Apr 7, 2026
…ion (#311)

* fix: harden PR #310 — thread ui.UI for chown errors, path validation, Trivy precision

Address review findings from #310 merge:

- fixVolumeOwnership: thread *ui.UI through the full call chain
  (ensureWallet → GenerateWallet → provisionKeystoreToVolume →
  fixVolumeOwnership) so chown failures surface via u.Warnf, uniform
  with the rest of the codebase (zero log.Printf in openclaw package)
- fixVolumeOwnership: reject paths outside DataDir (../ traversal guard)
  to prevent docker exec targeting unexpected node paths
- docker-publish-x402: remove broken matrix outputs (both pointed to
  last-finishing job), scan by SHA tag instead of :latest for
  deterministic Trivy results matching the exact build
- obolup.sh: warn before restarting Ollama service, only restart if
  already active to avoid disrupting running inference

* refactor: migrate fmt.Print* output to ui.UI in CLI commands

Route all CLI output through the ui.UI layer instead of raw fmt calls.
This ensures all output respects --verbose, --quiet, and future --output
json mode (Phase 1C of cli-agent-readiness plan).

- sell.go: 77 fmt.Print* calls → u.Infof/Warnf/Successf/Printf
- network.go: 28 fmt.Print* calls → u.Infof/Warnf/Successf/Printf
- model.go: 17 fmt.Print* calls → u.Infof/Warnf/Successf/Printf

Thread u *ui.UI into standalone helpers that previously used fmt
directly: removePricingRoute, runInferenceGateway, registerSponsored,
registerDirectViaSigner, registerDirectWithKey.

---------

Co-authored-by: bussyjd <bussyjd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant