fix(orders): a take that times out tells the user to try again, while its late reply may still open the trade
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 56/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- backend, internationalization, mobile
Línea de trabajo
Read rust/src/mostro/pending.rs, lib/core/daemon_errors.dart, and the translations referenced in CLAUDE.md § Translations; compare the existing invoice timeout handling from #615. Trace how take_order returns its timeout marker and how the take screen handles it. Done means a pending take has distinct copy in all six locales and offers no retry while it may still land, while final timeouts retain NoDaemonResponse.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Since #570, a take whose daemon reply arrives after the 10 s wait is no longer lost: the late reply lands the trade while the app runs (#566). But take_order still returns NoDaemonResponse at 10 s, and lib/core/daemon_errors.dart maps it to sessionTimeoutMessage: "No response received, check your connection and try again later".
What happens
From a manual test of #570 on regtest, with the take's wait shortened so every reply is late:
- The take screen shows "No response received… try again later".
- A second later the trade is there: the late reply landed it (
rebuilt trade row from take record … (#566)), andTradeActionListeneropens its next screen out of what looked like a failure. - Following the message, the user canceled the trade they did not know they had and took the order again. Had the first take not landed yet, retrying would have hit
CantDo(PendingOrderExists)(#566).
So the copy contradicts the contract (specs/004-mostro-p2p-client/contracts/orders.md: "A timeout is not final, though").
Expected
The same treatment #615 gave invoices: a distinct marker for a take the node has not answered yet (e.g. TakeAwaitingDaemon next to InvoiceAwaitingDaemon in rust/src/mostro/pending.rs), and its own copy in all six locales, along the lines of: "The node has not answered yet. If it accepts your take, the trade will open." No "try again".
NoDaemonResponse keeps its meaning for requests whose timeout is final.
Notes
- Rust returns the marker; Dart maps it (CLAUDE.md § Translations).
- The take screen should not offer a retry while the take may still land.
- Raised in the review of #570 (point 3).
- Lenguaje dominante
- Dart
- Estrellas
- 11
- Forks
- 9
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MostroP2P/app
-
documentation priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
area: ui bug priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
NWC: the pay and buyer-invoice readouts are zero-size, so no accessibility tree carries themAbiertoarea: ui bug priority: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Bug: Button "Share logs" does nothingPosiblemente ocupada @Luquitasjeffrey la tomó hace 8 días. Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
area: rust-core bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de MostroP2P/app
Issues similares
-
Python example: list a model's scenes and their camerasPosiblemente ocupada @rudraparmar76 la tomó hoy. Abiertodocumentation good first issue python
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
iamahsanmehmood/openskp#796 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Plural rendering: first matching part wins, but gen-l10n lets the last one win (=1 shadows one)Abiertobug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
crowdin/flutter-sdk#97 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
MrSpideyNihal/lockfeed#16 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
InlitX/GymMane#529 · 1 comentario ·
Los mantenedores suelen responder en 1 día