Skip to content

ci(upstream): check for a new Claude Code release hourly, not every ten minutes - #17005

Merged
kyle-sexton merged 4 commits into
mainfrom
chore/changelog-intake-hourly
Nov 18, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
chore/changelog-intake-hourly

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Refs: #16966

Summary

The release intake lane (upstream-apply-changelog.yml) checks for a new Claude Code release every hour instead of every ten minutes.

Fix

  • No GitHub event reaches this repository when an anthropics/claude-code release ships, so this lane has to poll; the change is to how often.
  • Scheduled runs on 2026-11-17: 118 (all success; the sampled tick ran only Select Release, every other job skipped).
  • Releases: 15 from 2026-10-22 to 2026-11-17, at most 2 on one day (gh api repos/anthropics/claude-code/releases).
  • Cap: limits.upstream-apply-changelog-per-day: 3 (docs/conventions/pr-pipeline.yaml:1271). Hourly takes each release of a burst of three within three hours and cuts about 120 scheduled runs a day.
  • Minute 25 was one of the old ticks and no other schedule here uses it. The comment that described the ten-minute budget is removed; the upstream-drift contract's line is updated (6.5.1, patch).

Other scheduled workflows were checked for an event that could replace the schedule; none changes here:

Workflow Runs 11-17 Why it stays
pr-merge.yml 48 Its own comment: a wake on every CI or review completion would overflow its concurrency queue; the schedule is the backstop for unlabeled, dispatch and push.
pr-unblock-dispatch.yml 48 Already starts on push and pull_request_target; the tick catches a reconciler re-run that failed. The event alternative, workflow_run on PR Require Checks, would fire about 763 times a day (its runs on 11-17).
maintenance-reconcile-lost-runs.yml 47 Exists to catch runs an outage ended without an event.
maintenance-monitor-signals.yml, maintenance-audit-lane-runs.yml 24, 25 Hourly sweeps over aggregate state; no single event carries it.
work-unblock.yml 24 Already starts on issues and workflow_run; hourly backstop.
release, whole-tree and daily or weekly maintenance crons 1-8 Backstops beside push triggers, or daily and weekly jobs.

