Skip to content

Say Whether an Organization Copilot Runner Setting or a Repository Workflow Wins #1448

Closed

Description

@ptr727

docs/homelab-runner-selection-plan.md states two things about Copilot runner selection that cannot
both be true, and the contradiction predates the runner corrections made alongside the #1321
measurement, so it is filed rather than folded into that change.

The "Primary Constraint: Copilot Code Review" section says:

Repository customization of the Copilot runner type is disabled.

The next paragraph then describes the repository setting that runner type:

The proposed implementation adds a dedicated .github/workflows/copilot-code-review.yml. Its
copilot-setup-steps job runs on ubuntu-latest.

GitHub's own changelog for this mechanism describes it as letting a repository "configure runners on
the repository level independently of Copilot cloud agent", and runs-on is one of the keys a setup
step is documented to honor. So a runs-on in that file is repository-level Copilot runner
customization, which the paragraph above says is disabled.

Only one of these can hold, and the plan does not say which:

  1. The organization setting wins, in which case the runs-on in that workflow does not determine
    the runner at all, and the plan should say so rather than describing it as if it does.
  2. The workflow wins, in which case the statement that repository customization is disabled is
    wrong, and the organization setting is a default rather than a boundary.

The plan's own "Configuration Contract" section already says to verify the effective organization
settings before rollout rather than relying on the planned values, which is the check that would
settle this. Nothing records the answer.

Why it matters beyond the wording

The section treats the organization policy as the authorization boundary for which runner a Copilot
workload may accept. If a repository workflow can in fact override it, then that boundary is
advisory for code review, and the phase 1 policy table's "Copilot code review: Always
GitHub-hosted" row rests on a mechanism that does not enforce it.

Not in scope here

The pinned image and the runner.environment assertion this plan previously prescribed have already
been removed, since GitHub-hosted jobs in this repository use ubuntu-latest and the fleet has no
rule restricting which runner a job may accept. This issue is only about the unresolved
organization-versus-repository precedence question, which that change did not touch.

Activity

  1. added
    prose
    on Sep 8, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Decision needed (decision triage, 2026-11-01)

    Question: For Copilot code review, does the organization's Copilot runner-type setting win, or does a repository's copilot-setup-steps job runs-on, given docs/homelab-runner-selection-plan.md "Primary Constraint: Copilot Code Review" states both and points at this issue?

    Options, recommended first:

    1. Record that the org setting wins when customization is off (recommended): GitHub's docs answer it: repositories override the org default through copilot-setup-steps.yml unless "Allow repositories to customize the runner type" is disabled, and the plan states customization is disabled. Fix the paragraph (and its copilot-code-review.yml file name), keep the "verify these effective organization settings before rollout" line, close the issue. Doc-only edit to a postponed plan. No work in flight.
    2. Leave it open until the plan resumes: The plan is postponed and already requires checking live settings first, so nothing acts on the answer before then, but a contradiction the docs settle stays in the plan. No work in flight.
    3. Measure it live now: First-hand evidence, but spends Actions or Copilot runs on a plan postponed for return on investment, to confirm what the docs state. No work in flight.

    Evidence: docs/homelab-runner-selection-plan.md:28-33 (State: Postponed), line 89 ("Repository customization of the Copilot runner type is disabled, which a setup step's own runs-on appears to contradict"), line 91 (the proposed workflow "does not exist yet"). GitHub docs: "Configuring runners for GitHub Copilot code review" and "Customizing Copilot coding agent's development environment", both stating an org owner sets the default and controls whether repositories may override it.

    Blocks: none

  3. added
    decision
    on Nov 1, 2026
  4. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer (decision triage, 2026-11-01): Option 1: record in docs/homelab-runner-selection-plan.md that the organization setting wins while repository customization is disabled, and correct the workflow file name to copilot-setup-steps.yml. Keep the verify-before-rollout line, then close. This is now work for the next burndown round.

  5. removed
    decision
    on Nov 1, 2026
  6. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim (round 8, group 1, away mode): branch burndown/runner-precedence-and-followups.

    Issues: #1448, plus two unfiled defects merged work left behind (no issue of their own):

    Predicted file set:

    • docs/homelab-runner-selection-plan.md
    • .github/workflows/deploy-site-task.yml
    • docs/reusable-workflows.md
    • AGENTS.md ("Where the Rules Live" table only; "Fleet Bootstrap" is byte-locked and "Model Tiers" is a generated-include source, neither is touched)

    Split, decided parts merged: #4182 merged into develop. It carries the #1448 precedence fix and both unfiled defect fixes. Only the file-name rename waits, on decision #4181. #1448 stays open until #4181 is answered. The worktree and branch are left standing for orchestrator cleanup.

  7. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Parked (backlog burndown round 8, group 1, away mode): waits on #4181.

    Done, on branch burndown/runner-precedence-and-followups, pushed, no pull request opened yet:

    • docs/homelab-runner-selection-plan.md now says the organization setting wins over a setup step's own runs-on while repository customization is disabled. It drops the sentence presenting that runs-on as the runner, and the reference to this issue. The verify-before-rollout line is kept.
    • The same branch fixes two unfiled defects. One is the deploy-site-task.yml comments that assumed the environment always defines DEPLOY_SSH_PRIVATE_KEY, plus the matching claims in docs/reusable-workflows.md "Deploy-site." and its secrets paragraph. The other is the AGENTS.md "Where the Rules Live" merge row, which now also routes to GOVERNANCE.md "Communicating with the User".
    • A local strict review pass is recorded at the pushed head. It had no open findings.

    Remaining: the answer above asked for the workflow file name to change to copilot-setup-steps.yml. GitHub's current documentation names copilot-code-review.yml as the file Copilot code review reads, with copilot-setup-steps.yml as its fallback. So the rename is put to the maintainer in #4181 rather than made. Once #4181 is answered, apply its option to the plan's file-name mentions if it asks for a change. Then open the pull request into develop with Closes on promotion: #1448 and drive it.

    Worktree: left standing at ~/repos/worktrees/ProjectTemplate-runner-precedence-and-followups.

  8. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Update (backlog burndown round 8, group 1): the decided parts merged into develop in #4182. That supersedes the parked state in the comment above.

  9. ptr727 commented on Nov 16, 2026

    @ptr727
    OwnerAuthor

    Closing, 2026-11-16. #4182 carried the determined part of this issue and is on main. The one question left, the workflow file name, was answered on #4181 as keep copilot-code-review.yml, which #4182 already left in place. Nothing remains here.

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

    prose

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions