Reproducible builds
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, rust, wasm
- Ambito
- build-system
Direzione di ricerca
Riproduci il problema con i comandi segnalati npm run bundle e npm run build, quindi confronta sha256sum dist/bundle.js e dist/bundle.wasm tra esecuzioni ripetute di componentize-js. Esamina il percorso di build di componentize-js e il comportamento sospetto degli snapshot del runtime JavaScript; il lavoro è completato quando l’output wasm ha lo stesso checksum tra le build, oppure quando viene identificata una modalità documentata per build riproducibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!!
- Lingua principale
- Rust
- Stelle
- 392
- Fork
- 54
- Merge medio
- 2g 18h
- PR unite (30g)
- 3
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bytecodealliance/ComponentizeJS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
bytecodealliance/ComponentizeJS#335 · 3 commenti ·
Tutte le issue di bytecodealliance/ComponentizeJS
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
bug rules
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
app bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
IronCoreLabs/ironcore-alloy#346 ·
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100