feat(service,features): carry a pull request comment's markdown beside GitHub's rendering
Merged
DA
4d ago+29+29+01234567890123456789-10-10-01234567890123456789
What
A PR conversation entry, or a review thread's comment, that GitHub rendered carries html plus an empty body (wordsOf in packages/service/src/github/pull-requests.ts). So a client that draws Markdown alone has nothing to draw, and the iOS app's coming Conversation (STAG-3903) is such a client.
- Wire:
conversationEntrySchemaandreviewThreadCommentSchematake an optionalmarkdownkey. Beside a rendering, it holds the Markdown GitHub rendered from. It's absent wherebodyalready holds the words, where nothing was written, and from an older service. - Service:
wordsOfkeeps the written Markdown asmarkdownwhenever GitHub also sent a rendering.github-people.tsalready spreads the entry's words into the answer, so the key reaches the conversation answer with no other change. - Member MCP: its conversation page cuts an entry's and a thread comment's words from
markdown ?? body. It never forwards both, and it no longer cuts from the emptybodyof a rendered entry. - Compatibility: the key is additive. Released desktop, CLI and iOS builds read past it, and the desktop keeps drawing
html. No version bump is needed.
Checks
vitest run packages/service/src/github/pull-request-overview.test.tspasses. Its two conversation expectations now include themarkdowntheir rendered entries and thread comments carry.turbo run typecheck --filter=@repo/service --filter=@repo/featurespasses, and biome is clean.
š¤ Generated with Claude Code