()
| 159 | } |
| 160 | |
| 161 | function isInCooldown() { |
| 162 | const state = readState(); |
| 163 | if (!state.lastPRAt) return false; |
| 164 | const elapsed = Date.now() - new Date(state.lastPRAt).getTime(); |
| 165 | return elapsed < SELF_PR_COOLDOWN_MS; |
| 166 | } |
| 167 | |
| 168 | function computeDiffHash(changedFiles, repoRoot) { |
| 169 | const diffParts = []; |
no test coverage detected