[Feat] Include CI status in PR review feedback thread replies - #162
Merged
mrubens merged 6 commits intoJul 11, 2026
Merged
Conversation
Append a short current CI sentence to PR review feedback posts so chat threads show green, running, or failed check context.
Keep CI status fetch and types internal so pre-push knip stays clean.
Contributor
Author
|
No new code issues found. The latest change keys CI check dedup on the full check/context name and merges same-name collisions by severity, so distinct checks that share a leaf segment (for example
|
Contributor
Author
|
Addressed the remaining review finding in 5da96a7. CI check lines are now deduped by the full check/context name (so |
Do not treat pending+empty classic statuses as still-running, so green check runs report CI is green.
Stop appending a hardcoded CI sentence. Pass overall status and any failed check name into the triage prompt so the LLM can include CI context in natural message wording.
Give the notification LLM one line per check (name: status) instead of an overall status rollup, using Actions check runs and classic statuses.
Key CI check dedupe by the full check/context name so `CI / Lint` and `Docs / Lint` both stay in LLM context, preferring more severe status on same-name collisions.
mrubens
marked this pull request as ready for review
July 11, 2026 04:46
mrubens
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
July 11, 2026 04:46
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.
Important
Roomote does not generally accept unsolicited community pull requests. Unless a maintainer invited this PR in an issue or discussion, it will likely be closed without review. A well-written issue is the best way to contribute.
Related issue
Internal request from Slack (PR review notification thread).
Why this PR exists
What changed
When Roomote posts PR review feedback into the originating chat thread (Slack, Teams, or Telegram), the triage LLM that writes that message now receives the live CI check state for the PR head.
CI is fetched from GitHub check runs plus classic combined commit status and passed into the prompt as structured context (
CI overall status, and a failed check name when relevant). Empty classic status lists (pending+total_count: 0, the Actions-only case) are treated as unavailable so green check runs are not overridden. The model is instructed to weave one short natural CI sentence into the notification when that context is present, rather than hardcoding an appended sentence after the summary.How it was tested
pr-review-notification-delivery.test.tspnpm exec dotenvx run -f .env.test -- pnpm --filter @roomote/sdk exec vitest run src/server/lib/task-runs/__tests__/pr-review-notification-delivery.test.tsChecklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changeset