Harden contract CI: `--locked`, clippy `-D warnings`, wasm size report
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 66/100
Línea de trabajo
Empieza por .github/workflows/contract.yml, donde se ejecutan los pasos de test, clippy y build. Revisa qué invocaciones de cargo no tienen --locked y dónde se llama a clippy sin -D warnings. Añade el informe de tamaño de wasm localizando el artefacto optimizado tras el build y escribiendo su número de bytes en el resumen del job. Espera a que #53 se integre para que CI esté en verde y, después, confirma que el workflow pasa en main.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Difficulty: Beginner
Problem
.github/workflows/contract.yml runs cargo clippy --all-targets (warnings do not fail the job) and cargo test without --locked. Lockfile drift, including the deliberate ed25519-dalek = 2.2.0 pin, is therefore not enforced, and clippy warnings can accumulate silently. The built wasm size is not reported anywhere.
Why it matters
--locked keeps the pinned dependency honest, -D warnings keeps the code clean, and a size report catches contract bloat before a deploy.
Scope of work
- Add
--lockedto the test and build steps. - Run clippy with
-- -D warnings. - Print the optimized wasm size in the job summary (optionally fail above a documented budget).
Acceptance criteria
- CI fails if
Cargo.lockwould change. - CI fails on clippy warnings.
- The job summary shows the wasm size in bytes.
- The workflow passes on
mainafter the formatting fix.
Relevant files
.github/workflows/contract.yml
Dependencies
#53 must land first so CI is green.
Maintainer discussion needed?
No.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 4
- Merge medio
- 54 min
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
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 Yormee-103/PayLoop
-
Add a CHANGELOG and release-notes conventionPosiblemente ocupada @Sharon-dev-create la tomó hoy. Abiertodifficulty: beginner documentation dx help wanted Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Yormee-103/PayLoop#169 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Glossary of Stellar and PayLoop terms, linked from the Help pagePosiblemente ocupada @Yemmy88 la tomó hoy. Abiertodifficulty: beginner documentation good first issue help wanted Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Yormee-103/PayLoop#168 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
difficulty: beginner dx good first issue help wanted web
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Yormee-103/PayLoop#158 ·
Los mantenedores suelen responder en 1 día
-
difficulty: beginner documentation good first issue help wanted security
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Yormee-103/PayLoop#145 ·
Los mantenedores suelen responder en 1 día
-
a11y difficulty: beginner good first issue help wanted web
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Yormee-103/PayLoop#144 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Yormee-103/PayLoop
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
agent-canvas bug oh-gpt-fleet priority:medium ready-for-dev UI/UX
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
good first issue javascript test
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
writerslogic/scrivener-mcp#272 ·
Los mantenedores suelen responder en 1 día
-
bug triaged tui ux wontfix
Dificultad 2/5 Medio día Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día