Skip to content

chore: sync main→develop (release pipeline hardening)#3892

Merged
aegis-gh-agent[bot] merged 3 commits into
developfrom
main
May 20, 2026
Merged

chore: sync main→develop (release pipeline hardening)#3892
aegis-gh-agent[bot] merged 3 commits into
developfrom
main

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

@OneStepAt4time OneStepAt4time commented May 20, 2026

Sync main → develop

Backport of release workflow fixes from the v0.6.7 release run.

Changes

  1. fix(ci): skip check-tag-freshness for tag-push events — avoids double-trigger when a tag push creates the release
  2. fix(ci): download artifacts before attest-build-provenance — SLSA provenance step needs artifacts present
  3. fix(ci): skip ClawHub publish gracefully when version already exists — idempotent publish guard

Verification

  • CI green on all checks (ubuntu test, lint, helm-smoke, sdk-drift)
  • macOS/Windows test-matrix failures are pre-existing platform issues
  • GitGuardian, Trivy, CodeQL all clean

OneStepAt4time and others added 3 commits May 16, 2026 10:55
…elease publish

The check was always failing for push:tags triggers because GitHub
guarantees a pushed tag is fresh (branch protection blocks force-push).
Only run the freshness check for workflow_dispatch where someone could
accidentally re-trigger an existing tag.

Fixes #3538

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The job was looking for *.tgz and deploy/helm/aegis/*.tgz in the working
directory but never downloaded them from previous jobs. Adds the two
download-artifact steps so the glob finds the files.

Fixes the last failing step in the v0.6.7 release CI run (25957844280).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Mirror the same already-exists pattern used by publish-npm: capture output,
check for "already exists" error, emit a notice and exit 0 instead of 1.

Removes the last remaining failure from the v0.6.7 clean release run.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes Requested — PR Hygiene Gate Failed

Title/Body Mismatch

The PR title and body describe a completely different change from what the diff contains:

Title says: perf(sessions): fire-and-forget ACP prompt delivery (#3890)
Body describes: Changes to src/routes/sessions.ts, src/session.ts, and a test file — ACP async prompt delivery.

Actual diff: Only .github/workflows/release.yml — three CI fixes:

  1. fix(ci): skip check-tag-freshness for tag-push events
  2. fix(ci): download artifacts before attest-build-provenance
  3. fix(ci): skip ClawHub publish gracefully when version already exists

What needs to change

  1. Title → should reflect the actual CI fixes, e.g.: fix(ci): backport release pipeline fixes from v0.6.7 to develop
  2. Body → should describe the 3 actual commit changes, not session/ACP changes
  3. Issue reference → verify #3890 is the correct issue (or remove if these CI fixes have separate issues)

Gate Status

  • ✅ CI green
  • ✅ Targets develop
  • ✅ No secrets
  • PR hygiene — title/body do not match diff

The code changes themselves look correct (clean CI hardening from the v0.6.7 release run). Just need the metadata fixed.

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔄 Changes Requested — PR/Title Mismatch

❌ Title and body describe a prompt delivery fix, but the diff only contains release.yml changes

PR title: `perf(sessions): fire-and-forget ACP prompt delivery (#3890)`
PR description: Describes fire-and-forget `sendPrompt()` fix, `promptDelivery.status: "pending"`, etc.
Actual diff: Only `release.yml` changes (tag freshness check, ClawHub publish guard, SLSA artifact downloads).

There is no session code in this PR. The prompt delivery fix described in the title and body is missing from the diff.

Possible causes:

  1. The code changes were already merged separately to `develop` — in that case, update the PR title and body to match the actual diff (release pipeline improvements)
  2. The code changes were lost during a rebase/force-push — in that case, restore them

CI notes:

  • Main CI (ubuntu test, lint, helm-smoke, sdk-drift) all pass ✅
  • `test-matrix` failures on macOS/Windows are pre-existing platform issues, not from this PR
  • GitGuardian, Trivy, CodeQL all clean ✅

Also:

  • `head: main` — branch name is `main`. Targeting `develop` is correct, but the branch name is misleading. Consider renaming.

aegis-gh-agent[bot] 👁️

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes Requested — Title/Body Mismatch

The PR title and body describe perf(sessions): fire-and-forget ACP prompt delivery with changes to src/routes/sessions.ts, src/session.ts, and test files — but none of those files appear in the diff.

What the diff actually contains:

Only .github/workflows/release.yml changes:

  1. Tag freshness check: skip for tag-push events (reasonable)
  2. ClawHub publish: idempotent "already exists" handling (reasonable)
  3. Attestation: download artifacts before provenance generation (reasonable)

What needs to happen:

Either:

  • A) Update the title and body to match the actual changes (release workflow improvements), OR
  • B) If the intent was to merge the ACP fire-and-forget changes, rebase/push the correct branch

Additional concern:

  • Head branch is maindevelop. If this is a main→develop sync PR, the title should reflect that explicitly (e.g., chore: sync main→develop (release workflow fixes)).

The actual release.yml changes look correct, but the audit trail must be accurate.

@OneStepAt4time OneStepAt4time changed the title perf(sessions): fire-and-forget ACP prompt delivery (#3890) chore: sync main→develop (release pipeline hardening) May 20, 2026
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — All Gates Pass

Previous CHANGES_REQUESTED was for title/body mismatch, now resolved.

Diff Review (3 CI fixes to release.yml)

  1. Tag freshness skip for push events — Correct. Tag-push guarantees freshness; only workflow_dispatch needs the check.
  2. ClawHub publish idempotent guard — Correct. Graceful "already exists" handling matches publish-npm pattern.
  3. Download artifacts before SLSA provenance — Correct. Provenance step needs artifacts present.

Gate Status

  • ✅ CI green (pre-existing platform test-matrix failures unrelated)
  • ✅ Targets develop
  • ✅ Mergeable, no conflicts
  • ✅ No secrets (GitGuardian, Trivy, CodeQL clean)
  • ✅ CI-only, no source code changes, no regression risk
  • ✅ Title/body match diff

Squash-merging to develop.

aegis-gh-agent[bot] 👁️

@aegis-gh-agent aegis-gh-agent Bot merged commit e9a7edb into develop May 20, 2026
1534 of 1538 checks 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