Skip to content

fix(core): preserve large stat u64 fields#273

Draft
NathanFlurry wants to merge 1 commit into
mainfrom
codex/stat-u64-bigint
Draft

fix(core): preserve large stat u64 fields#273
NathanFlurry wants to merge 1 commit into
mainfrom
codex/stat-u64-bigint

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member
  • Preserves exact large filesystem stat u64 fields from the sidecar protocol as decimal shadow fields while keeping default stat fields JSON-safe numbers.
  • Wires Node-style { bigint: true } stat options through sync, callback, promise, and file-handle stat paths.
  • Adds regression coverage for generated stat values above Number.MAX_SAFE_INTEGER so large host device IDs no longer crash during adapter conversion.

Validation:

  • pnpm --dir packages/core exec vitest run tests/state.test.ts
  • pnpm --dir packages/core check-types
  • pnpm --dir packages/browser check-types
  • pnpm --dir packages/build-tools check-types
  • pnpm --dir packages/build-tools exec node scripts/build-v8-bridge.mjs

@railway-app railway-app Bot temporarily deployed to secure-exec / secure-exec-pr-273 July 4, 2026 20:24 Destroyed
@railway-app

railway-app Bot commented Jul 4, 2026

Copy link
Copy Markdown

🚅 Environment secure-exec-pr-273 in rivet-frontend has no services deployed.


🚅 Deployed to the secure-exec-pr-273 environment in secure-exec

Service Status Web Updated (UTC)
secure-exec 😴 Sleeping (View Logs) Web Jul 4, 2026 at 8:37 pm

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.

1 participant