test: check the validator's rules against the reference table
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Dart
- Star
- 7
- Fork
- 2
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VeryGoodOpenSource/vgv-ffca-plugin
-
feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
VeryGoodOpenSource/vgv-ffca-plugin#39 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
VeryGoodOpenSource/vgv-ffca-plugin#28 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
VeryGoodOpenSource/vgv-ffca-plugin#26 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
external dependency feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
VeryGoodOpenSource/vgv-ffca-plugin#6 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của VeryGoodOpenSource/vgv-ffca-plugin
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Vinillian/book_tracker#208 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 2 ngày
-
CI: a superseded Quality run keeps its test shards running and the new head waits behind themĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fdittgen-png/deskilo#3753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày