Added webhook enhancements#36
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| GitPullRequestCommentThread threadResult = threadId.HasValue | ||
| ? await gitClient.UpdateThreadAsync( | ||
| thread, projectName, repositoryName, pullRequestId, threadId.Value) |
There was a problem hiding this comment.
Use comment creation when replying to Azure DevOps threads
When a threadId is supplied, CreateCommentAsync now calls UpdateThreadAsync with a new comment body. Azure DevOps’ thread update endpoint only patches thread metadata and does not create new comments, so this path will silently drop the reply instead of posting it to the existing thread. Any webhook answer or inline response targeting an existing thread will therefore never be visible. Use the per-thread comment creation API when replying.
Useful? React with 👍 / 👎.
Pull Request
Description
Brief description of changes made in this PR.
Type of Change
Testing
Checklist
Related Issues