Skip to content

feat: multi-workflow PR comment merging#13

Merged
xseman merged 2 commits intomasterfrom
multi-workflow-comment-merging
Mar 8, 2026
Merged

feat: multi-workflow PR comment merging#13
xseman merged 2 commits intomasterfrom
multi-workflow-comment-merging

Conversation

@xseman
Copy link
Owner

@xseman xseman commented Mar 8, 2026

No description provided.

xseman added 2 commits March 8, 2026 07:32
Split comment.ts into findComment() + upsertComment(existingId) so the
caller can look up the existing comment before building the body.

Add embedCoverageData() / extractCoverageData() to render.ts — tool
reports are stored as base64 JSON inside a hidden HTML comment at the
end of every PR comment body. On each run the action reads the stored
data, merges it with the current tool reports (current run wins on
conflict), and rewrites the comment with updated combined data.

This lets separate workflows (e.g. TypeScript and Go quality checks)
contribute to the same sticky comment without coordination.

Add a GitHub Callout note when at least one tool has no cached baseline,
pointing users to the bootstrapping steps instead of silently showing
empty diff tables.

Update README to v0.3.0 with multi-workflow setup and bootstrapping
documentation.
@xseman xseman merged commit 284b381 into master Mar 8, 2026
6 checks passed
@xseman xseman mentioned this pull request Mar 7, 2026
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