feat(miner): add laptop-mode init and doctor commands#2844
feat(miner): add laptop-mode init and doctor commands#28449876543210-tc-0123456789 wants to merge 4 commits into
Conversation
217b9a0 to
861f7bd
Compare
❌ 4 Tests Failed:
View the full list of 4 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
861f7bd to
77ee54d
Compare
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-04 01:13:49 UTC
🛑 Suggested Action - Fix Blockers Review summary Nits — 5 non-blocking
CI checks failing
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.
|
77ee54d to
23b66e1
Compare
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-code)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs are re-reviewed automatically, so an inaccurate close may be reopened, but that does not guarantee it can merge (e.g. if conflicts or failing CI remain). |
Summary
gittensory-miner initandgittensory-miner doctorcommands to the packaged CLI.initnow resolves the local config directory throughGITTENSORY_MINER_CONFIG_DIR,XDG_CONFIG_HOME, then the homedir fallback, and always bootstraps the real SQLite-backed run-state store so an existing empty file is repaired instead of being treated as ready.doctorreports Node, config-dir, SQLite file/schema health, and Docker availability as informational only, and the README plus CLI/laptop-mode tests now cover the npm quickstart, idempotent bootstrap, and absent-Docker path.Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
npm run test:coveragewas exercised asnpm run test:coverage -- --maxWorkers=4, which passed on the rebased branch and matches the CI-stable worker cap used during local validation.npm run test:ciwas rerun from the rebased branch to smoke the full wrapper, but its uncappednpm run test:coverageleg is host-load-sensitive here; the required sub-checks above were still run and verified individually.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Required for visible UI, frontend, docs, or extension changes. Attach GitHub-hosted JPG/JPEG or PNG screenshots here; SVG screenshots are not accepted as review evidence. Use a compact table/grid of clickable thumbnails with a short state/title such as "Loaded state", "Empty state", "Error state", "Mobile layout", or "PR sidebar". Prefer annotated screenshots with a colored box, outline, arrow, or highlighter showing what changed. Recordings can be supplemental, but screenshots are still expected for visual review. Do not commit review-only screenshots, recordings, or
docs/review-evidence/**files.Notes
apps/gittensory-ui/src/lib/selfhost-env-reference.tsline references were refreshed so the self-host env-reference check stays green.