Skip to content

feat: native keccak, context save tuning, interrupt tests & dual-entry exportsAdd/interupt test - #24

Merged
AthrunArthur merged 4 commits into
YeeZTech:mainfrom
freeof123:add/interupt-test
Jul 28, 2026
Merged

feat: native keccak, context save tuning, interrupt tests & dual-entry exportsAdd/interupt test#24
AthrunArthur merged 4 commits into
YeeZTech:mainfrom
freeof123:add/interupt-test

Conversation

@freeof123

Copy link
Copy Markdown
Member

Summary

  • Node 侧默认优先使用原生 keccak(optionalDependency),缓解大文件哈希卡顿;可环境变量回退纯 JS,并补充原生实现测例。
  • PipelineContext 增加 saveFrequency(默认 32)与 strongConsistency(默认 false,省略 fsync);补充 SIGKILL / saveFrequency=1 等断点续传中断测例。
  • 修正 package.jsonexports / module / browser:网页 bundler 默认走 browser 入口,Node 仍走 node 入口,避免 SSR/Vite 误解析到 index.node.js

Test plan

  • npm run test:node
  • npm run build && npm pack
  • dianshu-website-ssr yarn build:test:local

@AthrunArthur
AthrunArthur merged commit eced4b7 into YeeZTech:main Jul 28, 2026
1 check failed
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