Commit 2277b4b
feat: add smoke test for Copilot CLI offline BYOK mode (#2003)
Add a new smoke-copilot-byok workflow that validates the
COPILOT_OFFLINE code path through the AWF api-proxy sidecar.
- Sets COPILOT_API_KEY to a dummy value to trigger AWF's BYOK
detection (COPILOT_OFFLINE=true, COPILOT_PROVIDER_BASE_URL)
- Sidecar authenticates to api.githubcopilot.com using the real
COPILOT_GITHUB_TOKEN — no new secrets required
- Post-step verifies firewall logs show traffic to the expected
Copilot API target
- Compiled with gh-aw v0.68.3 and post-processed for local builds
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 827592b commit 2277b4b
File tree
3 files changed
+1244
-0
lines changed- .github
- aw
- workflows
3 files changed
+1244
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
0 commit comments