Reproducible builds
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, rust, wasm
- 领域
- build-system
调研方向
使用报告中的 npm run bundle 和 npm run build 命令重现该问题,然后比较多次运行 componentize-js 时的 sha256sum dist/bundle.js 和 dist/bundle.wasm。调查 componentize-js 的构建路径以及疑似的 JavaScript 运行时快照行为;当不同构建中的 wasm 输出具有相同校验和,或确定了一种有文档说明的可复现构建模式时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I have used ComponentizeJS in 3 different projects
I'm seeing with every project that the wasm file output is not reproducible from one build to the next
For example: https://github.com/rhodey/lock.host-wasm-js
I have npm run bundle and npm run build
I run sha256sum dist/bundle.js and determine the same js bundle is being produced
I run sha256sum dist/bundle.wasm and determine the wasm file is different with every run of componentize-js
It is not hard to imagine that more than 1 thing would need to change to get reproducible builds
A first thought is I think from what I have read that ComponentizeJS is doing something like snapshot of the JS Runtime memory in order to get faster boots. And so that is suspicious as an area of non determinism.
I will much appreciate any help with achieving reproducible builds and if it can be achieved quicker by disabling some features and losing some speed it would be acceptable for my purposes
Thanks!!
- 主要语言
- Rust
- 星标
- 392
- 派生
- 54
- 平均合并
- 2 天 18 小时
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bytecodealliance/ComponentizeJS 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
enhancement
难度 4/5 3-5 天 新手友好度 56/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 48/100
bytecodealliance/ComponentizeJS#335 · 3 条评论 ·
查看 bytecodealliance/ComponentizeJS 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
bug rules
难度 2/5 1-3 小时 新手友好度 72/100
-
app bug
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 88/100
IronCoreLabs/ironcore-alloy#346 ·
-
good first issue
难度 2/5 1-3 小时 新手友好度 65/100