chore(miner): add test:miner-pack publish-shape checker - #3522
Conversation
Mirror check-mcp-package.mjs for gittensory-miner and wire the checker into test:ci alongside build:miner so CI enforces the publish allowlist. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-05 15:36:11 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 5 non-blocking
Why this is blocked
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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3522 +/- ##
=======================================
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:
|
|
Gittensory is closing this pull request on the maintainer's behalf (Possible leaked secret in the diff (github_pat)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Closes #2310
Summary
scripts/check-miner-package.mjs, mirroringcheck-mcp-package.mjsfor@jsonbored/gittensory-miner(npm pack dry-run, allowlist, secret scan).test:miner-packin rootpackage.jsonand enforce it on the main validation path viatest:ci(... build:miner && test:miner-pack ...)..mjstype imports) plus env-injected failure fixtures.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 PRs #3513, #3520, #3521.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