Ovms release
Interactive release orchestrator for OpenVINO Model Server (OVMS). Automates branch mirroring, CI config updates, patch application, tree transplant merges, and branch syncs across the ODH/RHOAI/RHDS pipeline. Maintains state across sessions for multi-day releases. Use when asked to do an OVMS release, sync OVMS branches, apply OVMS patches, or check OVMS release status.From its SKILL.md
npx -y skills add Snomaan6846/ovms-release --skill ovms-releaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
10.7 KB, as published. Nobody here has run it
OVMS Release Orchestrator
Interactive, feedback-driven release orchestrator for OpenVINO Model Server (OVMS). Maintains state across sessions, runs deterministic phases autonomously, and pauses for human judgment at critical points.
Quick Reference
/ovms-release 2026.2 # Full release from Phase 0
/ovms-release --resume # Continue from last checkpoint
/ovms-release --status # Show current state (read-only)
/ovms-release --preflight # Pre-flight only (no execution)
/ovms-release --dry-run 2026.2 # Simulate all phases
/ovms-release --phase sync-stable # Run specific phase
/ovms-release list # Show all releases
/ovms-release notes # Generate release notes
/ovms-release audit # Generate compliance report
/ovms-release abort # Abort current release
State File
Location: ~/.ovms-release/openvino_model_server/<version>/release-state.yaml
On --resume: loads state, renders narrative, continues from next pending phase.
Prerequisites
Run ovms-release preflight (no version) to verify prerequisites:
ghCLI authenticated to opendatahub-io, openshift, red-hat-data-services orgsgit,python3,jq,patch,skopeoinstalledpodmanordocker+ocfor E2E phases (graceful skip if not installed)- Git remotes configured: origin (fork), midstream (ODH), downstream (RHDS)
Implementation
Phase 0: Pre-flight Readiness Assessment (AUTONOMOUS)
Always runs first. Gathers all intelligence, produces Release Brief, asks user to confirm.
-
Run prerequisite check:
ovms-release preflight -
Run full pre-flight intelligence gathering:
ovms-release preflight "${VERSION}" -
Present the Release Brief to the user:
- Upstream release status (detected version, commit count delta)
- Dockerfile ARG changes (NEW/CHANGED/REMOVED with before→after values)
- Python dependency versions (available vs pinned, compatibility matrix)
- Patch health (
git apply --checkresults: OK/FAILED per patch) - Fork sync warning (if fork is behind midstream)
- Prerequisites status (all green / blockers identified)
-
Ask: "Ready to proceed with Phase 1? (yes / no / adjust config)"
- If "adjust config": enter conversational mode to set base_image, driver_version, etc.
-
Save initial
release-state.yamlwith config populated. -
Jira integration (if configured): Offer to create tracking ticket:
Auto-create RHOAIENG Jira ticket for release ${VERSION}? (y/n)Uses tiered auth: acli → JIRA_API_TOKEN → MCP (graceful skip if unavailable).
On resume: Show abbreviated brief (what changed since last session) + narrative field.
Phase 1: Mirror Branches (AUTONOMOUS)
Mirrors upstream release branches to opendatahub-io org.
-
Validate upstream branch exists in all 4 repos:
ovms-release mirror "${VERSION}" --validate -
Create mirror branches with repo-specific naming:
openvino_model_server→<YEAR>.<MINOR>-release(e.g.,2026.2-release)openvino,openvino.genai,openvino_tokenizers→releases/<YEAR>/<MINOR>
-
Execute:
ovms-release mirror "${VERSION}" -
Tag the mirror point for drift detection:
git tag "odh-mirror-${VERSION}-$(date +%Y%m%d)" "${UPSTREAM_SHA}" -
Verify branch creation via API, update state.
-
Send notification if configured.
-
Report result, ask: "Branches mirrored. Proceed to Phase 2 (OWNERS)?"
Phase 2: Push OWNERS File (AUTONOMOUS)
Creates PR to add OWNERS file to the release branch on openvino_model_server only.
-
Execute:
ovms-release owners "${VERSION}" -
Creates PR from user's fork to
opendatahub-io/openvino_model_serveron the release branch. -
Update state with PR URL.
-
Report: "OWNERS PR created at <URL>. Proceed to Phase 3?"
Phase 3: ARG Diff Review (CONVERSATIONAL)
Compares Dockerfile.redhat ARGs between previous and current release.
-
Execute diff:
ovms-release diff-args "${VERSION}" -
Present structured diff to user:
- NEW args (not in previous release)
- CHANGED args (value differs)
- REMOVED args (no longer present)
-
For each new/changed ARG, explain what it does and whether it needs attention.
-
Ask user to confirm the ARG set is correct.
-
Update state with confirmed build config values.
Phase 3.5: Local Build Validation (HUMAN-ASSISTED)
Mandatory local build to catch issues early before CI.
- Guide user through local build using
Dockerfile.redhat - Verify build succeeds with the confirmed ARG values
- Record pass/fail in state
- On fail: enter conversational triage mode
Phase 4: CI Config Update (AUTONOMOUS + HUMAN APPROVAL)
Generates openshift/release YAML and creates PR.
-
Generate CI config:
ovms-release ci-config "${VERSION}" -
Validate generated YAML (syntax + branch reference check).
-
Clone openshift/release, create branch, commit generated files.
-
Create PR via
gh pr create. -
Update state with CI config PR URL.
-
PAUSE: "CI config PR created at <URL>. Wait for /lgtm before proceeding to Phase 5."
Phase 5: Apply Patches (CONVERSATIONAL)
Fetches patches from patches branch, applies them, creates PR.
-
Execute:
ovms-release patch "${VERSION}" -
If patches apply cleanly: create PR, update state.
-
If conflicts: enter conversational mode to resolve.
- Show conflicting hunks
- Suggest resolution based on patch intent
- Offer to invoke
/ovms-release-patchfor regeneration
-
After all patches applied: create
Dockerfile.konfluxfromDockerfile.redhat. -
Apply label patch (04) to
Dockerfile.konflux. -
Create PR to midstream release branch.
-
Update state with patches PR URL.
-
PAUSE: "Patches PR created at <URL>. Wait for merge + Konflux build before Phase 5.5."
Phase 5.5: ODH Image Verification (AUTONOMOUS)
Verifies the Konflux-built image exists after patches PR merges.
- Wait for patches PR to be merged (check via
gh pr view --json state). - Check image exists:
skopeo inspect "docker://quay.io/opendatahub/openvino_model_server:pr-${PR_NUMBER}" - Deep inspection: verify
com.redhat.componentlabel matches expected value. - Update state.
- Ask: "Image verified. Run E2E validation? (yes / skip)"
Phase 5.7: E2E Validation — Release Branch Image (OPTIONAL)
Runs opendatahub-tests against the PR-built image.
- Pre-checks: AWS creds exported, cluster reachable (
oc whoami --show-server). - Execute:
ovms-release-e2e "quay.io/opendatahub/openvino_model_server:pr-${PR_NUMBER}" - On success: record passed in state, proceed to Phase 6.
- On failure: block Phase 6, show output, enter triage mode.
- On skip: record skip reason in state, proceed.
Phase 6: Sync to Stable (AUTONOMOUS + VERIFICATION)
Tree transplant merge from release branch to stable.
-
Execute tree transplant:
ovms-release sync-stable "${VERSION}"The CLI prompts interactively if untracked files need confirmation.
-
Verification is run automatically by the sync-stable command. Manual verification can be done with:
ovms-release sync-stable "${VERSION}" --verify-only- Check A: File content matches release branch (excluding protected files)
- Check B: .tekton/ and .github/workflows/ preserved from stable
- Check C: WORKSPACE file not modified
-
Create PR to stable branch. Commit message includes VERSION.
-
Update state.
-
PAUSE: "Stable sync PR created at <URL>. Wait for merge + Konflux build."
Phase 6.5: E2E Validation — Stable Branch Image (OPTIONAL)
Runs opendatahub-tests against the Konflux-built stable image.
- Detect stable image tag from quay.io API.
- Pre-checks: same as Phase 5.7.
- Execute:
ovms-release-e2e "quay.io/opendatahub/openvino_model_server:${STABLE_TAG}" - On success/failure/skip: same behavior as Phase 5.7.
Phase 7: Sync Stable to RHOAI (AUTONOMOUS)
Syncs stable branch content to rhoai branch, removing Konflux-specific files.
-
Execute:
ovms-release sync-rhoai "${VERSION}" --rhoai-version "${RHOAI_VERSION}"Commit message: "Sync stable to rhoai (OVMS ${VERSION})"
-
Removes
.tekton/and.github/workflows/from the sync. -
Creates PR to rhoai branch.
-
Update state with RHOAI PR URL.
-
PAUSE: "RHOAI sync PR created at <URL>. Wait for merge → auto-sync to RHDS."
Phase 8: RHDS Auto-sync Verification (MONITORING)
Monitors downstream auto-sync and final image availability.
-
Check RHDS sync status:
ovms-release check-rhds "${VERSION}" --rhoai-version "${RHOAI_VERSION}" -
Verify final image on quay.io:
skopeo inspect "docker://quay.io/rhoai/odh-openvino-model-server-rhel9:rhoai-${RHOAI_VERSION}" -
Record final image digest in state.
-
Jira integration: Transition tracking ticket to Done, add final digest as comment.
-
Notification: Send release_complete event.
-
Report: "Release complete! Final image: <digest>"
-
Offer: "Generate release notes? (y/n)"
Error Recovery
- Network failures: Retry with exponential backoff (3 attempts).
- Auth failures: Guide user to re-authenticate (
gh auth login,acli jira auth). - Patch conflicts: Enter conversational mode, suggest
/ovms-release-patch. - Build failures: Show logs, suggest common fixes, offer to abort.
- State corruption: Validate state schema on load, offer fresh start if invalid.
Session Handoff
The narrative: field in state provides human-readable context for session continuity.
On --resume, the skill renders this narrative before continuing, enabling any team
member to pick up where another left off.