hotfix(ci): clean up ai review reruns and logging

This commit is contained in:
Tam Nhu Tran
2026-04-02 00:31:51 -04:00
parent 5b9427f8a0
commit f47e7ae5a7
3 changed files with 8 additions and 6 deletions
@@ -52,5 +52,11 @@ describe('ai-review workflow', () => {
'${{ steps.review-packet.outputs.packet_included_files }}'
);
expect(directReviewStep?.env?.AI_REVIEW_REQUEST_BUFFER_MS).toBe(45000);
const publishStep = steps.find((step) => step.name === 'Publish review comment');
expect(publishStep).toBeDefined();
expect(String(publishStep?.env?.REVIEW_MARKER)).toContain('pr:${{ needs.prepare.outputs.pr_number }}');
expect(String(publishStep?.env?.REVIEW_MARKER)).toContain('sha:${{ needs.prepare.outputs.head_sha }}');
expect(String(publishStep?.env?.REVIEW_MARKER)).not.toContain('run:${{ github.run_id }}');
});
});