From 1292465a5b480b4cbb49d5d4c850f9e2e60172b3 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Tue, 28 Apr 2026 10:32:12 -0300 Subject: [PATCH] chore(workflow): add phase 4 release monitoring to generate-release --- .agents/workflows/generate-release.md | 35 ++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.agents/workflows/generate-release.md b/.agents/workflows/generate-release.md index aec69380de..7e05c01305 100644 --- a/.agents/workflows/generate-release.md +++ b/.agents/workflows/generate-release.md @@ -302,7 +302,40 @@ ssh root@69.164.221.35 "npm install -g /tmp/omniroute-*.tgz --ignore-scripts && curl -s -o /dev/null -w "AKAMAI: HTTP %{http_code}\n" http://69.164.221.35:20128/ ``` -### 17. Preserve release branch +## Phase 4: Release Monitoring & Artifact Validation + +> After triggering the official release, actively monitor the CI pipelines until all artifacts are successfully generated. If any pipeline fails, stop and apply the necessary corrections before continuing. + +### 18. Monitor CI Pipelines + +Wait for and verify the successful completion of the following automated jobs: + +1. **Docker Hub Publish** +2. **Electron Build** +3. **NPM Registry Publish** (Check with `npm info omniroute version`) + +```bash +# Monitor Docker Hub workflow +gh run list --repo diegosouzapw/OmniRoute --workflow docker-publish.yml --limit 1 +gh run watch + +# Monitor Electron build +gh run list --repo diegosouzapw/OmniRoute --workflow electron-release.yml --limit 1 +gh run watch + +# Verify NPM version +npm info omniroute version +``` + +### 19. Handle Failures (If Any) + +If a workflow fails: + +- Use `gh run view --log-failed` to identify the error. +- Apply the fix on the `main` branch. +- If necessary, re-trigger the workflow using `gh workflow run --repo diegosouzapw/OmniRoute --ref v2.x.y` + +### 20. Preserve release branch ```bash # Branch is kept for historical purposes. Do not delete.