test: check the validator's rules against the reference table
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Compare the Dependency rules table in references/ffca/project_structure.md with the rules map in scripts/validate_layers.dart, noting the known shared mismatch. Study the existing tests in scripts/test/validate_layers_test.dart and the sync_reference.dart --check drift check for the pattern to follow. Done when a test parses the table, fails on drift, and handles the shared row either by waiting for VGVentures/very_good_engineering#292 or by documenting it as a known difference.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
The Dependency rules section of references/ffca/project_structure.md says its table "is the whole rule, and it is the version a validation script implements". Nothing checks that the rules map at the top of scripts/validate_layers.dart actually matches that table, so the two can drift apart without anyone noticing.
They already disagree: the table says shared may depend on "external packages only", while the validator allows shared → shared. We believe the reference should change, and that is tracked in Very Good Engineering: VGVentures/very_good_engineering#292.
Requirements
- A test in
scripts/test/validate_layers_test.dartparses the Dependency rules table fromreferences/ffca/project_structure.mdand checks it against the validator'srulesmap. - When the table changes upstream and is re-synced, the test fails until the validator is updated.
- The test lands after the reference is re-synced with VGVentures/very_good_engineering#293, which allows
shared → sharedand is merged, so no known-difference exception is needed. - All CI/CD checks are passing.
- There is no drop in the test coverage percentage.
Additional Context
This is the drift check sync_reference.dart --check already does for the reference mirror, applied to the validator itself.
Status (2026-10-20): VGVentures/very_good_engineering#293 is merged, but the VGV Engineering site has not redeployed yet. Once the site deploys, run dart run scripts/sync_reference.dart (which also brings in VGVentures/very_good_engineering#297's lib/src/ and data barrel changes), then add this test.
- Lenguaje dominante
- Dart
- Estrellas
- 7
- Forks
- 2
- Merge medio
- 2 d 8 h
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 VeryGoodOpenSource/vgv-ffca-plugin
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
VeryGoodOpenSource/vgv-ffca-plugin#39 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
VeryGoodOpenSource/vgv-ffca-plugin#28 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
VeryGoodOpenSource/vgv-ffca-plugin#26 ·
Los mantenedores suelen responder en 1 día
-
external dependency feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
VeryGoodOpenSource/vgv-ffca-plugin#6 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de VeryGoodOpenSource/vgv-ffca-plugin
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Vinillian/book_tracker#208 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
CI: a superseded Quality run keeps its test shards running and the new head waits behind themAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fdittgen-png/deskilo#3753 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día