Repository navigation
Description
Problem
Fix the Copilot-engine Task tool now — every subagent spawn fails with No model available. Check policy enablement under GitHub Settings > Copilot, and the harness burns all 4 retries before failing the whole run.
Affected workflows and runs
- PR Code Quality Reviewer (§31140894504, 2026-08-07T02:20Z) — failed on attempts 1-4, each hitting the same error immediately after
tool.execution_startfortoolName="task". - PR Code Quality Reviewer (§31147686965, 2026-08-07T04:31Z) — same signature, 4/4 attempts,
[copilot-harness] all 3 retries exhausted — giving up (exitCode=1). - The Great Escapi (§31149984070) fails at the same step name (
Execute GitHub Copilot CLI) but with a different signature (permission_denied, CAPIError 422) — flagged separately, not folded into this bug, since it looks tied to the workflow's intentional firewall-escape probing rather than this Task-tool defect.
Root cause
Both PR Code Quality Reviewer failures show the identical pattern: the main agent calls the Task tool to delegate to a general-purpose subagent mid-review. Immediately after subagent.started, the SDK driver logs:
[copilot-sdk-driver] [sdk-driver] error: Execution failed: Error: No model available. Check policy enablement under GitHub Settings > Copilot
This repeats on every one of the 4 harness attempts (failureClass=partial_execution), so it is not transient — it is a hard policy/entitlement gate on whatever model the Task tool resolves for the delegated subagent.
audit-diff against the nearest successful baseline (§31146244896) confirms this is not a network/firewall problem: api.githubcopilot.com:443 received 64 allowed requests in the successful run and 0 in the failed run — the model call never leaves the sandbox, meaning resolution fails before any request is dispatched.
Proposed remediation
- Enable/allowlist the model the Task tool resolves for subagent delegation under the Copilot policy used by these runners, or
- If subagent delegation is not entitled in this environment, disable the
Tasktool for Copilot-engine workflows and fall back to inline reasoning, or - At minimum, make this failure mode non-fatal: catch the
No model availablesignature in the copilot-harness classifier and skip/continue instead of exhausting all retries and failing the entire job — this alone would have kept both PR Code Quality Reviewer runs green.
Success criteria
- PR Code Quality Reviewer completes without the
No model availableerror, or degrades gracefully (skips the subagent, logs a warning, still posts a review) instead of failing. - No repeat of this signature across the next 5 daily runs of any Copilot-engine workflow that uses the Task tool.
cc parent tracking: #48898
Related to #48898
Generated by 🔍 [aw] Failure Investigator (6h) · agent · 213.3 AIC · ⊞ 5.2K · ◷
- expires on Aug 13, 2026, 11:24 PM UTC-08:00
Recurrence update — 2026-08-07 (last 6h investigator pass)
Fix this now — every one of the last 5 failed runs in this window is the same No model available Task-tool signature, and it has now spread beyond PR Code Quality Reviewer. One-sentence reason: subagent delegation still resolves no model, so any workflow that calls Task fails 100% of the time, not just this one reviewer workflow.
Newly confirmed occurrences (all identical signature, verified against agent-stdio.log):
- §31208532093 — PR Code Quality Reviewer, 2026-08-07T18:47Z
- §31208195525 — PR Code Quality Reviewer, 2026-08-07T18:42Z
- §31198491545 — PR Code Quality Reviewer, 2026-08-07T16:37Z (4/4 attempts fail identically,
general-purposesubagent forgrumpy-coder) - §31198445994 — PR Code Quality Reviewer, 2026-08-07T16:37Z (same, confirmed via cached run log)
- §31188123095 — Daily Agent of the Day Blog Writer, 2026-08-07T14:32Z — new affected workflow, not previously listed. Same
Error: No model available. Check policy enablement under GitHub Settings > Copiloton every one of 4 harness attempts when spawning ageneral-purposeTask subagent.
Scope correction needed: widen "Affected workflows" beyond PR Code Quality Reviewer to any Copilot-engine workflow using the Task tool — Daily Agent of the Day Blog Writer just hit it too.
Success criteria not met: this issue was assigned to Copilot coding agent (see prior comment) but the signature repeated 5 more times in a single 6-hour window across 2 workflows — the "no repeat across next 5 daily runs" bar has already been missed. Recommend escalating priority and re-verifying that a fix PR is actually in flight, or applying remediation option 3 from the original report (make No model available non-fatal / skip the subagent) as a stopgap while the policy/entitlement question is resolved.> Generated by 🔍 [aw] Failure Investigator (6h) · agent · 113 AIC · ⊞ 5.5K · ◷
Problem
Fix the Copilot-engine Task tool now — every subagent spawn fails with No model available. Check policy enablement under GitHub Settings > Copilot, and the harness burns all 4 retries before failing the whole run.
Affected workflows and runs
- PR Code Quality Reviewer (§31140894504, 2026-08-07T02:20Z) — failed on attempts 1-4, each hitting the same error immediately after
tool.execution_startfortoolName="task". - PR Code Quality Reviewer (§31147686965, 2026-08-07T04:31Z) — same signature, 4/4 attempts,
[copilot-harness] all 3 retries exhausted — giving up (exitCode=1). - The Great Escapi (§31149984070) fails at the same step name (
Execute GitHub Copilot CLI) but with a different signature (permission_denied, CAPIError 422) — flagged separately, not folded into this bug, since it looks tied to the workflow's intentional firewall-escape probing rather than this Task-tool defect.
Root cause
Both PR Code Quality Reviewer failures show the identical pattern: the main agent calls the Task tool to delegate to a general-purpose subagent mid-review. Immediately after subagent.started, the SDK driver logs:
[copilot-sdk-driver] [sdk-driver] error: Execution failed: Error: No model available. Check policy enablement under GitHub Settings > Copilot
This repeats on every one of the 4 harness attempts (failureClass=partial_execution), so it is not transient — it is a hard policy/entitlement gate on whatever model the Task tool resolves for the delegated subagent.
audit-diff against the nearest successful baseline (§31146244896) confirms this is not a network/firewall problem: api.githubcopilot.com:443 received 64 allowed requests in the successful run and 0 in the failed run — the model call never leaves the sandbox, meaning resolution fails before any request is dispatched.
Proposed remediation
- Enable/allowlist the model the Task tool resolves for subagent delegation under the Copilot policy used by these runners, or
- If subagent delegation is not entitled in this environment, disable the
Tasktool for Copilot-engine workflows and fall back to inline reasoning, or - At minimum, make this failure mode non-fatal: catch the
No model availablesignature in the copilot-harness classifier and skip/continue instead of exhausting all retries and failing the entire job — this alone would have kept both PR Code Quality Reviewer runs green.
Success criteria
- PR Code Quality Reviewer completes without the
No model availableerror, or degrades gracefully (skips the subagent, logs a warning, still posts a review) instead of failing. - No repeat of this signature across the next 5 daily runs of any Copilot-engine workflow that uses the Task tool.
cc parent tracking: #48898
Related to #48898
Generated by 🔍 [aw] Failure Investigator (6h) · agent · 213.3 AIC · ⊞ 5.2K · ◷
- expires on Aug 13, 2026, 11:24 PM UTC-08:00
Recurrence update — 2026-08-07 (last 6h investigator pass)
Fix this now — every one of the last 5 failed runs in this window is the same No model available Task-tool signature, and it has now spread beyond PR Code Quality Reviewer. One-sentence reason: subagent delegation still resolves no model, so any workflow that calls Task fails 100% of the time, not just this one reviewer workflow.
Newly confirmed occurrences (all identical signature, verified against agent-stdio.log):
- §31208532093 — PR Code Quality Reviewer, 2026-08-07T18:47Z
- §31208195525 — PR Code Quality Reviewer, 2026-08-07T18:42Z
- §31198491545 — PR Code Quality Reviewer, 2026-08-07T16:37Z (4/4 attempts fail identically,
general-purposesubagent forgrumpy-coder) - §31198445994 — PR Code Quality Reviewer, 2026-08-07T16:37Z (same, confirmed via cached run log)
- §31188123095 — Daily Agent of the Day Blog Writer, 2026-08-07T14:32Z — new affected workflow, not previously listed. Same
Error: No model available. Check policy enablement under GitHub Settings > Copiloton every one of 4 harness attempts when spawning ageneral-purposeTask subagent.
Scope correction needed: widen "Affected workflows" beyond PR Code Quality Reviewer to any Copilot-engine workflow using the Task tool — Daily Agent of the Day Blog Writer just hit it too.
Success criteria not met: this issue was assigned to Copilot coding agent (see prior comment) but the signature repeated 5 more times in a single 6-hour window across 2 workflows — the "no repeat across next 5 daily runs" bar has already been missed. Recommend escalating priority and re-verifying that a fix PR is actually in flight, or applying remediation option 3 from the original report (make No model available non-fatal / skip the subagent) as a stopgap while the policy/entitlement question is resolved.> Generated by 🔍 [aw] Failure Investigator (6h) · agent · 113 AIC · ⊞ 5.5K · ◷
Recurrence update — 2026-08-09 (13:10–17:39 UTC investigator pass)
Still not fixed — Linter Miner is now the 4th confirmed affected workflow. One-sentence reason: Task-tool subagent delegation still resolves no model on the Copilot engine, and the signature just spread to another workflow again.
- §31326676901 — Linter Miner, 2026-08-09T17:32Z — new affected workflow, not previously listed. All 4 harness attempts hit
Error: No model available. Check policy enablement under GitHub Settings > Copilotimmediately aftertool.execution_startfor ageneral-purposeTask subagent (toolName="task");[copilot-harness] all 3 retries exhausted — giving up (exitCode=1).
Scope correction (again): confirmed affected workflows now include PR Code Quality Reviewer, Daily Agent of the Day Blog Writer, and Linter Miner — any Copilot-engine workflow that calls the Task tool is at risk, not a small fixed set.
Success criteria not met, still. This is the third 6h investigator window in a row to catch a fresh occurrence since 2026-08-07. Recommend applying remediation option 3 from the original report now as a stopgap (classify No model available as non-fatal and skip the subagent) instead of waiting on the upstream policy/entitlement fix — waiting has cost 3+ workflows real failures across 3 days.> Generated by 🔍 [aw] Failure Investigator (6h) · agent · 244.3 AIC · ⌖ 42.9 AIC · ⊞ 5.3K · ◷
Activity
github-actions commentedon Aug 7, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
github-actions commentedon Aug 14, 2026
This issue was automatically closed because it expired on 2026-08-14T07:24:42.098Z.