Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

DVC: `NOW_RDM_CAPABILITIES` error path sends no response

Abierto
#2,093 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@thenextman ya está trabajando en esto.

Desde el 15/10/2026.

  • #2096 de @thenextman — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
rust
Área
backend

Línea de trabajo

Start at the error arm of NowRdmMessage::Capabilities in devolutions-session/src/dvc/task.rs (around lines 625-633), then trace the Err causes in rdm.rs (process_capabilities, the pre-epoch clock check, and the response construction). Decide whether the failure can be expressed as an app-available-unset response or must close the channel, then add the test CapabilitiesProcessingFailureRespondsOrClosesChannel. Linked PR #2096 is already open against this issue, so check it before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Where: devolutions-session/src/dvc/task.rs:625-633 (error arm of NowRdmMessage::Capabilities); causes at rdm.rs:378-381 (clock before the Unix epoch), rdm.rs:405-407 (response construction).

What happens: when process_capabilities returns Err, the arm logs and sends nothing. The happy path - including "RDM not installed" (rdm.rs:388-416) - always answers with app-available unset, so this only triggers on genuinely odd inputs. The consequence is still permanent: the client's send-order matching is shifted for the rest of the connection.

Ask: always answer or close. If the failure can be represented in the response, respond with app-available unset; otherwise close the channel with an error. Don't leave a usable-looking connection missing a required response.

Test: CapabilitiesProcessingFailureRespondsOrClosesChannel.

Context: Devolutions/now-libraries#115.

Lenguaje dominante
Rust
Estrellas
162
Forks
30
Merge medio
1 d 1 h
PR fusionados (30 d)
53

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Devolutions/devolutions-gateway

Todos los issues de Devolutions/devolutions-gateway

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.