Skip to content

ci: add shared release fix notifications - #1533

Merged
jdx merged 7 commits into
mainfrom
codex/release-fix-notifications
Oct 8, 2026
Merged

jdx merged 7 commits into
mainfrom
codex/release-fix-notifications

Conversation

@jdx

@jdx jdx commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

https://entire.io/gh/jdx/usage/trails/78

Summary

Add shared release-fix notifications through jdx/workflows, with a manual dry-run/recovery entry point.

Call the shared workflow after publication so token-created releases do not depend on a suppressed downstream release event.

Dependency and validation

Depends on jdx/workflows#4 and pins its implementation by immutable SHA. This is a draft rollout PR: shared-code safety review and project-specific publication-path validation are still in progress. No live notification dispatch or historical backfill is part of this PR. Do not merge until the shared dependency and relevant checks are settled.


Note

Low Risk
Changes are limited to GitHub Actions (comments on issues/PRs after release); no application runtime or auth logic is modified.

Overview
Adds release-fix notification automation by wiring in the shared jdx/workflows comment-release-fixes workflow (pinned to SHA 4c952564…), using marker prefix usage-fixed-in.

A new standalone workflow runs on release: published or manual dispatch (required tag, optional dry_run defaulting to true). publish-cli.yml also runs the same reusable workflow after a successful version-tag release job so fixes are commented even when the normal release event path is unreliable.

Minor CI hygiene: artifact action comments in perf-pr.yml and perf.yml are updated to # v7.0.1 / # v8.0.1 (same commit SHAs).

Reviewed by Cursor Bugbot for commit f8aa4f3. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • New Features
    • Publishing a versioned CLI release now triggers comments identifying fixes associated with that release.
    • Release-fix comments can also be run manually, with a preview option.

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 77bc15fb-9353-4f9f-a37b-dc08620f645f
📥 Commits

Reviewing files that changed from the base of the PR and between 3a0542a and f8aa4f3.

📒 Files selected for processing (3)
  • .github/workflows/comment-release-fixes.yml
  • .github/workflows/perf-pr.yml
  • .github/workflows/perf.yml

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bcae0344-314a-4a69-8490-32eecd1856e4
📥 Commits

Reviewing files that changed from the base of the PR and between 0da83ba and 3a0542a.

📒 Files selected for processing (2)
  • .github/workflows/comment-release-fixes.yml
  • .github/workflows/publish-cli.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The changes add a workflow that invokes a pinned reusable workflow for release fixes. It supports release events and manual dispatches. The CLI publishing workflow also invokes it after a successful, uncancelled release on a version tag.

Changes

Release fix comments

Layer / File(s) Summary
Reusable workflow entry
.github/workflows/comment-release-fixes.yml
The workflow accepts release and manual dispatch triggers. It passes the selected tag, the usage-fixed-in marker prefix, and the manual dry_run value or false to the pinned reusable workflow.
Publishing integration
.github/workflows/publish-cli.yml
After a successful, uncancelled release on a version tag, the workflow invokes the reusable workflow with the current tag and usage-fixed-in marker prefix.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to 3a054

The notification paths have the required permissions and release guard. No concrete issue identified here prevents merging after the planned checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the main change: adding CI notifications for release fixes through a shared workflow.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jdx
jdx marked this pull request as ready for review October 8, 2026 22:38
@jdx
jdx merged commit d4080ad into main Oct 8, 2026
11 of 13 checks passed
@jdx
jdx deleted the codex/release-fix-notifications branch October 8, 2026 22:39
@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[High impact] Adds external workflow dependency and updates CI actions.

No blocking defect was established, but manual draft-only runs should stay out of the notification path.

Fix All in Claude CodeFindings

  1. P2 Draft runs enter notification work ▶

Summary

Adds shared release-fix notifications through an immutable workflow pin.

  • Supports release events and manual runs, with manual previews enabled by default.
  • Adds a notification job after the CLI release job.
  • Updates artifact action version comments without changing their pins.
  • The publication caller should exclude manual draft-only runs.

Reviews (1) · Last reviewed commit: "style: format release notification workf..." · Reviewed by Greptile


comment-release-fixes:
needs: release
if: ${{ !cancelled() && needs.release.result == 'success' && startsWith(github.ref, 'refs/tags/v') }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Draft runs enter notification work

A manual publish-cli run on a v* tag skips publication, but the successful release job still lets comment-release-fixes run without a dry_run input. If the shared workflow does not block draft releases, this can send comments before the release is public. Exclude workflow_dispatch here, or require an output from the publication step.

Suggested change
if: ${{ !cancelled() && needs.release.result == 'success' && startsWith(github.ref, 'refs/tags/v') }}
if: ${{ !cancelled() && github.event_name != 'workflow_dispatch' && needs.release.result == 'success' && startsWith(github.ref, 'refs/tags/v') }}

Fix in Claude Code

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