Migrate prompt grader from raw copilot.Client to CopilotEngine#55
Migrate prompt grader from raw copilot.Client to CopilotEngine#55richardpark-msft with Copilot wants to merge 3 commits into
Conversation
|
@copilot , Rebase this PR against main and redo your changes - quite a bit has changed, mostly in tests. |
Co-authored-by: richardpark-msft <51494936+richardpark-msft@users.noreply.github.com>
f7b994a to
fd72379
Compare
|
@copilot , Rebase this PR against main and redo your changes - quite a bit has changed, mostly in tests. |
…tart() timeout deadlock Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Done in 8daa72c. The branch is now based on current main. Changes include:
|
|
@copilot, let's give this a shot again.
|
Done — the migration is complete in 8daa72c. What changed:
All tests pass locally. |
Co-authored-by: richardpark-msft <51494936+richardpark-msft@users.noreply.github.com>
spboyer
left a comment
There was a problem hiding this comment.
Rusty (Opus 4.6) — Incomplete CI
Last commit: \Changes before error encountered\ (March 4) — this commit message suggests the work was interrupted. Only the CLA check has run; the full Go CI matrix (Build+Test, Lint) hasn't triggered.
Action needed: Complete the work, ensure all files are committed, push a clean commit to trigger CI. The commit message also needs to be cleaned up.
|
Resolved merge conflict with main and verified tests pass. |
copilot/migrate-copilot-client-usagewith 2 previous commitsExecutionRequest.Tools []copilot.Tool— new field for custom tool handlersCopilotEngine.Execute()— lazyStart()viastartOnce.Do, bounded byreq.Timeout; forwardsreq.Toolsto session configsCopilotEngine.Initialize()— no-op (pre-flight ctx check only); fixesTestCopilotExecute_StartRespectsTimeoutregressiongradeIndependent/runPairwiseOnce— useCopilotEngine(Initialize → Execute → deferred Shutdown)TestUsingPreviousSessionID— usesCopilotEngine.Executeto seed session; capturesresp.SessionIDgo test ./...)Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.