No description
Find a file
Snider 9f6fa7ec17 fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2
Round 2 follow-up to 907c5fa. Closes residual CodeRabbit findings.

Test infra:
- Replaced must* test helpers across cmd_apply_test, cmd_file_sync_test,
  cmd_vm_test, cmd_ci_test, cmd_repo_test, cmd_wizard_test,
  cmd_api_testgen_test, cmd_workflow_test, secret_test, coverage_test,
  scan_secrets_test, snapshot_test with stdlib checks.
- Deleted stale package-level test_helpers_test.go files that only
  supported the old must* pattern.
- AX-6 maintained: no testify Go imports / go.mod requires. Remaining
  go.sum testify entries are transitive checksums after go mod tidy.

Module graph:
- CLI imports switched back to Cobra-compatible
  dappco.re/go/core/cli/pkg/cli module + replacements for private
  vanity modules. GOWORK=off resolves cleanly under isolated cache.
- locales/embed.go / go.sum: i18n checksum + go mod tidy clean.

Verified-but-already-correct (no code change needed):
- cmd/dev/service.go: no-op core.Result{OK:true} + prompt type assertion
- cmd/workspace/config.go: filepath.Abs normalisation + fmt.Errorf
  wrapping
- tests/cli/devops/main.go: raw walk/read errors wrapped
- tests/cli/devops/Taskfile.yaml: strict shell flags
- cmd/dev/cmd_issues.go + cmd_reviews.go: import grouping (after CLI
  module correction)

Verification: gofmt clean, GOWORK=off go vet + go test -count=1 ./...
pass with explicit cache paths.

Closes residual findings on https://github.com/dAppCore/go-devops/pull/2

Co-authored-by: Codex <noreply@openai.com>
2026-04-27 17:29:14 +01:00
.claude-plugin fix(plugin): remove invalid commands schema from plugin.json 2026-03-13 10:54:45 +00:00
.core chore: add .core/ build and release configs 2026-03-06 18:52:36 +00:00
cmd fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
deploy feat(ax-10): bring go-devops to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:44:02 +01:00
devkit fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
docs fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
locales feat(ax-10): bring go-devops to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:44:02 +01:00
playbooks feat: add Ansible playbooks and design plans from CLI 2026-02-21 21:16:52 +00:00
snapshot fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
tests/cli/devops fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
.gitignore chore: add .core/ and .idea/ to .gitignore 2026-03-15 10:17:49 +00:00
CLAUDE.md fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
go.mod fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
go.sum fix(devops): r2 — replace must* helpers with stdlib + verify CLI module resolution on PR #2 2026-04-27 17:29:14 +01:00
README.md fix(devops): address CodeRabbit findings on PR #2 2026-04-27 15:07:24 +01:00

go-devops

Infrastructure and build automation library for the Lethean ecosystem. Provides a native Go Ansible playbook executor (~30 modules over SSH without shelling out), a multi-target build pipeline with project type auto-detection (Go, Wails, Docker, C++, LinuxKit, Taskfile), code signing (macOS codesign, GPG, Windows signtool), release orchestration with changelog generation and eight publisher backends (GitHub Releases, Docker, Homebrew, npm, AUR, Scoop, Chocolatey, LinuxKit), Hetzner Cloud and Robot API clients, CloudNS DNS management, container/VM management via QEMU and Hyperkit, an OpenAPI SDK generator (TypeScript, Python, Go, PHP), and a developer toolkit with cyclomatic complexity analysis, vulnerability scanning, and coverage trending.

Module: forge.lthn.ai/core/go-devops Licence: EUPL-1.2 Language: Go 1.26

Quick Start

import (
    "forge.lthn.ai/core/go-devops/ansible"
    "forge.lthn.ai/core/go-devops/build"
    "forge.lthn.ai/core/go-devops/release"
)

// Run an Ansible playbook over SSH
pb, _ := ansible.ParsePlaybook("playbooks/deploy.yml")
inv, _ := ansible.ParseInventory("inventory.yml")
pb.Run(ctx, inv)

// Build and release
artifacts, _ := build.Build(ctx, ".")
release.Publish(ctx, releaseCfg, false)

Documentation

  • Architecture — Ansible integration, build pipeline, infrastructure APIs, release workflow, devkit, SDK generation
  • Development Guide — building, testing, coding standards
  • Project History — completed phases and known limitations

Build & Test

go test ./...
go test -race ./...
go vet ./...
go build ./...

Licence

European Union Public Licence 1.2 — see LICENCE for details.