Skip to content

Repin gated sync to pm-github 2026.10.16 and add the daily gated closeout workflow - #147

Merged
unbraind merged 1 commit into
mainfrom
chore/pm-github-2026.10.16-sync-and-closeout
Oct 16, 2026
Merged

unbraind merged 1 commit into
mainfrom
chore/pm-github-2026.10.16-sync-and-closeout

Conversation

@unbraind

@unbraind unbraind commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Repins this repository's gated issue sync caller to pm-github 2026.10.16 (tag 67a5e3e) and adds the daily gated closeout caller.

  • pm-github-sync.yml: the reusable workflow now resolves the default branch through the repository API, because schedule payloads carry no repository object (pm-github#131), and accepts npm-project-dir (pm-github#130).
  • pm-github-closeout.yml (new, from pm-github's docs/closeout-workflow-caller.yml): once a day, runs pm github closeout on the bot branch pm-github/closeout behind the same privacy gate as sync. It opens or updates one PR that closes items delivered by merged pull requests whose required head checks passed. npm-project-dir: ".", ci-workflows: "ci.yml".

Closes pm-beads-bv5f.

Summary by Sourcery

Repin gated synchronization to pm-github 2026.10.16 and add a daily gated closeout workflow for delivered items.

New Features:

  • Add a scheduled and manually triggered gated closeout workflow for automatically closing delivered project items.

Bug Fixes:

  • Repin the gated issue sync workflow to pm-github 2026.10.16, including schedule-compatible default-branch handling and npm project directory support.

CI:

  • Configure the closeout workflow to run the project's CI workflow before processing closeout items.

Summary by cubic

Repins the gated issue sync to pm-github 2026.10.16 and adds a new daily gated closeout workflow.

  • The sync caller now pins to pm-github 2026.10.16 (67a5e3e), which resolves the caller's default branch through the repository API (schedule payloads carry no repository object) and accepts npm-project-dir.
  • The new pm-github-closeout.yml runs pm github closeout daily on the pm-github/closeout bot branch behind the same privacy gate, opening or updating one PR that closes items delivered by merged pull requests whose required checks passed.

Migration

  • Ensure Settings → Actions → General allows Actions to create pull requests.

Written for commit d637e1f. Summary will update on new commits.

View guided diff Turn on auto-fix

…eout caller

The sync caller now pins pm-github 2026.10.16 (tag 67a5e3e), whose reusable
workflow resolves the caller's default branch through the API (schedule
payloads carry no repository object) and accepts npm-project-dir. The new
closeout caller runs the reusable gated closeout workflow daily: it closes
items delivered by merged pull requests on a bot branch and opens one PR.
Tracked by pm-beads-bv5f.
@sourcery-ai

sourcery-ai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Sorry @unbraind, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 6 hours and 35 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2c1aeef4-26e5-45f7-ba51-a2540177d015
📥 Commits

Reviewing files that changed from the base of the PR and between a5d8e7f and d637e1f.

📒 Files selected for processing: 4
  • .agents/pm/chores/pm-beads-bv5f.toon
  • .agents/pm/history/pm-beads-bv5f.jsonl
  • .github/workflows/pm-github-closeout.yml
  • .github/workflows/pm-github-sync.yml

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

Summary by CodeRabbit

  • Chores
    • Updated the project sync automation to use the latest configured release.
    • Added a daily closeout workflow, with an option to run it manually.

Walkthrough

The sync workflow now uses pm-github version 2026.10.16, pinned to commit 67a5e3e1514fddeeae29951da00513f06f7aa0ab. A new workflow runs closeout daily or on manual dispatch. The change also adds a chore record and history entry.

Changes

pm-github workflows

Layer / File(s) Summary
Configure pm-github workflows
.github/workflows/pm-github-sync.yml, .github/workflows/pm-github-closeout.yml, .agents/pm/chores/*, .agents/pm/history/*
The sync workflow advances to version 2026.10.16 and pins the reusable workflow to commit 67a5e3e1514fddeeae29951da00513f06f7aa0ab. The new closeout workflow runs daily at 03:43 UTC or on manual dispatch, with the configured permissions and inputs. A chore record and history entry describe the update.

Priority: ⬇️ Low

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

Change: Feature

Merge Risk: 🔵 Low · up to d637e

A merged item may be marked complete when its required checks were not verified, such as when checks were bypassed. This is a recoverable tracker-state risk; the PR is mergeable with owner awareness and follow-up.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely identifies both primary changes: repinning gated sync to pm-github 2026.10.16 and adding the daily gated closeout workflow.
Description check Passed The description directly explains the sync repin, the new closeout workflow, its configuration, and the required migration setting.
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.
Full details: Docstring Coverage

Explanation

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 files. (4 skipped: 4 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · 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.

@sourcery-ai

sourcery-ai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR pins the gated sync caller to pm-github 2026.10.16 and adds a daily, manually triggerable closeout caller that uses the same privacy gate to generate or update a PR for eligible items delivered by merged pull requests, with CI and changelog integration configured for this repository.

Sequence diagram for the gated daily closeout workflow

sequenceDiagram
    participant Scheduler
    participant CloseoutCaller as pm-github-closeout.yml
    participant ReusableWorkflow as pm-github closeout
    participant GitHubAPI as GitHub API
    participant CI as ci.yml
    participant PullRequest as Closeout PR

    Scheduler->>CloseoutCaller: schedule or workflow_dispatch
    CloseoutCaller->>ReusableWorkflow: invoke pinned release 2026.10.16
    ReusableWorkflow->>GitHubAPI: resolve default branch
    ReusableWorkflow->>GitHubAPI: inspect merged pull requests and required head checks
    ReusableWorkflow->>CI: dispatch ci.yml
    CI-->>ReusableWorkflow: emit checks
    ReusableWorkflow->>GitHubAPI: run pm github closeout on pm-github/closeout
    ReusableWorkflow->>PullRequest: open or update closeout PR
Loading

File-Level Changes

Change Details Files
Repin the gated sync reusable workflow to pm-github 2026.10.16.
  • Update the reusable workflow commit SHA and version input to the reviewed release.
  • Incorporate upstream support for API-based default-branch resolution and npm project directory configuration.
.github/workflows/pm-github-sync.yml
Add a scheduled and manually dispatchable gated closeout workflow.
  • Call the pinned pm-github closeout reusable workflow once daily or via workflow_dispatch.
  • Grant contents, pull request, checks, and actions permissions required for closeout execution.
  • Configure the repository root as the npm project, run the full changelog script when available, and dispatch ci.yml before closing out eligible delivered items.
  • Apply the reusable workflow's privacy gate and bot branch behavior through the upstream caller.
.github/workflows/pm-github-closeout.yml
Record completion of the related project-management chore.
  • Add the chore record and corresponding history entry marking the gated closeout work.
.agents/pm/chores/pm-beads-bv5f.toon
.agents/pm/history/pm-beads-bv5f.jsonl

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@unbraind

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

Please review head d637e1f, including outside-diff findings.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@unbraind
unbraind merged commit ea7a383 into main Oct 16, 2026
11 checks passed
@unbraind
unbraind deleted the chore/pm-github-2026.10.16-sync-and-closeout branch October 16, 2026 17:43
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