Skip to content
5 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Self-hosted runners' polls write that they were seen once a minute, and find queued jobs by an index (actions 0010)1-- What a self-hosted runner can take, asked on every poll: queued jobs with
2-- labels in its workspace, matched without regard to case. By the
3-- lowercased namespace, so the match is a range of the index rather than
4-- every labelled job.
5CREATE INDEX IF NOT EXISTS jobs_self_hosted_lower ON jobs (lower(namespace), status) WHERE labels IS NOT NULL;