Writing to Comma Drive reports success but the file is immediately unreadable
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend
Direzione di ricerca
Start by tracing the fs.write_file and fs.copy_file entry points alongside drive.status, then reproduce the write/read sequence against Comma Drive. Check where a successful result is returned relative to the hosted copy accepting the file. Done means failed publishing is surfaced as an error instead of success; verify with fs.stat_file or fs.read_file after writing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
drive.status reports the Drive is reachable and writable:
{"available": true, "writable": true, ...}
Writes then return a success result, but reading the same path back immediately fails.
Steps to reproduce
drive.status→ reportsavailable: true, writable: true.fs.write_fileto/drive/Comma-MCP-bindings.mdwith 2,949 bytes of text → tool result:wrote 2949 bytes to /drive/Comma-MCP-bindings.md.fs.stat_fileon the same path →error: no such file: /drive/Comma-MCP-bindings.md.fs.read_fileon the same path → sameno such fileerror.
Not specific to that file: a 28-byte ASCII test file (/drive/drive-write-test.txt) behaved identically, and fs.copy_file from the workspace to /drive/... also returned copied ... while the destination stayed unreadable. A filename containing non-ASCII characters made no difference.
Earlier failure mode
A day earlier the same path failed loudly instead — Comma Drive is temporarily unavailable and a 30s timeout, across 5 attempts. The current behaviour is silent, which is worse: an agent that trusts the write result reports "saved to your Drive" to the user while nothing landed.
Why this matters
A false success is not recoverable by the caller. Verification requires an immediate read-back after every write, which shouldn't be the caller's job — and when the read-back fails there's no error to show, just a file that isn't there.
Question
Is a write meant to be acknowledged only after the hosted copy accepts it? If publishing can fail asynchronously, could the write tool surface that rather than returning success?
Environment
- Comma desktop app, Windows (reproduced on two machines in the same workspace).
- Recurring writes from a workspace agent through
drive.status,fs.write_file,fs.copy_file,fs.stat_file,fs.read_file. - Observed 2026-11-03, around 04:56 UTC and 06:02 UTC.
- I didn't record the client build; happy to supply it if useful.
- Lingua principale
- Elixir
- Stelle
- 740
- Fork
- 61
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AFK-surf/Comma
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quotaForse già presa @akumatus l’ha presa 10 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Tutte le issue di AFK-surf/Comma
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
intellij-elixir/intellij-elixir#4938 ·
I maintainer di solito rispondono entro 1 giorno
-
Attribute selectors match elements without the attribute; [x^=''] matches everythingForse già presa @bardrop l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
expert-lsp/expert#1040 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
ash-project/ash_mysql#278 · 2 commenti ·
-
L: github:actions L: javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
dependabot/dependabot-core#17100 ·
I maintainer di solito rispondono entro 2 giorni