Skip to content

[codex] Add driver manifest and CI verification#1

Merged
frahlg merged 1 commit into
mainfrom
codex/manifest-ci
May 4, 2026
Merged

[codex] Add driver manifest and CI verification#1
frahlg merged 1 commit into
mainfrom
codex/manifest-ci

Conversation

@frahlg

@frahlg frahlg commented May 4, 2026

Copy link
Copy Markdown
Member

What changed

  • Syncs the driver set with the latest bundled forty-two-watts catalog, including the missing CTEK, Pixii PV, SolarEdge legacy, Solis string, Sonnen, and Tesla vehicle drivers.
  • Adds a static manifest.json with driver metadata, versions, SHA-256 hashes, and raw GitHub URLs.
  • Adds a Go-based driverrepo tool that can regenerate and verify the manifest.
  • Adds GitHub Actions CI for manifest + driver validation.
  • Documents the contribution flow and verifier commands in the README.

Why

forty-two-watts needs a default external device repository that can be consumed safely without executing remote code directly. The manifest and verifier give the app a deterministic catalog source with hash validation, while CI prevents malformed driver metadata or stale hashes from landing.

Validation

  • git diff --check
  • GOTOOLCHAIN=local GOCACHE=/private/tmp/hugin-drivers-gocache GOMODCACHE=/private/tmp/hugin-drivers-gomodcache go run ./cmd/driverrepo -verify
  • GOTOOLCHAIN=local GOCACHE=/private/tmp/hugin-drivers-gocache GOMODCACHE=/private/tmp/hugin-drivers-gomodcache go test ./...

@frahlg frahlg marked this pull request as ready for review May 4, 2026 17:11
@frahlg frahlg merged commit 61e6529 into main May 4, 2026
1 check passed
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