Surface Copilot inference access errors in agent failure issues/comments#19412
Surface Copilot inference access errors in agent failure issues/comments#19412
Conversation
…lure reports Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
| return ""; | ||
| } | ||
|
|
||
| let ctx = "\n**🔑 Inference Access Denied**: The Copilot CLI failed because the token does not have access to inference."; |
There was a problem hiding this comment.
@copilot move text to markdown file actions/setup/md
There was a problem hiding this comment.
Moved to actions/setup/md/inference_access_error.md, loaded via fs.readFileSync("/opt/gh-aw/prompts/inference_access_error.md") at runtime. (18eb244)
| func generateInferenceAccessErrorDetectionStep() GitHubActionStep { | ||
| var step []string | ||
|
|
||
| step = append(step, " - name: Detect inference access error") |
There was a problem hiding this comment.
@copilot move to shell script in actions/setup/sh
There was a problem hiding this comment.
Moved to actions/setup/sh/detect_inference_access_error.sh, called as bash /opt/gh-aw/actions/detect_inference_access_error.sh. (18eb244)
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fixed in ae2d974 — updated the three failing wasm golden files ( |
There was a problem hiding this comment.
Pull request overview
Surfaces Copilot CLI “inference access denied” failures by detecting the error in the agent logs, propagating it through workflow outputs/env, and rendering a dedicated context block in agent failure issues/comments.
Changes:
- Add a Copilot-engine-only detection step and job output (
inference_access_error) and pass it into the conclusion job environment. - Add a shared shell script + markdown template to detect and explain inference access failures.
- Update agent failure templates + handler script to include
{inference_access_error_context}, and add Go tests for the compilation output.
Reviewed changes
Copilot reviewed 126 out of 126 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/workflow/notify_comment.go | Passes GH_AW_INFERENCE_ACCESS_ERROR to the conclusion job for Copilot engine runs. |
| pkg/workflow/inference_access_error_test.go | Adds unit tests ensuring the Copilot workflow includes the detection step/output/env wiring. |
| pkg/workflow/copilot_engine_execution.go | Adds step generator for inference access error detection (shared script invocation). |
| pkg/workflow/compiler_yaml_main_job.go | Injects the detection step into the main job for Copilot engine workflows. |
| pkg/workflow/compiler_main_job.go | Exposes inference_access_error as a main job output for Copilot engine workflows. |
| actions/setup/sh/detect_inference_access_error.sh | New shared detector script that scans the agent stdio log and sets inference_access_error. |
| actions/setup/md/inference_access_error.md | New markdown snippet rendered into failure issues/comments when inference access is denied. |
| actions/setup/md/agent_failure_issue.md | Adds {inference_access_error_context} placeholder to failure issue template. |
| actions/setup/md/agent_failure_comment.md | Adds {inference_access_error_context} placeholder to failure comment template. |
| actions/setup/js/handle_agent_failure.cjs | Reads and injects inference access denied context into rendered templates. |
| .github/workflows/workflow-skill-extractor.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/workflow-normalizer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/workflow-health-manager.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/workflow-generator.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/weekly-safe-outputs-spec-review.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/weekly-issue-summary.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/weekly-editors-health-check.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/video-analyzer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/ubuntu-image-analyzer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/tidy.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/test-workflow.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/test-project-url-default.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/test-dispatcher.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/terminal-stylist.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/technical-doc-writer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/super-linter.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/sub-issue-closer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/stale-repo-identifier.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-workflow-call.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-update-cross-repo-pr.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-test-tools.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-temporary-id.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-project.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-multi-pr.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-create-cross-repo-pr.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-copilot.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/smoke-copilot-arm.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/slide-deck-maintainer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/security-review.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/security-compliance.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/research.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/repository-quality-improver.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/repo-tree-map.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/repo-audit-analyzer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/release.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/refiner.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/q.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/python-data-charts.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/pr-triage-agent.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/pr-nitpick-reviewer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/portfolio-analyst.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/poem-bot.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/plan.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/pdf-summary.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/org-health-report.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/notion-issue-summary.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/metrics-collector.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/mergefest.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/mcp-inspector.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/layout-spec-maintainer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/jsweep.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/issue-triage-agent.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/issue-monster.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/hourly-ci-cleaner.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/grumpy-reviewer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/gpclean.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/glossary-maintainer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/github-remote-mcp-auth-test.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/functional-pragmatist.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/firewall.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/firewall-escape.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/example-permissions-warning.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/example-custom-error-patterns.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/draft-pr-cleanup.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/docs-noob-tester.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/discussion-task-miner.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/dictation-prompt.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/dev.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/dev-hawk.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/dependabot-go-checker.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/dependabot-burner.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/delight.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/dead-code-remover.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-workflow-updater.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-testify-uber-super-expert.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-team-status.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-syntax-error-quality.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-semgrep-scan.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-secrets-analysis.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-repo-chronicle.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-regulatory.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-performance-summary.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-news.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-mcp-concurrency-analysis.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-malicious-code-scan.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-firewall-report.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-file-diet.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-copilot-token-report.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-compiler-quality.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-cli-tools-tester.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-cli-performance.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-assign-issue-to-user.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/daily-architecture-diagram.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/craft.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/copilot-pr-prompt-analysis.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/copilot-pr-nlp-analysis.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/copilot-pr-merged-report.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/copilot-cli-deep-research.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/contribution-check.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/code-simplifier.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/code-scanning-fixer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/cli-consistency-checker.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/ci-doctor.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/ci-coach.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/chroma-issue-indexer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/breaking-change-checker.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/brave.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/bot-detection.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/auto-triage-issues.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/artifacts-summary.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/archie.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/agent-persona-explorer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
| .github/workflows/agent-performance-analyzer.lock.yml | Lock file updated to propagate inference-access detection output/env and include detection step. |
Comments suppressed due to low confidence (37)
.github/workflows/daily-semgrep-scan.lock.yml:708
- This lock file embeds the inference access error detection snippet inline. Please regenerate it so the step runs
bash /opt/gh-aw/actions/detect_inference_access_error.shto keep the logic centralized.
.github/workflows/issue-monster.lock.yml:707 - The inference access error detection snippet is still inlined here. Please regenerate this lock file so the step calls
/opt/gh-aw/actions/detect_inference_access_error.shto avoid duplicated logic.
.github/workflows/technical-doc-writer.lock.yml:807 - The detect-inference-error step is still inlined in this lock file. Please regenerate so it calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript, keeping the detection logic centralized.
.github/workflows/workflow-skill-extractor.lock.yml:748 - The detect-inference-error step is inlined in this lock file rather than calling the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript introduced in this PR. Please regenerate this lock file so the step uses the shared script to keep the detection logic centralized.
.github/workflows/functional-pragmatist.lock.yml:682 - The detect-inference-error step is duplicated inline in this lock file. Please regenerate so the step invokes
bash /opt/gh-aw/actions/detect_inference_access_error.sh(shared script) instead.
.github/workflows/workflow-normalizer.lock.yml:744 - This lock file still embeds the inference-access detection bash snippet inline. Please regenerate so the
detect-inference-errorstep callsbash /opt/gh-aw/actions/detect_inference_access_error.shto avoid drift/duplication.
actions/setup/js/handle_agent_failure.cjs:468 buildInferenceAccessErrorContextreads the markdown template withfs.readFileSyncbut doesn’t handle missing/unreadable files. If the prompt file isn’t present in a given runner image, the whole failure-handler will throw and skip creating the issue/comment, masking the original agent failure. Consider wrapping the read in a try/catch and falling back to a short inline message (and/or logging a warning) when the template can’t be loaded.
.github/workflows/chroma-issue-indexer.lock.yml:431- This lock file still embeds the inference-access detection bash snippet inline. Since the PR introduces
detect_inference_access_error.shas the source of truth, regenerate this lock file so the step calls/opt/gh-aw/actions/detect_inference_access_error.shinstead of duplicating the logic.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/dependabot-go-checker.lock.yml:712
- The detect-inference-error step is inlined in this lock file, duplicating the detection logic. Please regenerate so it calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript.
.github/workflows/gpclean.lock.yml:692 - This lock file still contains an inline inference-access detection snippet. Please regenerate so it invokes
bash /opt/gh-aw/actions/detect_inference_access_error.shto keep the logic in one place.
.github/workflows/repo-audit-analyzer.lock.yml:677 - The inference access error detection step is duplicated inline here. Please regenerate this lock file to call
/opt/gh-aw/actions/detect_inference_access_error.shso the detection logic is centralized.
.github/workflows/smoke-copilot.lock.yml:1724 - The detect-inference-error step is inlined in this lock file. Please regenerate so it calls
bash /opt/gh-aw/actions/detect_inference_access_error.sh(shared script) to avoid drift and duplication.
.github/workflows/smoke-project.lock.yml:1169 - The detect-inference-error step is still inlined here. Please regenerate this lock file so it invokes the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript rather than duplicating the detection logic.
.github/workflows/daily-team-status.lock.yml:686 - The detect-inference-error step is still implemented inline here. Please regenerate this lock file so it calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript (single source of truth).
.github/workflows/issue-triage-agent.lock.yml:655 - This lock file duplicates the inference access detection logic inline. Please regenerate so
detect-inference-errorcalls the shareddetect_inference_access_error.shscript.
.github/workflows/test-dispatcher.lock.yml:605 - This lock file duplicates the inference access detection logic inline. Please regenerate it so the
detect-inference-errorstep callsbash /opt/gh-aw/actions/detect_inference_access_error.sh(shared script).
.github/workflows/bot-detection.lock.yml:806 - The detect-inference-error step is inlining the grep logic rather than invoking the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript. Please regenerate this lock file so it calls the shared script to avoid duplicated/stale logic.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/example-custom-error-patterns.lock.yml:397
- The inference access error detection logic is embedded inline here. Please regenerate this lock file so the step calls
/opt/gh-aw/actions/detect_inference_access_error.shto keep the logic centralized.
.github/workflows/glossary-maintainer.lock.yml:754 - The detect-inference-error step is implemented inline here. Please regenerate this lock file so it calls the shared
detect_inference_access_error.shscript rather than duplicating the logic.
.github/workflows/security-review.lock.yml:840 - This lock file still contains an inline inference access detection snippet. Please regenerate so the step calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript instead of duplicating logic.
.github/workflows/test-workflow.lock.yml:382 - The detect-inference-error step is implemented inline here, duplicating the detection logic. Please regenerate this lock file so it calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript.
actions/setup/md/inference_access_error.md:3 - This template starts with a blank line, and
buildInferenceAccessErrorContextalso prefixes the template with"\n", which results in an extra empty line in rendered issues/comments. Consider removing the leading blank line (or dropping the explicit prefix) so the injected context formatting is consistent.
.github/workflows/agent-persona-explorer.lock.yml:743 - The detect-inference-error step is still inlining the log-grep logic instead of calling the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript added in this PR. This duplicates logic across lock files and can drift from the compiler output—please regenerate this lock file so the step uses the shared script.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/example-permissions-warning.lock.yml:380
- This lock file still inlines the inference access detection snippet. Please regenerate it so
detect-inference-errorcalls the shared/opt/gh-aw/actions/detect_inference_access_error.shscript.
.github/workflows/github-remote-mcp-auth-test.lock.yml:661 - This lock file still embeds the inference access detection bash inline. Please regenerate it so the step calls
/opt/gh-aw/actions/detect_inference_access_error.shto avoid duplicated logic.
.github/workflows/hourly-ci-cleaner.lock.yml:732 - The detect-inference-error step is inlined in this lock file. Please regenerate it so the step calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript (avoids duplicated logic).
.github/workflows/notion-issue-summary.lock.yml:634 - The detect-inference-error step is still implemented inline here. Please regenerate this lock file so it invokes
bash /opt/gh-aw/actions/detect_inference_access_error.sh(shared script) instead of duplicating the snippet.
.github/workflows/smoke-create-cross-repo-pr.lock.yml:834 - This lock file duplicates the inference access detection bash snippet inline. Please regenerate so the step calls
/opt/gh-aw/actions/detect_inference_access_error.sh(shared script) instead.
.github/workflows/ci-doctor.lock.yml:891 - The detect-inference-error step is inlined here, which duplicates the detection logic and can drift from the shared script added by this PR. Please recompile/regenerate this lock file so the step runs
bash /opt/gh-aw/actions/detect_inference_access_error.sh.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/code-simplifier.lock.yml:688
- This lock file still inlines the inference access error detection logic. To keep lock files consistent with the new shared script approach, regenerate this lock file so
detect-inference-errorcalls/opt/gh-aw/actions/detect_inference_access_error.sh.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/daily-cli-tools-tester.lock.yml:738
- This lock file still has an inline detect-inference-error implementation. Please regenerate it so the step invokes
bash /opt/gh-aw/actions/detect_inference_access_error.shto match the new shared-script approach.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/daily-firewall-report.lock.yml:801
- The inference access detection is still embedded inline in this lock file. Please regenerate so the step calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript instead of duplicating the logic.
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
.github/workflows/daily-regulatory.lock.yml:1189
- This detect-inference-error step is still inlined in the lock file. Please regenerate so it calls the shared
detect_inference_access_error.shscript; otherwise this duplicated snippet can drift from the source-of-truth script.
.github/workflows/dependabot-burner.lock.yml:671 - This lock file still contains the inference access detection snippet inline. Please regenerate so the step invokes
bash /opt/gh-aw/actions/detect_inference_access_error.shinstead of duplicating the detection logic.
.github/workflows/poem-bot.lock.yml:1359 - This lock file still embeds the inference access detection bash inline. Please regenerate it so the step calls the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript.
.github/workflows/smoke-update-cross-repo-pr.lock.yml:829 - This lock file still embeds the inference access detection snippet inline. Please regenerate so the step runs
bash /opt/gh-aw/actions/detect_inference_access_error.sh(shared script) instead of duplicating the logic.
.github/workflows/contribution-check.lock.yml:742 - The detect-inference-error step is duplicating the detection bash logic inline. Please regenerate this lock file to call the shared
/opt/gh-aw/actions/detect_inference_access_error.shscript instead (single source of truth).
run: bash /opt/gh-aw/actions/detect_inference_access_error.sh
- name: Configure Git credentials
env:
REPO_NAME: ${{ github.repository }}
SERVER_URL: ${{ github.server_url }}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
generateInferenceAccessErrorDetectionStep()incopilot_engine_execution.go- calls shell scriptInline bash script→ moved toactions/setup/sh/detect_inference_access_error.shcompiler_yaml_main_job.go(Copilot engine only)inference_access_errorjob output incompiler_main_job.go(Copilot engine only)GH_AW_INFERENCE_ACCESS_ERRORenv var innotify_comment.goto conclusion job (Copilot engine only)handle_agent_failure.cjs- loads text from markdown template viafs.readFileSyncInline error message text→ moved toactions/setup/md/inference_access_error.mdagent_failure_comment.mdandagent_failure_issue.mdtemplates with{inference_access_error_context}placeholderinference_access_error_test.goto check for shell script referencebasic-copilot.golden,smoke-copilot.golden,with-imports.golden) for CI fixOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.