Skip to content

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

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-brief-b7dy.


Summary by cubic

Repins the gated issue sync to pm-github 2026.10.16 (tag 67a5e3e) and adds a daily gated closeout caller that closes delivered items with one PR.

  • pm-github-sync.yml now resolves the default branch through the repository API, since schedule payloads carry no repository object, and accepts npm-project-dir.
  • pm-github-closeout.yml (new) runs pm github closeout once a day on the pm-github/closeout bot branch behind the same privacy gate, opening one PR that closes items delivered by merged pull requests whose required head checks passed.

Closes pm-brief-b7dy.

Written for commit 6c579bd. Summary will update on new commits.

View guided diff Turn on auto-fix

Summary by Sourcery

Add daily gated closeout automation and update the issue sync workflow to the latest pm-github release.

New Features:

  • Add a daily gated closeout workflow that creates or updates a pull request for items delivered by qualifying merged pull requests.

Enhancements:

  • Repin the gated issue sync workflow to pm-github 2026.10.16.

CI:

  • Configure the closeout workflow to run on a daily schedule or manual dispatch with the required repository permissions and CI workflow integration.

…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-brief-b7dy.

@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: 66a1813c-fcaf-4ad5-ba8d-0d4b7bf610fe
📥 Commits

Reviewing files that changed from the base of the PR and between 5f7f276 and 6c579bd.

📒 Files selected for processing: 4
  • .agents/pm/chores/pm-brief-b7dy.toon
  • .agents/pm/history/pm-brief-b7dy.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

  • New Features
    • Added a daily closeout process, with an option to run it manually. It can open a reviewed pull request to close out work delivered by merged pull requests.
  • Improvements
    • Updated the gated sync process to use the latest specified release.
    • The closeout process runs the changelog update and CI checks as part of its workflow.

Walkthrough

The pull request adds a scheduled and manually dispatchable closeout workflow caller. It also updates the sync caller to use pm-github version 2026.10.16. Chore metadata records acceptance criteria for both workflow changes.

Changes

pm-github workflow callers

Layer / File(s) Summary
Closeout caller and chore record
.github/workflows/pm-github-closeout.yml, .agents/pm/chores/pm-brief-b7dy.toon, .agents/pm/history/pm-brief-b7dy.jsonl
Adds a daily scheduled and manually dispatchable workflow with permissions and inputs for the reusable closeout workflow. The chore record and history event document acceptance criteria for the closeout and sync updates.
Sync caller version update
.github/workflows/pm-github-sync.yml
Updates the reusable workflow reference and pm-github-version input from version 2026.10.15 to 2026.10.16.

Priority: ⬇️ Low

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

Change: Feature

Merge Risk: ⚪ Minimal · up to 6c579

The closeout workflow's permissions support its branch, PR, check, and CI-dispatch operations; no material merge risk is established.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description directly explains the pm-github repin and the new daily gated closeout workflow.
Title check Passed The title clearly and concisely summarizes both primary changes: the pm-github repin and the daily gated closeout 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.
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

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.

@sourcery-ai

sourcery-ai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR pins the gated sync caller to the reviewed pm-github 2026.10.16 release and adds a daily/manual, privacy-gated closeout caller that runs the reusable closeout workflow with the permissions and CI configuration required to update a bot branch and open or update a single PR for items delivered by qualifying merged pull requests.

Sequence diagram for the daily gated closeout workflow

sequenceDiagram
    participant Scheduler
    participant CloseoutWorkflow as pm-github-closeout.yml
    participant PMGithub as pm github closeout
    participant Checks as Required CI checks
    participant GitHub as GitHub pull request

    Scheduler->>CloseoutWorkflow: schedule or workflow_dispatch
    alt privacy gate passes
        CloseoutWorkflow->>PMGithub: Run on pm-github/closeout
        PMGithub->>Checks: Dispatch ci.yml
        Checks-->>PMGithub: Required head checks
        PMGithub->>GitHub: Open or update one closeout PR
    else privacy gate fails
        CloseoutWorkflow-->>Scheduler: Skip closeout
    end
Loading

File-Level Changes

Change Details Files
Add a scheduled, privacy-gated reusable-workflow caller for automated closeout of delivered PM items.
  • Run closeout daily at 03:43 UTC or on manual dispatch.
  • Pin the caller to pm-github 2026.10.16 by immutable commit.
  • Grant contents, pull request, checks, and Actions permissions needed for branch updates, PR management, and CI dispatch.
  • Configure the npm project directory, optional changelog script, and required CI workflow filename.
  • Use the dedicated pm-github/closeout bot branch and consolidate results into one PR via the reusable workflow.
.github/workflows/pm-github-closeout.yml
Repin gated issue synchronization to pm-github 2026.10.16.
  • Update the reusable workflow reference and version input to the reviewed 67a5e3e release.
  • Adopt the release behavior that resolves the default branch through the repository API for scheduled runs and supports npm-project-dir.
.github/workflows/pm-github-sync.yml
Record the associated PM chore and its completion history.
  • Add the chore definition and one JSONL history entry for the gated closeout work.
.agents/pm/chores/pm-brief-b7dy.toon
.agents/pm/history/pm-brief-b7dy.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 6c579bd, including outside-diff findings.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

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