fix(orchestrator): prevent concurrent double-run duplicating messages; reflect errors in status
This commit is contained in:
@@ -78,6 +78,14 @@ bash scripts/e2e.sh
|
||||
# or: make e2e
|
||||
```
|
||||
|
||||
## Known limitations
|
||||
|
||||
Deduplication key is `UNIQUE(account_id, message_key)` **without folder**. If
|
||||
the same message appears in multiple source folders (e.g. Gmail `INBOX` +
|
||||
`[Gmail]/All Mail` + labels-as-folders), it is copied only into whichever
|
||||
destination folder is processed first; folder placement for such duplicated
|
||||
messages is not guaranteed. This is intentional per the design spec.
|
||||
|
||||
## Architecture
|
||||
|
||||
- `cmd/server` — entrypoint: runs DB migrations, then serves HTTP.
|
||||
|
||||
Reference in New Issue
Block a user