Repository navigation
Development
dev1lsconf edited this page Nov 28, 2026
·
1 revision
cargo build --release --locked
./target/release/tinytop --check-config --deep
./target/release/tinytop
./target/release/tinytop --tuicargo fmt --all -- --check
cargo clippy --all-targets --locked -- -D warnings
cargo test --all-targets --locked
cargo auditnpm ci
npx playwright install --with-deps chromium
BASE_URL=http://localhost:9090 npx playwright testLas pruebas UI están en tests/ui.spec.ts. Si se cambia la UI/dashboard, hay que revisar y actualizar Playwright.
git config core.hooksPath scripts/git-hooksEl hook commit-msg:
- recuerda revisar
COMMITTING.md,AGENT.md,CONTRIBUTING.md,CHANGELOG.mdy docs relevantes; - exige que el mensaje empiece con emoji según
COMMITTING.md; - elimina trailers
Co-authored-by:; - recuerda no embeber credenciales en URLs de remotes y usar
git credential.helper.
Formato: <emoji> tipo(scope opcional): descripción.
Ejemplos:
🐛 fix(api): corregir validación de target
📦 docs(readme): actualizar instalación
🔧 config: ajustar workflow de release
- Binario único, bajo consumo, sin dependencias externas obligatorias en runtime.
- Integraciones opcionales best-effort.
- No commitear secretos ni config local con datos personales.
- Cambios de esquema/métricas SQLite: mantener paridad migración↔código↔API↔UI↔tests↔docs (ver
AGENT.md). - Dashboard: alcance fijo de gráficos históricos (CPU, memoria, red RX/TX, load 1/5/15); no agregar otros sin aprobación explícita.
- Release Please crea PR/tag/release al mergear en
master. - Workflow
Releasepublica artefactos, paquetes e imagen. - Fallback manual:
Actions → Release → Run workflowcon eltag.
TinyTop Wiki
Repo