Skip to content

Added webhook enhancements#36

Merged
DawnDevelop merged 4 commits intomainfrom
feature/webhook_enhancement
Nov 17, 2025
Merged

Added webhook enhancements#36
DawnDevelop merged 4 commits intomainfrom
feature/webhook_enhancement

Conversation

@DawnDevelop
Copy link
Copy Markdown
Owner

Pull Request

Description

Brief description of changes made in this PR.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Test

Testing

  • Unit tests pass
  • Manual testing completed
  • No breaking changes (or breaking changes documented)

Checklist

  • Code follows project standards
  • Self-review completed
  • Tests added/updated (if applicable)
  • Documentation updated (if applicable)

Related Issues

  • Fixes #(issue number)
  • Closes #(issue number)

@DawnDevelop DawnDevelop merged commit 1bf21c7 into main Nov 17, 2025
3 of 4 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +455 to +457
GitPullRequestCommentThread threadResult = threadId.HasValue
? await gitClient.UpdateThreadAsync(
thread, projectName, repositoryName, pullRequestId, threadId.Value)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant