diff
May 24, 08:28 PMdiff-artifact/v1{
"artifact": {
"files": [
{
"path": "apps/web/packages/shared/test/github/firmcodeai-activity.spec.ts",
"hunks": [
{
"lines": [
{
"type": "context",
"content": " it(\"renders a branded summary activity comment\", () => {",
"newLineNumber": 9,
"oldLineNumber": 9
},
{
"type": "context",
"content": " const markdown = renderFirmcodeAiSummaryActivity({",
"newLineNumber": 10,
"oldLineNumber": 10
},
{
"type": "context",
"content": " reviewRunId: \"run-1\",",
"newLineNumber": 11,
"oldLineNumber": 11
},
{
"type": "deletion",
"content": " repositoryFullName: \"kelly-oriabure/firmcode-tester\",",
"newLineNumber": null,
"oldLineNumber": 12
},
{
"type": "addition",
"content": " repositoryFullName: \"kelly-oriabure/firmcode-web\",",
"newLineNumber": 12,
"oldLineNumber": null
},
{
"type": "context",
"content": " pullRequestNumber: 13,",
"newLineNumber": 13,
"oldLineNumber": 13
},
{
"type": "context",
"content": " headSha: \"5ccce2d5f1b0e7bedd6239418c39bb28740b741e\",",
"newLineNumber": 14,
"oldLineNumber": 14
},
{
"type": "context",
"content": " summaryBody: \"This PR changes Semgrep scan workspace behavior.\",",
"newLineNumber": 15,
"oldLineNumber": 15
}
],
"newStart": 9,
"oldStart": 9,
"newLineCount": 7,
"oldLineCount": 7,
"sectionHeader": "describe(\"FirmcodeAI GitHub activity Markdown\", () => {"
},
{
"lines": [
{
"type": "context",
"content": " it(\"matches the summary Markdown snapshot\", () => {",
"newLineNumber": 46,
"oldLineNumber": 46
},
{
"type": "context",
"content": " const markdown = renderFirmcodeAiSummaryActivity({",
"newLineNumber": 47,
"oldLineNumber": 47
},
{
"type": "context",
"content": " reviewRunId: \"run-snapshot\",",
"newLineNumber": 48,
"oldLineNumber": 48
},
{
"type": "deletion",
"content": " repositoryFullName: \"kelly-oriabure/firmcode-tester\",",
"newLineNumber": null,
"oldLineNumber": 49
},
{
"type": "addition",
"content": " repositoryFullName: \"kelly-oriabure/firmcode-web\",",
"newLineNumber": 49,
"oldLineNumber": null
},
{
"type": "context",
"content": " pullRequestNumber: 21,",
"newLineNumber": 50,
"oldLineNumber": 50
},
{
"type": "context",
"content": " headSha: \"5ccce2d5f1b0e7bedd6239418c39bb28740b741e\",",
"newLineNumber": 51,
"oldLineNumber": 51
},
{
"type": "context",
"content": " summaryBody: \"This PR updates webhook ingestion and review publishing.\",",
"newLineNumber": 52,
"oldLineNumber": 52
}
],
"newStart": 46,
"oldStart": 46,
"newLineCount": 7,
"oldLineCount": 7,
"sectionHeader": "describe(\"FirmcodeAI GitHub activity Markdown\", () => {"
}
],
"patch": "@@ -9,7 +9,7 @@ describe(\"FirmcodeAI GitHub activity Markdown\", () => {\n it(\"renders a branded summary activity comment\", () => {\n const markdown = renderFirmcodeAiSummaryActivity({\n reviewRunId: \"run-1\",\n- repositoryFullName: \"kelly-oriabure/firmcode-tester\",\n+ repositoryFullName: \"kelly-oriabure/firmcode-web\",\n pullRequestNumber: 13,\n headSha: \"5ccce2d5f1b0e7bedd6239418c39bb28740b741e\",\n summaryBody: \"This PR changes Semgrep scan workspace behavior.\",\n@@ -46,7 +46,7 @@ describe(\"FirmcodeAI GitHub activity Markdown\", () => {\n it(\"matches the summary Markdown snapshot\", () => {\n const markdown = renderFirmcodeAiSummaryActivity({\n reviewRunId: \"run-snapshot\",\n- repositoryFullName: \"kelly-oriabure/firmcode-tester\",\n+ repositoryFullName: \"kelly-oriabure/firmcode-web\",\n pullRequestNumber: 21,\n headSha: \"5ccce2d5f1b0e7bedd6239418c39bb28740b741e\",\n summaryBody: \"This PR updates webhook ingestion and review publishing.\",",
"status": "modified",
"language": "typescript",
"additions": 2,
"deletions": 2,
"sizeBytes": 3303,
"previousPath": null,
"changedNewLines": [
12,
49
],
"headContentSha256": "cc8c60fb876b9f8464c4394cce024c82d49c06bd43c9cebfc10067e358b18c72"
}
],
"baseSha": "3842c30b4d994677c967ca52b66e610dc25359c6",
"headSha": "e951e8416916639aab3308bd3132d5fead494b9f",
"reviewRunId": "6085d149-6049-42b7-b73c-3ef45985f9bd",
"skippedFiles": [
{
"path": "apps/web/packages/shared/test/github/__snapshots__/firmcodeai-activity.spec.ts.snap",
"detail": "File extension is not enabled yet.",
"reason": "unsupported",
"status": "modified",
"previousPath": null,
"excludedFromSemgrep": true,
"excludedFromLlmContext": true,
"excludedFromTreeSitter": true
}
],
"schemaVersion": "diff-artifact/v1",
"pullRequestNumber": 82,
"repositoryFullName": "firmcloudapps/firmcode-tester"
}
}treesitter
May 24, 08:28 PMtree-sitter-artifact/v1{
"artifact": {
"files": [
{
"path": "apps/web/packages/shared/test/github/firmcodeai-activity.spec.ts",
"errors": [],
"parser": "tree-sitter-typescript",
"imports": [
{
"line": 1,
"source": "vitest",
"symbols": [
"describe",
"expect",
"it"
]
},
{
"line": 2,
"source": "../../src",
"symbols": [
"FIRMCODEAI_SUMMARY_COMMENT_MARKER",
"isFirmcodeAiActivityComment",
"renderFirmcodeAiSummaryActivity"
]
}
],
"symbols": [],
"hasError": false,
"language": "typescript",
"hunkScopes": [
{
"path": "apps/web/packages/shared/test/github/firmcodeai-activity.spec.ts",
"hunkNewEnd": 15,
"hunkNewStart": 9,
"enclosingSymbol": null
},
{
"path": "apps/web/packages/shared/test/github/firmcodeai-activity.spec.ts",
"hunkNewEnd": 52,
"hunkNewStart": 46,
"enclosingSymbol": null
}
],
"parseStatus": "parsed",
"errorNodeCount": 0,
"missingNodeCount": 0
}
],
"reviewRunId": "6085d149-6049-42b7-b73c-3ef45985f9bd",
"parserVersion": "0.25.2",
"schemaVersion": "tree-sitter-artifact/v1"
}
}