-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: update runtime to 1.0.15-2, re-enable postToolUse hook tests #978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,8 +48,7 @@ describe("Session hooks", async () => { | |
| await session.disconnect(); | ||
| }); | ||
|
|
||
| // TODO: Re-enable once runtime postToolUse hooks are fixed (https://github.com/github/copilot-sdk/issues/972) | ||
| it.skip("should invoke postToolUse hook after model runs a tool", async () => { | ||
| it("should invoke postToolUse hook after model runs a tool", async () => { | ||
| const postToolUseInputs: PostToolUseHookInput[] = []; | ||
|
|
||
| const session = await client.createSession({ | ||
|
Comment on lines
+51
to
54
|
||
|
|
@@ -80,8 +79,7 @@ describe("Session hooks", async () => { | |
| await session.disconnect(); | ||
| }); | ||
|
|
||
| // TODO: Re-enable once runtime postToolUse hooks are fixed (https://github.com/github/copilot-sdk/issues/972) | ||
| it.skip("should invoke both preToolUse and postToolUse hooks for a single tool call", async () => { | ||
| it("should invoke both preToolUse and postToolUse hooks for a single tool call", async () => { | ||
| const preToolUseInputs: PreToolUseHookInput[] = []; | ||
| const postToolUseInputs: PostToolUseHookInput[] = []; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When bumping
@github/copilothere, the repo’s dependency-update workflow also updatestest/harnessand refreshesnodejs/sampleslockfile. Right nowtest/harness/package.jsonis still pinned to^1.0.14-0andnodejs/samples/package-lock.jsonstill records an older@github/copilotrange for thefile:..dependency; that can leave parts of the repo on different runtime/type versions and can makenpm ciin those dirs fail due to lockfile drift. Please updatetest/harness(package.json + lock) and regeneratenodejs/samples/package-lock.jsonas part of this runtime bump.