Skip to content

Commit 2a669a7

Browse files
easelclaude
andcommitted
ci: exclude family READMEs from concern coverage count
generate-reference.py now publishes workflows/concerns/README-*.md files alongside concern pages so cross-concern links to family ownership tables resolve. The coverage count in validate-website-generated.sh treats every .md under content/concerns/ as a concern, so it spuriously failed (49 sources vs 50 rendered). Exclude README-* explicitly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e1440de commit 2a669a7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/validate-website-generated.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ fi
3838

3939
# Coverage signal: every upstream concern and artifact-type has a rendered page.
4040
src_concerns=$(find workflows/concerns -mindepth 1 -maxdepth 1 -type d | wc -l | tr -d ' ')
41-
out_concerns=$(find "$content/concerns" -name '*.md' ! -name '_index.md' | wc -l | tr -d ' ')
41+
# Family READMEs (e.g. README-auth-family.md) are published alongside concerns
42+
# but are not concerns themselves; exclude them from the coverage count.
43+
out_concerns=$(find "$content/concerns" -name '*.md' ! -name '_index.md' ! -name 'README-*.md' | wc -l | tr -d ' ')
4244
src_arttypes=$(find workflows/activities/*/artifacts -mindepth 1 -maxdepth 1 -type d | wc -l | tr -d ' ')
4345
out_arttypes=$(find "$content/artifact-types" -name '*.md' ! -name '_index.md' | wc -l | tr -d ' ')
4446

0 commit comments

Comments
 (0)