Provide the ability to specify insider build and update tool usage parsing from hooks to stream json - #820
Merged
Conversation
Onat Buyukakkus (onbuyuka)
approved these changes
Aug 28, 2026
Sun Haoran (haoranpb)
added a commit
that referenced
this pull request
Aug 28, 2026
Onat Buyukakkus (onbuyuka)
pushed a commit
that referenced
this pull request
Aug 28, 2026
The merge of #820 (which moved Copilot tool-usage parsing from repo hooks to stream-json and dropped the REPO_HOOKS env) left this branch still setting GITHUB_COPILOT_PROMPT_MODE_REPO_HOOKS=true, which #820's security test (test_copilot_does_not_enable_hooks_memory_or_unrestricted_urls) forbids. Tool usage is now parsed from stdout stream-json via parse_output, so the env is vestigial. Remove it, keeping only WORKSPACE_MCP as on main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: db34a2a0-7035-4361-b911-becb72f86e21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exact generic changes out of #740 , so that PR is more self contained.