Skip to content

Conversation

@OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Jan 19, 2026

This makes it easier to add JSON-format as the output for issues. Console formatter will be changed next.

@OrKoN OrKoN requested a review from nattallius January 19, 2026 09:36
context?: McpContext,
): string {
const aggregatedIssue = msg.item;
if (aggregatedIssue) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe let's have the same check for issues message type as in formatConsoleEventShort fro consistency
msg.type === 'issue' && msg.item

if (affectedResources.length) {
bodyParts.push('### Affected resources');
}
bodyParts.push(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe it makes sense to move this block inside if (affectedResources.length) { ...} cause it only make sense if there are resources to process. And it keeps the related logic together

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.

2 participants