comp_req__kvs__value_get_api says get value returns the default value, but the team agreed it does not
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 1/5
- Tempo estimado
- Menos de uma hora
- Facilidade para iniciantes
- 86/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Domínio
- documentation
Direção de pesquisa
O requisito se chama comp_req__kvs__value_get_api; a issue não identifica o arquivo. Comece pesquisando esse requisito no repositório e leia o texto atual junto com o comportamento descrito para Kvs::GetValue e Rust get_value. Atualize o requisito para corresponder ao acordo da equipe mencionado e, em seguida, confirme que ele não diz mais que get value retorna o valor padrão quando uma chave não foi gravada.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 6
- Forks
- 49
- Merge médio
- 1d 21h
- PRs com merge (30d)
- 63
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de eclipse-score/reference_integration
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
eclipse-score/reference_integration#460 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
eclipse-score/reference_integration#430 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
eclipse-score/reference_integration#494 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
eclipse-score/reference_integration#458 ·
Mantenedores costumam responder em até 1 dia
-
os_images as a dev dependencyTalvez livre de novo @odra assumiu há 43 dias e não há nenhum pull request aberto. Aberta
eclipse-score/reference_integration#409 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de eclipse-score/reference_integration
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
available bug good first issue tooling
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Nixitov/Riptide-Native#816 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
SpikeInterface/spikeinterface#5008 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
teng-lin/notebooklm-py#2593 ·
Mantenedores costumam responder em até 1 dia
-
claimed-by:collie role:small-fix status:running
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Beovulfo/herd-sdlc#325 · 1 comentário ·
Mantenedores costumam responder em até 1 dia