feat: upsert act-board issues and blocker sub-issues - #70
Conversation
Generate deterministic rule issue bodies and sync them to act-board by [ruleId], including cross-repo Blocker sub-issues. Co-authored-by: Cursor <cursoragent@cursor.com>
PR Review: #70 — feat: upsert act-board issues and blocker sub-issuesAuthor: WilcoFiers | Base: main ← issue-63-act-board-upsert | Changes: +964 / -1 SummaryThis PR adds Findings
Finding 1 of 5 — Important
Finding 2 of 5 — Suggestions
Finding 3 of 5 — Suggestions
Finding 4 of 5 — Suggestions
Finding 5 of 5 — Suggestions
Recommended Action: Request ChangesIssue #63 behavior is otherwise in good shape (prefix upsert, disclaimer, close deprecated/removed, mocked skip/close/sub-issue tests, lowest-id parent with body listing on every match, no project fields). The Important 404 on every Community Group rule-file link should be fixed before merge; the rest can land as follow-ups. |
- Link Community Group rule files by their real `slug-ruleId.md` filename, now persisted on `RuleApprovalRow`. - Escape Markdown link delimiters and collapse whitespace in issue titles and commit subjects. - Compare issue bodies after normalizing CRLF and trailing whitespace. - Only count an issue as skipped when its sub-issues also matched. - Prefer an open board issue over a lower-numbered closed one per rule id and close the remaining duplicates. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
[ruleId].Blockerissues as cross-repo sub-issues (addSubIssue/removeSubIssue), attaching a shared blocker under the lowest matching rule id only while still listing it in every matching body.Test plan
yarn test(includes mocked act-board upsert tests)yarn approval-reportthenGITHUB_TOKEN=... yarn upsert-act-board --input approval-report.jsonagainstact-rules/act-boardMade with Cursor