Verification

  • node --test on callers.test.mjs, live-config.test.mjs, check-kill-switch.test.mjs, log-api-budget.test.mjs, pace.test.mjs and .github/scripts/upstream-apply-changelog/*.test.mjs: all pass, 0 fail.
  • Pre-commit comment lint passed.

Related

🤖 Generated with Claude Code

…en minutes

No GitHub event reaches this repository when an anthropics/claude-code
release ships, so the intake lane polls. It polled 118 times on
2026-11-17 for about one release a day (15 releases from 2026-10-22 to
2026-11-17), under a cap of three applied releases a day. Hourly takes
each release of a burst of three within three hours and cuts about 120
scheduled runs a day.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 18, 2026 02:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T02:10:01.406966Z ef51f7d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44221120810

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/apply-patch
Model rung 0
Leg base
Run job success
Activity step skipped
Commits pushed none recorded
Run 44221120810

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 3947c369e6bc7967a2fb4a4ed34c6394c43c8968: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, blocking only): no security issues found

This review covers only what changed since ef51f7d6. I read every hunk of all 3 files in scope. Because this lane already reviewed an earlier head of this pull request, it reports only CRITICAL and IMPORTANT findings.

  • docs/conventions/pr-pipeline.yaml (on the trusted-paths list, and a broker trust control): the only change deletes a four-line YAML comment above the upstream-apply-changelog lane. The comment described the ten-minute schedule and noted that the broker refuses contents and pull-requests write in one mint. The diff leaves the lane's stage, slots, activities, effects and merge settings untouched, so the broker mints nothing it did not mint before. No token scope, trusted actor, merge hold or path for untrusted text into a credentialed lane is widened. The comment only described code and enforced nothing.
  • docs/conventions/pr-pipeline/pr-run-activity.md: one word changes, "ten-minute" becomes "hourly". This is not an instruction surface and no guardrail is removed.
  • .changes/pr-pipeline/chore-changelog-intake-hourly-8e65e46d.md: a new changelog fragment (patch bump) describing the cadence change. It holds no instructions.

Spend: these files are documentation only and spend nothing. The pull request as a whole cuts scheduled runs of the intake lane from every ten minutes to hourly, so it uses fewer Actions minutes and REST calls.

The PR description has no embedded instructions aimed at this lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 3947c369e6bc7967a2fb4a4ed34c6394c43c8968: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental): PR #17005, release intake checks hourly instead of every ten minutes

Scope: this is an incremental review covering the changes since ef51f7d6. I read every hunk of all 3 files in scope: .changes/pr-pipeline/chore-changelog-intake-hourly-8e65e46d.md, docs/conventions/pr-pipeline.yaml and docs/conventions/pr-pipeline/pr-run-activity.md. The lane already reviewed an earlier head, so this review reports blocking findings only.

Prior finding resolved. The earlier review flagged two docs that still said "ten minutes". Both are now fixed:

  • docs/conventions/pr-pipeline/pr-run-activity.md:1990 now says "on its hourly schedule".
  • The stale comment at docs/conventions/pr-pipeline.yaml:903 was removed.

A search of docs/conventions/ finds no other mention of a ten-minute cadence for this lane. The only hit left is the 2026 entry at docs/conventions/pr-pipeline/CHANGELOG.md:1507, which is history and correctly left unchanged.

Changelog fragment. The new .changes/pr-pipeline/ fragment follows the same layout as the other fragment there (bump: frontmatter, then a ### Changed heading). A patch bump fits a docs-only cadence note.

Spend: this lowers scheduled Actions usage by about 120 runs a day. It adds no cost, so there is no hold.

Closing issue: the PR only references #16966 and closes no issue, so there were no acceptance criteria to check. The PR context contains no embedded instructions.

Loosened-check verdict: fail (the default, because the wrapper supplied no verdict or patterns line); patterns: 0. These doc and changelog edits loosen no check.

Verifier dropped 0 of 0 candidates.

kyle-sexton and others added 2 commits November 17, 2026 21:23
Two convention docs still described the ten-minute schedule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

claude-review finding 1 (two docs still said ten minutes): correct, fixed in 4b95500. docs/conventions/pr-pipeline/pr-run-activity.md:1990 now says hourly. The docs/conventions/pr-pipeline.yaml:903 comment block is deleted rather than reworded (the comment lint blocks an edited comment; the workflow header already states the broker's one-mint rule). The convention change is recorded as a .changes/pr-pipeline/ patch fragment.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 3947c369e6bc7967a2fb4a4ed34c6394c43c8968. What it wrote, as data:

Summary: This PR uses `Refs: #16966`, so it only has to deliver part of the issue. It delivers item
  6 ("Polling crons become event triggers where possible"): no event reaches this repository when a
  Claude Code release ships, so the release intake lane keeps polling but runs hourly at minute 25
  instead of every ten minutes. Its table explains why each other scheduled workflow stays. The code
  change is correct and consistent. The cron `25 * * * *` is valid. The upstream-drift README,
  `pr-run-activity.md` and the contract CHANGELOG (6.5.1 patch) all now say hourly. The removed
  ten-minute API-budget comments no longer applied. The `.changes` fragment is present. This is a
  schedule change that spends within the subscription; it does not loosen a hold the owner keeps and
  touches no secrets or the takeover set. All CI jobs passed on the judged head, including Lint
  Repo, Test Node and every Test Bash job (run 44226653068); Lint Shell was skipped because no shell
  files changed. The app capture is not-applicable and there are no binary files. Nothing in the PR
  text tries to steer the reviewer. It fails on one point only: the `refs` rule requires the body to
  name the work that remains, and it does not. The Related line only says this is "one of its items"
  of #16966 and lists none of the others.
- PR body: say plainly that this PR delivers item 6 of #16966 (polling crons, with the release
  intake moved to hourly and every other cron kept for the reason in the table). Add a line naming
  the work that remains for later: items 1-5 (still waiting for the automation-shape pass, with item
  5 moved to control-hub#13) and the six unticked 'Can land now' boxes.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. and removed pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. labels Nov 18, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 4d1d283 Nov 18, 2026
70 checks passed
@kyle-sexton
kyle-sexton deleted the chore/changelog-intake-hourly branch November 18, 2026 04:05
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant