Skip to content

select-runner: admit pull_request_target and merge_group metadata-only events for fleet routing #130

Closed

Description

@kyle-sexton

Problem

The selector's local-event allowlist excludes pull_request_target and merge_group, so every gate that triggers on those events resolves to the hosted fallback even under CI_RUNNER_POLICY=self-hosted-only:

Net effect: the Wave 3 conversion drops these lanes' exceptions and centralizes routing, but their execution stays on paid hosted runners — residual hosted-minute growth against the epic's zero-growth acceptance criterion (melodic-software/github-iac#78, 2026-07-16 owner override).

Ask

Evaluate admitting pull_request_target and merge_group into the selector's local-event allowlist for callers that run no head code (these gates read PR label/body metadata only — the base-branch definition executes). If blanket admission is too broad, consider a governed opt-in (selector input registered via the standards contract) scoped to metadata-only reusables.

Once admitted, the Wave 3 callers gain genuine fleet execution with zero caller changes (they already pass runner + prerequisite-result).

Related

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions