fix(smoke): run AOAI api-key smoke pre-step in activation job so prompt step outputs resolve#4540
fix(smoke): run AOAI api-key smoke pre-step in activation job so prompt step outputs resolve#4540Copilot wants to merge 4 commits into
Conversation
|
@copilot instead of this, couldn't we just move Also remove unrelated otel test fix. |
Done. Moved the One note: since the activation job is a separate runner from the agent job, the file-write test's file no longer exists on the agent side, so I changed test #3 to have the agent write+read its own scratch file in Also removed the unrelated smoke-otel-tracing change. (49bf...) |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
Smoke Test: Claude Engine ✅
Total: PASS
|
Smoke Test Results: Copilot BYOK (Direct) ModeRecent PRs (MCP): #4544, #4543 ✅ Status: PASS — Direct BYOK mode active via Reviewers:
|
🔬 Smoke Test ResultsPR: Move AOAI api-key smoke pre-step into the activation job so step outputs resolve in the prompt
Overall: FAIL — template variables
|
|
Move AOAI api-key smoke pre-step into the activation job so step outputs resolve in the prompt MCP connectivity: ✅ Running in direct BYOK mode (AWF_AUTH_TYPE=github-oidc + AWF_AUTH_AZURE_* + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI authenticated via Microsoft Entra Overall: PASS cc Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "api.openai.com"See Network Configuration for more information.
|
Smoke Test Results
Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) Overall: PASS cc
|
|
@copilot suggest PR title |
Smoke Test: GitHub Actions Services Connectivity
Overall: FAIL
|
Suggested PR title:
A few shorter alternatives:
|
Smoke Test Results
Overall Status: FAIL PR titles (partial from git log):
Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
|
@copilot resolve the merge conflicts in this pull request |
…ion-run # Conflicts: # .github/workflows/smoke-copilot-byok-aoai-apikey.lock.yml
Resolved the merge conflict in 890466d. The only conflict was in |
The
smoke-copilot-byok-aoai-apikeyworkflow fed pre-computed test data into the agent prompt via${{ steps.smoke-data.outputs.* }}, which doesn't resolve across the activation→agent job split — leaving the prompt with empty PR data, HTTP code, and file-content placeholders. The root cause is that thesmoke-datastep compiled into the agent job, while the prompt is rendered in the activation job.Changes
smoke-datato the activation job — thePre-compute BYOK smoke test datastep is now declared underjobs.activation.pre-steps, so it runs in the same built-in job where the prompt is created. As a result${{ steps.smoke-data.outputs.* }}resolves correctly. The step keeps itsid: smoke-dataand continues to emitSMOKE_PR_DATA,SMOKE_HTTP_CODE,SMOKE_FILE_CONTENT, andSMOKE_FILE_PATHvia$GITHUB_OUTPUT.${{ steps.smoke-data.outputs.* }}expressions directly (no filecat-ing handoff)./tmp/gh-aw/agent/to exercise sandbox file I/O, while the pre-step's write/read result is still surfaced throughSMOKE_FILE_CONTENT.scripts/ci/postprocess-smoke-workflows.ts; the.lock.ymlplaces the step in theactivationjob ahead of the prompt-creation step and retains--build-local.