Gap e2e random seed: brokenOwner classifies if-false as branch-never-taken, owed indeterminate (main too)

Aberta
#172 0 comentários 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
43/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript
Domínio
devtools, testing

Direção de pesquisa

Start by running the supplied replay command with the reported seed and inspect the gap e2e oracle configuration and the classification law at the "cli" checkpoint. Trace how the brokenOwner fault produces the if-false branch result in src/sut.ts; compare the oracle result with the expected indeterminate classification. Done when the replay no longer reports this difference and the relevant oracle checks pass.

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

Descrição

Random-seed counterexample in the gap report e2e oracle, found on #122's CI (run 5, job 135126725001, head 616dbcc5). It fails the same way on main 97a4e7a when the same history is replayed (the #122 reviewer's pool run, tag r122rev3-*), so it is main's and doesn't block #122 (M-20 / R42).

  • Unit: random seed: a declaration fault: brokenOwner
  • Law: classification, at checkpoint "cli"
  • Difference: src/sut.ts:f0:33:if-false#0: branch-never-taken, owed indeterminate
  • Replay (gap e2e oracle config): ORACLE_SEED=541762753 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a declaration fault: brokenOwner' vitest run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: a declaration fault: brokenOwner$'

Counterexample history, as CI printed it (CI cuts it at 2,000 characters, #81; the full log is on the maintainer's machine at /tmp/r122rev/job5-random1.log):

Counterexample: [{"functions":[[{"kind":"throwIf","message":"assertion"},{__proto__:null,"kind":"nearProbe","variant":"former","op":"!==","k":3},{__proto__:null,"kind":"readData","shape":"primitive"},{__proto__:null,"kind":"probeIf","op":"<","k":4}],[{"kind":"nearProbe","variant":"former","op":"<","k":7},{"kind":"oldProbe"},{"kind":"readData","shape":"array"}]],"containers":["free"],"overloads":[false,true,true],"owners":["a"],"library":[[{__proto__:null,"kind":"dollar"},{"kind":"dollar"},{"kind":"push","quote":"`"}],[{"kind":"if","op":"<=","k":3,"not":true,"quote":"`"}]],"libraryOwners":["none"],"runes":[[{__proto__:null,"kind":"runeDerivedBy"},{__proto__:null,"kind":"runeStateRaw"},{"kind":"runeEffect","rune":"$effect.pre"},{"kind":"runeStateRaw"}]],"derived":{__proto__:null,"params":"plain","field":false,"before":[],"form":"arrow","after":[]},"sourceSpelling":"linked","dotGen":true,"ownsSpelling":"redundant","wholeFile":"none","template":true,"tests":[{__proto__:null,"file":"b","route":"determinism","registered":true,"name":"plain","fn":1,"input":1,"judges":true,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":false,"then":{"route":"case","input":3},"work":null,"timed":false},{__proto__:null,"file":"a","route":"random seed","registered":true,"name":"route","fn":1,"input":0,"judges":false,"law":"L","channel":"expect","flaky":true,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":null,"work":null,"timed":false}],"witness":false,"authored":{"stmt":4,"kind":"apply"},"declaration":"wrapper","ownerless":false,"fault":"brokenOwner","stability":"none","ordinary":true,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":true,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":true,"budget":"one","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"plain","concurrentStart":true,"configFile":"vite.config.js","configPlace":"none","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":[],"exportOwners":["b","b","a"],"importer":"b","midrunBy":"a","midrunTarget":"helper","prePlugin":false,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"none","loadPlugin":false,"rejectBatch":0,"outMode":"explicit","logBlocked":false,"overlap":false,"stopWitness":false,"spawnStop":false,"spawnSignal":"SIGTERM","spawnDelay":161,"spawnOnStart":false,"claimScenario":false,"logLost":false,"supervisorDeath":false,"unsupervised":false,"psMissing":false,"holdOverlap":false,"replyHeld":false,"spinData":true,"siblingDir":false,"hookStops":false,"spinThrows":false,"slowStart":false,"shortWait":false,"absentObjects":["undefined","undefined"],"optionalChains":[{"links":1,"level":3,"call":"none","returns":"object"},{"links":1,"level":0,"call":"optional","returns":"object"},{__proto__:null,"links":1,"level":2,"call":"none","returns":"nothing"},{__proto__:null,"links":1,"level":2,"call":"plain","returns":"object"},{__proto__:null,"links":3,"level":0,"call":"none","returns":"nothing"},{__proto__:null,"links":2,"level":2,"call":"none","returns":"object"},{__proto__:null,"links":3,"level":2,"call":"optional","returns":"object"},{"links":2,"level":1,"call":"plain","returns":"nothing"}]}]

Not related to #107 or #171, which are other brokenOwner failures.

This issue was written by Isaac.

Linguagem predominante
JavaScript
Estrelas
5
Forks
1
Merge médio
11h 18min
PRs com merge (30d)
66

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.