Commit 4cc027f
docs(server): explain why the seed's issue idempotency key is not revision-scoped
Cloud's reconcile runs off portfolio fetches, which can overlap, so two
pushes of the same revision can race. The idempotency key on the first
task is what makes that safe. It is deliberately company-scoped rather
than revision-scoped, so that a later revision still dedupes against
whatever the first push created if the recorded issue id is lost. That
reasoning was not obvious from the call site.
Co-authored-by: Paperclip <noreply@paperclip.ing>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent d66f435 commit 4cc027f
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
236 | 241 | | |
237 | 242 | | |
238 | 243 | | |
| |||
0 commit comments