You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Get-PendingDeployment gains an optional -CreatedSince cutoff. Deployments
created before the cutoff are skipped without a status API call. Defaults to MinValue (check every deployment), so existing callers are unaffected.
Fixed
The polling agent no longer exhausts the GitHub API rate limit. Because GitHub
never deletes deployments, Get-PendingDeployment was fetching statuses for a
full page of historical, terminal deployments on every tick - an N+1 fan-out
(~31 calls/poll) that drained the hourly budget and crashed the agent with 403 (rate limit exceeded). Callers now pass -CreatedSince to collapse a
quiet poll to a single list call.