Self-oracle counterexample: timeout presentation not exercised (seed 569029462)

Aberta
#51 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
22/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript
Domínio
testing

Direção de pesquisa

The failure is the self-oracle.framework property, unit random seed: generated, law timeout at checkpoint child, replayed with seed 569029462 and the ORACLE_PATH given in the issue, run through vitest with a -t name filter. Start by reproducing that single replay and reading how the generator builds the timeout step. Done means either the generator stops producing histories whose timeout cannot fire, or the timeout presentation is shown to be exercised, or the trace is recorded in the coverage map.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

A random-seed run of the framework self-oracle on main found a counterexample that fails law timeout. This happened after #31 (e2af13a).

  • Run: PR #47's first CI run, "Framework self-oracle (8/8)". #47 changes only how CI splits the tests into jobs. A rerun with a new seed passed.
  • Unit: self-oracle.framework > random seed: generated
  • Violation: checkpoint "child", law timeout.
  • Difference: "timeout presentation was not exercised"
  • Replay:
    ORACLE_SEED=569029462 ORACLE_PATH=1:0:0:0:0:0:0:0:0:0:0:0:0:0:2:1:1:1:1:1:1:1:1:1:1:1:1:4 ORACLE_PROPERTY='self-oracle.framework' ORACLE_UNIT='random seed: generated' vitest run -t '^self-oracle\.framework(?: | > )random seed: generated$'
    

A generated history appears to declare a timeout presentation that its run never reaches. Either the grammar generates a history whose timeout cannot fire, or the timeout path does not present as the model owes. Fix it oracle-first, or record it in the coverage map with this trace.

This issue was written by Isaac.

Linguagem predominante
JavaScript
Estrelas
5
Forks
1
Merge médio
8h 31min
PRs com merge (30d)
60

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TanStack/oracles

Todas as issues de TanStack/oracles

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.