Skip to content

Auto-merge release-notes PRs from release-monitor#133

Merged
ksimback merged 1 commit intomainfrom
release-monitor-auto-merge
May 1, 2026
Merged

Auto-merge release-notes PRs from release-monitor#133
ksimback merged 1 commit intomainfrom
release-monitor-auto-merge

Conversation

@ksimback
Copy link
Copy Markdown
Owner

@ksimback ksimback commented May 1, 2026

Summary

  • After release-monitor.yml opens a release-notes PR, immediately enable native GitHub auto-merge (enablePullRequestAutoMerge, method MERGE).
  • Wrapped in try/catch so any GraphQL hiccup falls back to today's manual-merge behavior (warning surfaced via core.warning).
  • Repo-level allow_auto_merge was just enabled to make the mutation valid.

Why

  • Release-notes file content is the upstream RELEASE_v*.md copied verbatim (or the GitHub release body) — not LLM-generated — so the human checkpoint here was guarding zero hallucination risk.
  • Today the masthead version stat updates live (cache-bust step), but the chatbot KB stays on the previous release until someone merges the PR. Reproduced just now with PR New release: Hermes Agent v2026.4.30 #131 (v0.12.0): masthead live, Ask Atlas couldn't cite it.
  • After merge, rebuild-chunks.yml already auto-fires on research/** push and bot-commits new chunks. So this closes the loop.

Future-proofing

  • If a CI gate is added on PRs later (e.g. a smoke test for build-chunks.js against the new file), native auto-merge respects required checks. With none today it merges immediately.

Test plan

  • Merge this PR
  • Wait for the next Hermes Agent release (or workflow_dispatch release-monitor.yml manually after a release lands)
  • Confirm the auto-opened release-notes PR shows "Auto-merge enabled"
  • Confirm rebuild-chunks.yml fires on the merge commit and chunks.json picks up the new release tag
  • Spot-check Ask Atlas can cite the new version

🤖 Generated with Claude Code

Release-notes PRs add upstream RELEASE_v*.md verbatim — no LLM step,
so the human checkpoint was guarding zero hallucination risk while
delaying KB ingestion (chunks.json) until someone clicked merge.
Days the cron runs cleanly but a maintainer is offline = drift
between the masthead version stat (live) and what Ask Atlas can cite.

Calls enablePullRequestAutoMerge after pulls.create. Falls back to
the prior manual-merge behavior if the mutation errors.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hermes-ecosystem Ready Ready Preview, Comment May 1, 2026 0:00am

Request Review

@ksimback ksimback merged commit 0e337c2 into main May 1, 2026
2 checks passed
@ksimback ksimback deleted the release-monitor-auto-merge branch May 1, 2026 15:11
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