Commit ea310d6
authored
On branch edburns/resolve-fake-test-time-token-failures
modified: src/test/java/com/github/copilot/sdk/E2ETestContext.java
modified: src/test/java/com/github/copilot/sdk/ExecutorWiringTest.java
Given that the live API was never used, I see no reason why we should condition the setting of fake tokens on the runtime environment (CI vs local).
The replaying proxy intercepts everything regardless of environment. The fake token just satisfies the CLI's startup check — it's never sent to a real API. The `GITHUB_ACTIONS` guard is unnecessary and is what broke local runs.
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>1 parent 43f8dfb commit ea310d6
2 files changed
Lines changed: 6 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 273 | | |
281 | 274 | | |
| 275 | + | |
| 276 | + | |
282 | 277 | | |
283 | 278 | | |
284 | 279 | | |
| |||
291 | 286 | | |
292 | 287 | | |
293 | 288 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
| 289 | + | |
301 | 290 | | |
302 | 291 | | |
303 | 292 | | |
| |||
321 | 310 | | |
322 | 311 | | |
323 | 312 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 313 | + | |
328 | 314 | | |
329 | 315 | | |
330 | 316 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 90 | + | |
| 91 | + | |
96 | 92 | | |
97 | 93 | | |
98 | 94 | | |
| |||
0 commit comments