Investigate opam tests of `libbinaryen` include
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- github-actions, ocaml
- Área
- ci-cd
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 54
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de grain-lang/binaryen.ml
-
Improve testingAbiertogood first issue Tests
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
grain-lang/binaryen.ml#295 ·
-
Add `String` apiQuizá libre de nuevo @spotandjake la tomó hace 358 días y no hay ningún pull request abierto. AbiertoApi blocked
grain-lang/binaryen.ml#263 · 1 asignado ·
-
Investigate `wasm_of_ocaml` useAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
grain-lang/binaryen.ml#253 ·
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
grain-lang/binaryen.ml#252 ·
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
grain-lang/binaryen.ml#251 ·
Todos los issues de grain-lang/binaryen.ml
Issues similares
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Life-Framework/Life-Framework#5378 ·
Los mantenedores suelen responder en 1 día
-
Bug Status: Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug status: planned ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ChupathingyCE/chupathingyce#2126 ·
Los mantenedores suelen responder en 1 día
-
good first issue simulation
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Los mantenedores suelen responder en 1 día
-
needs-kind
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
falcosecurity/libs#3173 · 1 comentario ·
Los mantenedores suelen responder en 1 día