You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resolve-sandbox-base-image/action.yaml and resolve-hermes-base-image/action.yaml contain 86 and 98 nonblank shell lines. They repeat image pull/probe behavior, glibc inspection, compatibility comparison, candidate iteration, and fallback-build handling while retaining important agent-specific checks.
Work
Move only the shared current primitives into a repository helper: image pull/digest inspection, glibc extraction/comparison, candidate iteration, and local-build result handling.
Keep OpenClaw and Hermes candidate sources, environment output names, layout/import checks, Dockerfiles, and trust decisions explicit and separate.
Have both composite actions invoke the helper with narrow validated inputs.
Acceptance criteria
Shared shell implementations no longer exist twice in action YAML.
OpenClaw version-tag normalization and changed-input local build behavior remain unchanged.
Hermes immutable-digest preference, retired-state rejection, MCP import proof, and local fallback remain unchanged.
No generic provider/agent plug-in system or configuration schema is added.
Unit or shell-contract tests cover remote success, incompatible glibc, missing digest, agent-specific rejection, candidate exhaustion, and local fallback.
Both actions remain usable by existing amd64 and arm64 image workflows.
Activity
refactor(ci): share sandbox base-image resolver primitives (NVIDIA#6968)