Investigate opam tests of `libbinaryen` include
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, ocaml
- Ambito
- ci-cd
Direzione di ricerca
The proposed flow starts from the opam install-deps step and reads resolutions['@grain/libbinaryen'] in package.json to find the libbinaryen repo URL and commit hash. The run-local-tests script and the dispatch workflow do not exist yet, so the first step is to read the existing CI workflow files and see how opam tests run. Done means a workflow that clones the pinned libbinaryen commit, overrides the opam version, and reruns the build, with a documented trigger. Scope and the release-please follow-up need maintainer agreement first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It would be nice if we could investigate testing through opam, for unreleased libbinaryen versions to catch downstream failures.
I think a good workflow process would be:
- If
install-depsfails (Would be nice if we could say specifically due to libbinaryen not being available)- Check if
package.jsoncontainsresolutions['@grain/libbinaryen'] - Parse out the
repo urlandcommit hash. - Dispatch a workflow run to a
run-local-testsscript with the repo and commit hash - Clone the repo
- Check out the hash
- Pin the local package to override the version specified via opam
- Try rebuilding.
- Check if
This should still cause the opam tests to fail, but should help to catch any downstream issues in libbinaryen before we do releases.
If we want to get really fancy, we could have release-please in libbinaryen dispatch a workflow to open a pr with the resolution changed to pre-test releases (This would fail with typical api changes in binaryen through).
If we want to optimize this a little as well, it may make sense to run the standard Ubuntu build of the opam test on 5.3.0 and, depending on the state, dispatch the rest of the runs so we avoid doing the failover work multiple times.
- Lingua principale
- C
- Stelle
- 54
- Fork
- 9
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 grain-lang/binaryen.ml
-
Improve testingApertagood first issue Tests
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
grain-lang/binaryen.ml#295 ·
-
Add `String` apiForse di nuovo libera @spotandjake l’ha presa 358 giorni fa e non c’è nessuna pull request aperta. ApertaApi blocked
grain-lang/binaryen.ml#263 · 1 assegnatario ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
grain-lang/binaryen.ml#253 ·
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
grain-lang/binaryen.ml#252 ·
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
grain-lang/binaryen.ml#251 ·
Tutte le issue di grain-lang/binaryen.ml
Issue simili
-
good first issue simulation
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-kind
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
falcosecurity/libs#3173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vincentarelbundock/xtx#11 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Hide cursor in fullscreenApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100