Skip to content

AGENTS.md: wait on CI without polling GitHub hard - #184

Merged
ndbroadbent merged 1 commit into
mainfrom
agents-ci-wait
Dec 4, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
agents-ci-wait

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

On 4 Dec 2026 Nathan's GitHub REST allowance (5,000 calls an hour, shared by every agent's gh) ran out and blocked a merge here. Part of the usage was agents polling CI with gh run watch at its default 3-second interval, which also fetches the run's jobs on every tick.

The new AGENTS.md rule:

  • Preferred: fleetlayer watch ci --subject DocSpring/visualci@<branch> --kind github.workflow_run --for 30m, which sends one message when the run finishes and makes no API calls. This works once Fleetlayer receives DocSpring's CI webhooks; the fleetlayer ci delivery session is setting those up now (sc-9261, sc-9151).
  • Until then: gh run view <id> --json status,conclusion every few minutes, in a loop with a timeout.
  • Never gh run watch at its default interval. gh pr checks --watch --interval 60 is fine: it uses GraphQL, a separate allowance.

Docs only.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…i once wired; gh run view every few minutes until then)
@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #473 · 400 unchanged · no changes

This PR vs base: nothing since #471, across 1 build

docspring/visualci · journeys · build #479 · 35 unchanged · no changes

This PR vs base: nothing since #479, across 2 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

@ndbroadbent
ndbroadbent merged commit b2749bb into main Dec 4, 2026
29 checks passed
@ndbroadbent
ndbroadbent deleted the agents-ci-wait branch December 4, 2026 06:51
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