Skip to content

feat: expose PR comment id on build API - #240

Merged
vigneshrajsb merged 2 commits into
mainfrom
vb/expose-pr-comment-id
Aug 28, 2026
Merged

feat: expose PR comment id on build API#240
vigneshrajsb merged 2 commits into
mainfrom
vb/expose-pr-comment-id

Conversation

@vigneshrajsb

Copy link
Copy Markdown
Contributor

What

Adds commentId to the pullRequest object returned by GET /api/v2/builds/{uuid}.

Why

The UI wants to let users jump straight from a build to Lifecycle's status comment on the PR. That comment's GitHub ID is already tracked on the pull_requests table but wasn't exposed over the API.

Verifying Changes

  • Lint and targeted unit tests pass on the changed files.
  • No API behavior change beyond the additional (nullable) field.

Adds commentId to the pullRequest object returned by GET /api/v2/builds/{uuid}
so clients can link directly to Lifecycle's mission control comment on GitHub.
Also marks commentId required (nullable) in the OpenAPI schema,
matching how other always-selected nullable columns are documented.
@vigneshrajsb
vigneshrajsb marked this pull request as ready for review August 28, 2026 18:05
@vigneshrajsb
vigneshrajsb requested a review from a team as a code owner August 28, 2026 18:05
@vigneshrajsb
vigneshrajsb merged commit 2912aa8 into main Aug 28, 2026
5 checks passed
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