Skip to content

random seed: a declaration fault: brokenOwner: a drawn history does not enter 'blocked by brokenOwner' (seed -1269403528), on main too #107

Open

Description

@KyleAMathews

Summary

The random unit random seed: a declaration fault: brokenOwner found a counterexample in CI on PR #90 (head cd8e0f9, job Gap report end-to-end oracle (random seed, 3/3), run 43701076084): the drawn history did not enter the state blocked by brokenOwner. The constructed history must reach every state it names.

It reproduces with the same seed and path on origin/main (4d3c8a9, twice) and on the PR head (twice), so the base has it. Under the M phase-1 rule it is filed, not blocking. Filed under P4; not rerun away.

Replay

cd packages/oracles && ORACLE_SEED=-1269403528 ORACLE_PATH=0 ORACLE_PROPERTY=oracle-gaps.report ORACLE_UNIT='random seed: a declaration fault: brokenOwner' pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "^oracle-gaps\.report(?: | > )random seed: a declaration fault: brokenOwner$"

The Replay line the framework prints omits --config oracle-gaps/vitest.config.mjs gap-report-oracle, so it does not run here either (#102).

Open questions

Whether the state should be reached by every drawn brokenOwner history, or only by the constructed one. The drawn history may not reach the blocking step under this seed (the blocked state needs an owner that the drawn history leaves out). A decision on the law, not only on the drawn data, is needed.

Activity

  1. KyleAMathews commented on Nov 17, 2026

    @KyleAMathews
    ContributorAuthor

    Rechecked by history during the takeover of #90. The full history was printed by replaying ORACLE_SEED=-1269403528 ORACLE_PATH=0 at 4d3c8a9. It was replayed as a constructed history that declares the recorded unit's state, blocked by brokenOwner.

    • Still fails on main 5523123 (2 of 2), and at 4d3c8a9 (2 of 2): constructed history "fix90b replay" did not enter blocked by brokenOwner. Arca tags: r90b-r107-main, r90b-r107-old.

    History:

    {"functions":[[{"kind":"factoryCall","target":1},{"kind":"bindCall","target":3}]],"containers":["free"],"overloads":[false],"owners":["a","none"],"library":[],"libraryOwners":[],"runes":[[{"kind":"runeState","op":">","k":0},{"kind":"runeStateRaw"}]],"derived":{"params":"plain","field":false,"before":[{"kind":"push"}],"form":"and","after":[{"kind":"if","op":">","k":8},{"kind":"tag"}]},"sourceSpelling":"dot","dotGen":false,"ownsSpelling":"plain","wholeFile":"none","template":true,"tests":[{"file":"c","route":"fixed history","registered":true,"name":"route","fn":1,"input":7,"judges":true,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":{"route":"fixed seed","input":6},"work":null,"timed":false},{"file":"a","route":"calibration","registered":false,"name":"plain","fn":3,"input":3,"judges":false,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":false,"then":{"route":"random seed","input":4},"work":null,"timed":false},{"file":"c","route":"fixed history","registered":true,"name":"route","fn":2,"input":4,"judges":true,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":true,"then":{"route":"fixed seed","input":5},"work":null,"timed":false},{"file":"c","route":"determinism","registered":true,"name":"plain","fn":4,"input":6,"judges":false,"law":"L","channel":"observe","flaky":true,"judgeBy":"assertion","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":{"route":"case","input":8},"work":null,"timed":false}],"witness":"budget","authored":null,"declaration":"wrapper","ownerless":false,"fault":"brokenOwner","stability":"none","ordinary":false,"lazyGate":false,"secondAuthored":true,"consoleOutput":true,"config":"object","configEnv":false,"setupGlobal":false,"native":"deep","depSubpath":false,"unbuiltDep":false,"boot":false,"budget":"one","stopRuns":[],"onlyRun":false,"pragma":true,"cliPath":"plain","concurrentStart":false,"configFile":"vitest.config.cjs","configPlace":"discovered","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["none","a"],"exportOwners":[],"importer":"b","midrunBy":"b","midrunTarget":"helper","prePlugin":true,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false}

    This comment was written by Isaac.

  2. KyleAMathews commented on Nov 18, 2026

    @KyleAMathews
    ContributorAuthor

    Another seed of this class, from #122's CI run 44279328397 at deb5997, in a random-seed job (GAP_E2E_SHRINKS=0, as #90 runs it). The random unit's construction is the same as on main: base 0 of the sample at the run's seed plus its index.

    • Unit: oracle-gaps.report > random seed: a declaration fault: brokenOwner, example 0, not shrunk.
    • Failure: the constructed history did not enter blocked by brokenOwner (a constructed history must reach every state it names).
    • Replay (valid at deb5997): cd packages/oracles && ORACLE_SEED=-1176916439 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a declaration fault: brokenOwner' pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: a declaration fault: brokenOwner$'

    History (the counterexample as fast-check printed it; __proto__: null prefixes removed):

    {"functions":[[{"kind":"loop","quote":"'"},{"kind":"nearProbe","variant":"name","op":"===","k":1},{"kind":"helperCall","helper":"reportTwice"},{"kind":"oldProbe"}]],"containers":["free"],"overloads":[],"owners":["a"],"library":[[{"kind":"push","quote":"`"},{"kind":"dollar"}],[{"kind":"if","op":"<=","k":6,"not":true,"quote":"`"}]],"libraryOwners":[],"runes":[[{"kind":"runeState","op":">","k":8},{"kind":"runeEffect","rune":"$effect"}]],"derived":null,"sourceSpelling":"linked","dotGen":false,"ownsSpelling":"redundant","wholeFile":"none","template":false,"tests":[{"file":"a","route":"enumerated","registered":true,"name":"plain","fn":5,"input":1,"judges":true,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":null,"work":null,"timed":false},{"file":"a","route":"probe calibration","registered":true,"name":"plain","fn":1,"input":1,"judges":true,"law":"reach agreement","channel":"observe","flaky":true,"judgeBy":"assertion","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":{"route":"enumerated","input":9},"work":null,"timed":false},{"file":"c","route":"determinism","registered":true,"name":"route","fn":0,"input":9,"judges":false,"law":"L","channel":"observe","flaky":false,"judgeBy":"assertion","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":true,"cleanupThrows":false,"asProp":true,"then":{"route":"calibration","input":2},"work":null,"timed":false},{"file":"a","route":"case","registered":true,"name":"plain","fn":2,"input":7,"judges":false,"law":"reach agreement","channel":"observe","flaky":true,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":{"route":"case","input":8},"work":null,"timed":false}],"witness":false,"authored":{"stmt":3,"kind":"stale"},"declaration":"wrapper","ownerless":false,"fault":"brokenOwner","stability":"reformat","ordinary":false,"lazyGate":true,"secondAuthored":false,"consoleOutput":true,"config":"async","configEnv":true,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":false,"budget":"two","stopRuns":[],"onlyRun":false,"pragma":true,"cliPath":"plain","concurrentStart":true,"configFile":"vitest.config.cjs","configPlace":"none","packageType":"commonjs","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["a"],"exportOwners":["a"],"importer":"a","midrunBy":"b","midrunTarget":"helper","prePlugin":false,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"outside","loadPlugin":false,"rejectBatch":0,"outMode":"explicit","logBlocked":false,"overlap":false,"stopWitness":false,"spawnStop":false,"spawnSignal":"SIGTERM","spawnDelay":8,"spawnOnStart":false,"claimScenario":false,"logLost":false,"supervisorDeath":false,"unsupervised":false,"psMissing":false,"holdOverlap":false,"replyHeld":false,"spinData":false,"siblingDir":true,"hookStops":false,"spinThrows":false,"slowStart":false,"shortWait":false,"absentObjects":["null","null","undefined","null","undefined","undefined","null","undefined"],"optionalChains":[{"links":3,"level":0,"call":"none","returns":"nothing"},{"links":3,"level":0,"call":"none","returns":"object"},{"links":1,"level":0,"call":"none","returns":"object"},{"links":1,"level":1,"call":"none","returns":"nothing"},{"links":2,"level":3,"call":"optional","returns":"nothing"},{"links":1,"level":2,"call":"plain","returns":"object"}]}

    This comment was written by Isaac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions