Skip to content

Restore catchable preinit filesystem errors - #240

Merged
vigoo merged 4 commits into
mainfrom
fix-preinit-fs-errors
Nov 27, 2026
Merged

vigoo merged 4 commits into
mainfrom
fix-preinit-fs-errors

Conversation

@noise64

@noise64 noise64 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Main integration verified: bee202c9

  • ordinary merge of main 5f44143c; no manual conflict resolutions or additional repair changes
  • exact-head local optimizer qualification: stock13/13 and fork13/13; cold/restored default-panic framing probe1/1 on each host; all-target build/Clippy, five skeleton Clippy lanes, format/diff checks passed. Temporary probe include removed; worktree clean
  • final GPT-6.1 Sol/high and Claude Opus5.5/high integration-delta reviews clear, complete4/4 changed-file coverage. Raw reports/provenance, initial evidence-pending blocked verdicts and execution-verification limitations retained in golem-review document nov26-240-main-integration-qualification rev1
  • CI45811129282 passed all28 executed lanes at this head; Proof, publish and release-binaries skipped
  • new exact-head independent agreement recorded: nov26-240-integrated-head-review rev1, Needs you · Review, no open concerns. Remains draft; fresh Dávid approval is required before Ready. No Golem durability/shipped qualification
  • all earlier checks and agreement below are historical for their named heads, not clearance transferred to this candidate

  • restores the catchable-filesystem part of GOL-1329: path operations return ENOENT and optional file/module probes can catch absence during preinitialization; uncaught errors still fail the build
  • synthesizes absence before touching filesystem/preopen state or loader caches; keeps HTTP/network, SQLite, execution, FD/stdio and raw optimizer capability guards unchanged
  • verifies later reads, writes and previously missing module/package loads against two independent restored filesystems, including the retained final component bytes
  • local checks: seven unchanged preinit controls plus both updated tests; filesystem 18/18, module resolution 70/70, architecture 17/17; all-target build/Clippy, formatting, five skeleton Clippy lanes and TypeScript tooling
  • source-input/cache regression passes on stock and fork: optimized existsSync probe returns false in two fresh guests while malformed-source/no-output and cache-isolation controls remain intact; targeted Clippy and formatting pass
  • public controls pass on Node 22.14.0/26.13.1 with explicit existing findPackageJSON and supplied-CJS loader differences; this is not a full compatibility sweep
  • CI 45661692187 passed every executed job at ac5060d816d39ee6dc7eb9d47c6dfdc99b885a06, including stock/fork state and guest-I/O optimizer lanes; publish, release-binaries and Proof were skipped. Historical CI run 45655814366 failed the stale source-input filesystem expectation on both hosts
  • HTTP remains separate; local fork validation is targeted, and no Golem-consumer or shipped-artifact qualification is claimed. GOL-1329 is not fully resolved here

Repair verification: 9cab043e

  • fixes registered-loader rejected-load/static-error caches retaining synthetic preinit absence; unchanged registrations retry after restore, while ordinary errors and successful namespaces keep identity
  • reproduces and fixes uncaught filesystem callbacks, unawaited rejections and throwing handlers producing snapshots; generic deferred errors/rejections now explicitly fail preinit too, without expanding ordinary runtime policy
  • public red/green coverage includes default static file/package edges, copyFile/COPYFILE_EXCL, imports maps and coded conditions-getter errors, with two independent restored filesystems
  • final-head local checks passed: stock and fork preinit 9/9 plus source-input/cache-isolation 1/1 each; all-target build/Clippy, five skeleton Clippy lanes, architecture 17/17, module resolution 70/70, filesystem 18/18, timer 1/1, Rust formatting and TypeScript tooling
  • committed-range GPT-6.1 Sol/high and Claude Opus 5.5/high reviews completed with full/delta coverage. Final delta: Sol clear; raw Opus changes_required preserved. Public execution and independent review dismissed its preinit warning-hook claim: zero hooks before restoration, real runtime hooks and preserved ordinary error identities afterward. Both original concerns are independently verified fixed; raw reviews, red/green logs and qualification are retained in golem-review
  • CI 45803944251 passed all 28 executed lanes at the repair head, including all four stock/fork optimizer lanes, runtime and node-compat shards; Proof, publish and release-binaries skipped. The earlier CI result above remains historical evidence for the preceding head
  • independent final qualification review and agreed intent recorded at this exact head: Needs you · Review, no open concerns. Fresh Dávid approval is required before Ready
  • remains draft; no Golem durability/shipped qualification or Ready approval is claimed. Node compatibility configuration/report is byte-identical to the base: primary 3260/4451 (73.2%), full-public 3260/5810 (56.1%), unchanged

@noise64
noise64 marked this pull request as ready for review November 25, 2026 22:32
@noise64
noise64 marked this pull request as draft November 26, 2026 07:18
@noise64
noise64 marked this pull request as ready for review November 26, 2026 12:15

@vigoo vigoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the filesystem preinitialization guards, loader-cache retry behavior, and deferred error handling. No blocking findings. Verified passing CI at this head and inspected the stock optimizer results; local formatting and JavaScript syntax checks passed. Local Rust/Wasm tests were not rerun.

@vigoo
vigoo merged commit 9de3bfe into main Nov 27, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants