Fix copilot-sdk harness stdin wiring, SDK installation/resolution, custom-provider setup from /reflect, and remove duplicate harness timestamps#36358
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot Merge main and recompile. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…dk-integration Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in |
|
🧪 Test Quality Sentinel completed test quality analysis. |
|
🚀 Smoke Antigravity MISSION COMPLETE! Antigravity has spoken. ✨ |
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. No ADR enforcement needed: PR #36358 does not have the 'implementation' label (has_implementation_label=false) and has only 6 new lines of code in business logic directories, well below the 100-line threshold (requires_adr_by_default_volume=false). Neither enforcement condition is met. |
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅ |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
✅ PR Code Quality Reviewer completed the code quality review. |
|
🌑 The shadows whisper... Smoke Codex failed to deliver outputs. The oracle requires further meditation... |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
🚀 Smoke Gemini MISSION COMPLETE! Gemini has spoken. ✨ Verifying tool access |
|
🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧 |
|
@copilot it is finding to load the module. https://github.com/github/gh-aw/actions/runs/26795908399/job/78992142688#step:27:1 Make sure this is not a CommonJS vs ESM problem with the @github/copilot-sdk package. Investigate. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Addressed in I investigated run Fix: in SDK mode, the generated node runtime command now prepends I also recompiled |
|
@copilot configure sdk for custom provider using /reflect info https://github.com/github/gh-aw/actions/runs/26797319253/job/78996479286#step:27:1 |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fixed in SDK mode now derives a custom provider config from |
|
@copilot merge main and recompile |
…dk-integration # Conflicts: # .github/workflows/agentic-token-audit.lock.yml # .github/workflows/agentic-token-optimizer.lock.yml # .github/workflows/daily-cache-strategy-analyzer.lock.yml # .github/workflows/daily-fact.lock.yml # .github/workflows/daily-observability-report.lock.yml # .github/workflows/dev.lock.yml # .github/workflows/duplicate-code-detector.lock.yml # .github/workflows/grumpy-reviewer.lock.yml # .github/workflows/issue-arborist.lock.yml # .github/workflows/necromancer.lock.yml # .github/workflows/schema-feature-coverage.lock.yml # .github/workflows/smoke-call-workflow.lock.yml # .github/workflows/smoke-codex.lock.yml Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in |
|
@copilot lint js https://github.com/github/gh-aw/actions/runs/26799703294/job/79004948151?pr=36358 and update wasm |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in |
The Copilot SDK smoke workflow was failing in the
Execute GitHub Copilot CLIstep because the SDK options payload (promptFile,serverArgs) was not reliably reachingcopilot_harness.cjsstdin. This change also removes harness-level timestamp rendering, since GitHub Actions already timestamps each log line, ensures the SDK package is installed and resolvable at runtime when SDK mode is enabled, and configures SDK BYOK custom-provider settings from AWF/reflectdata.SDK stdin delivery (workflow command generation)
no prompt foundpath when SDK mode is enabled.Copilot SDK installation for SDK mode
@github/copilot-sdkin the workspace root (${GITHUB_WORKSPACE}) usingnpm install --ignore-scripts --no-savebefore running the agent whenengine.copilot-sdk: true.DefaultCopilotSDKVersioninpkg/constants/version_constants.goso the SDK install version is pinned from constants.smoke-copilot-sdk.lock.ymlto include the generated SDK install step.SDK package resolution fix (runtime)
NODE_PATHwith both:${GITHUB_WORKSPACE:-$PWD}/node_modules), andnpm root -g).@github/copilot-sdkis resolvable by harness scripts running from${RUNNER_TEMP}after local workspace installation.SDK custom provider configuration from AWF
/reflectbaseUrl) plus model selection for Copilot SDK sessions.providerandmodelthrough SDK driver session creation (createSession) so SDK mode works in BYOK/offline proxy scenarios instead of failing withSession was not created with authentication info or custom provider.Harness logging cleanup
[copilot-harness] <message>(no inline ISO timestamp).Targeted regression coverage
NODE_PATHsetup for workspacenode_modulesand npm global root.--no-saveinstallation command shape.Changeset\n\n- Type: patch\n- Description: Fix Copilot SDK stdin wiring for the harness, install the Copilot SDK in SDK mode in workspace root without modifying package manifests (
--no-save), improve runtime SDK resolution behavior (including workspace-local module resolution), configure Copilot SDK custom-provider/model from AWF/reflectfor BYOK runs, and remove duplicate harness timestamps.> Generated by 📋 Changeset Generator for issue #36358 · gpt54 796.7K · ◷