chore(miner): add test:miner-pack publish-shape checker - #3530
Conversation
Mirror check-mcp-package.mjs for gittensory-miner, assert required bin/lib artifacts, and wire the checker into test:ci after build:miner. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3530 +/- ##
=======================================
Coverage 93.09% 93.09%
=======================================
Files 301 301
Lines 31450 31450
Branches 11483 11483
=======================================
Hits 29279 29279
Misses 1517 1517
Partials 654 654 🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 15:59:36 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Closes #2310
Summary
scripts/check-miner-package.mjs, mirroringcheck-mcp-package.mjsfor@jsonbored/gittensory-miner(npm pack dry-run, allowlist, secret scan, requiredbin/+lib/*.jsassertions).test:miner-packin rootpackage.jsonand enforce it on the main validation path viatest:ci(... build:miner && test:miner-pack ...)..mjstype imports, no static secret-like literals in the diff).Conflict avoidance
Touches only
scripts/check-miner-package.mjs(new),test/unit/check-miner-package.test.ts(new), andpackage.json(test:miner-pack+test:cisegment). No overlap with open enrichment/review PRs.Test plan
npm run test:miner-packCOVERAGE_NO_THRESHOLDS=1 npx vitest run test/unit/check-miner-package.test.ts --coveragenpm run build --workspace @jsonbored/gittensory-engine && npm run build:minerMade with Cursor