You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bundle-size.yml is part of the standard v4 set for every repo; fix the template comment and docs #325
priority: mediumShould be addressed in the normal course of developmentstatus: in progressPartially implemented — actively being builttype: documentationRelates to docs, README updates, guides, or inline code comments
Only relevant for runtime libraries where bundle size matters (e.g. @cldmv/slothlet). Skip this template for tool repos / meta repos.
That isn't the policy. Every CLDMV v4 repo carries bundle-size.yml. Because of this comment, consumer syncs leave it out, and release-merge.yml's re-evaluation list then gets "cleaned up" by removing 📊 Bundle Size (CLDMV/slothlet-vine#47).
The template's defaults also assume a dist/ build (build_command: "npm run build", dist_paths: "dist/**"). Many consumers publish source with no dist/, and for those the measurement is empty.
Fix
Replace the comment with guidance that the workflow is standard for every v4 repo, and explain the two per-repo inputs:
build_command: the repo's real build.
dist_paths: the files the package publishes (from npm pack --dry-run or package.jsonfiles). Give examples for source-shipped packages, e.g. index.mjs,src/** or bin/**,lib/**.
List bundle-size.yml in the standard set in the onboarding docs: examples/guides/AGENT-SCAFFOLDING.md, examples/guides/WORKFLOW-SETUP-GUIDE.md, docs/migration/, and any checklist that enumerates the v4 files. Consider moving it out of packaging-docs/ into core-cicd/ so its folder matches its status. If you move it, update every reference to its path.
Add a sentence to the release-merge.yml template: keep its workflows: list verbatim, and don't prune entries for workflows the repo lacks. It already says that listing a missing workflow is harmless.
Check whether the measure action should warn when dist_paths matches zero files, so a misconfigured dist_paths shows up in the job log instead of producing an empty size table.
priority: mediumShould be addressed in the normal course of developmentstatus: in progressPartially implemented — actively being builttype: documentationRelates to docs, README updates, guides, or inline code comments
Activity
test(bundle-size): cover exact-path, glob and zero-match dist_paths
cldmv-bot commentedon Sep 28, 2026
Closed in v4.29.3 — resolved by #326.