comp_req__kvs__value_get_api says get value returns the default value, but the team agreed it does not
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 86/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- documentation
Línea de trabajo
El requisito se llama comp_req__kvs__value_get_api; la issue no indica su archivo. Empieza buscando ese requisito en el repositorio y lee su texto actual junto con el comportamiento descrito para Kvs::GetValue y Rust get_value. Actualiza el requisito para que coincida con el acuerdo indicado por el equipo y luego confirma que ya no dice que get value devuelve el valor predeterminado cuando no se ha escrito una clave.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
The requirement comp_req__kvs__value_get_api says:
if a key was never written, get value returns its default value.
The team agreed on something else: get value returns an error, and the user reads the default value with get default value.
Both implementations work the way the team agreed. Please change the requirement text.
comp_req__kvs__value_get_api: The component shall provide a capability to retrieve the in-memory value associated with a key, returning the default value (see comp_req__kvs__value_default) when the key has not been explicitly written.
How it works today
If a key was never written, get value returns the error KeyNotFound.
This is also true when the key has a default value.
To get the default value, the user calls get default value.
C++ (Kvs::GetValue in score/kvs/kvs.cpp) and Rust (get_value in score/kvs/rust_kvs/kvs.rs) both work like this.
History
#417 (2026-09-18): removed the default value from get value in C++ and Rust
#383 (2026-10-02): in a review, Piotr asked if get value should return the default value. umaucher answered that the team agreed in the FT meeting that it should not: "the 'normal' get is not defining any error handling and the 'user' needs to decide ... so e.g. requesting the default instead".
#541 (2026-10-23): added the current requirement text. It brings the default value back, so it does not match #417 or the agreement.
Acceptance Criteria
Requirtement text should match the team agreement
- Lenguaje dominante
- Python
- Estrellas
- 6
- Forks
- 49
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 63
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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 eclipse-score/reference_integration
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
eclipse-score/reference_integration#460 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
eclipse-score/reference_integration#430 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
eclipse-score/reference_integration#494 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
eclipse-score/reference_integration#458 ·
Los mantenedores suelen responder en 1 día
-
os_images as a dev dependencyQuizá libre de nuevo @odra la tomó hace 43 días y no hay ningún pull request abierto. Abierto
eclipse-score/reference_integration#409 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de eclipse-score/reference_integration
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
available bug good first issue tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Nixitov/Riptide-Native#816 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
SpikeInterface/spikeinterface#5008 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
teng-lin/notebooklm-py#2593 ·
Los mantenedores suelen responder en 1 día
-
claimed-by:collie role:small-fix status:running
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Beovulfo/herd-sdlc#325 · 1 comentario ·
Los mantenedores suelen responder en 1 día