`rfd-cli reserve` is slow / can timeout
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
- 45/100
Línea de trabajo
Start by tracing the rfd-cli reserve request to the endpoint that finds and reserves the next RFD number, then inspect the REST pagination and timeout settings mentioned in the issue. Compare the proposed timeout, GraphQL, and asynchronous approaches; the issue leaves the solution open. Done means reserve completes without a timeout and the caller can obtain the new RFD number.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I attempted to use rfd-cli reserve and got a timeout:
% rfd-cli reserve --title "Code of Conduct"
Communication Error: error sending request for url (https://rfd-api.shared.oxide.computer/rfd)
This is because the rfd-cli timeout is set to 10seconds and gave up before the work was completed on the backend. It succeeded successfully, but I had to go lookup my own new RFD number.
There are a couple ways we could improve this
- increase the default rfd-cli timeout (current 10secs; job took just under 15seconds today)
- switch from octorust REST pagination of all ~600 branch names (six pages; 6.2seconds) to GraphQL ordered by branch name descending (first page; ~1second)
- make the endpoint async: splitting the find from the subsequent commit & push (3.3secs) returning the new RFD number early to the caller.
- Lenguaje dominante
- Rust
- Estrellas
- 98
- Forks
- 23
- Merge medio
- 17 h 47 min
- PR fusionados (30 d)
- 13
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 oxidecomputer/rfd-api
-
rfd-api.shared.oxide.computer: DB-backed endpoints failing (all logins + anonymous RFD reads)Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 12/100
oxidecomputer/rfd-api#621 ·
Los mantenedores suelen responder en 1 día
-
Upgrade to newer RubyAbierto
Dificultad 4/5 1-2 días Aptitud para principiantes 43/100
oxidecomputer/rfd-api#578 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
oxidecomputer/rfd-api#467 ·
Los mantenedores suelen responder en 1 día
-
Manage concurrent RFD handlingAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
oxidecomputer/rfd-api#429 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
oxidecomputer/rfd-api#368 · 1 comentario · 2 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de oxidecomputer/rfd-api
Issues similares
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedAbiertounconfirmed possible issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jerney-nexus/epikrise#364 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Yeachan-Heo/gajae-code#8058 ·
Los mantenedores suelen responder en 1 día
-
bug daemon
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día