docs(miner): add coding-agent credential troubleshooting table (#5175) - #5451
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-12 20:07:10 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands 🟩 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 #5451 +/- ##
=======================================
Coverage 94.46% 94.46%
=======================================
Files 554 554
Lines 44438 44438
Branches 14663 14663
=======================================
Hits 41979 41979
Misses 1784 1784
Partials 675 675
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Summary
packages/gittensory-miner/README.md, mapping each credential/auth failure string the CLI-subprocess driver emits to a plain-language symptom and a concrete remediation.packages/gittensory-engine/src/miner/cli-subprocess-driver.ts(no invented strings): the Claude Code error-envelope case (claude_code_error_<status>, Parse Claude Code's JSON error envelope into actionable diagnostics in the CLI-subprocess driver #5168), the Codex auth-failure case (codex_no_auth, Parse Codex's JSONL stdout for its real error object in the CLI-subprocess driver #5169), and the generic non-zero-exit fallback (<command>_exit_<code>).apps/gittensory-ui/src/routes/docs.self-hosting-ai-providers.tsxfor cross-doc consistency (error string / symptom / remediation columns).Closes #5175.
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.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:lintIf any required check was skipped, explain why:
npm run test:ciunder Node 22 (.nvmrc) before pushing. This change is docs + test only — it touchespackages/gittensory-miner/README.mdandtest/**, neither of which is measured by Codecov (src/**,packages/gittensory-engine/src/**,packages/gittensory-miner/lib/**), so there is nocodecov/patchobligation. The new test's parsing logic was verified against the real README and driver files. There is no runtime behavior change, so a regression test is not applicable (the driver's error-string vocabulary is already covered bytest/unit/cli-subprocess-driver.test.ts, Parse Claude Code's JSON error envelope into actionable diagnostics in the CLI-subprocess driver #5168/Parse Codex's JSONL stdout for its real error object in the CLI-subprocess driver #5169) — the added tests are drift guards pinning the docs↔code link.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
Not applicable — this change edits a package README (Markdown docs), not the web UI. No rendered frontend surface changed.
Notes
claude_code_error_and the${command}_exit_template are emitted bycreateCliSubprocessCodingAgentDriver, andcodex_no_auth: auth.json missing or expired -- run \codex auth` to authenticateis the exact Codex no-auth string. The Claude row also cross-references thegittensory-miner doctornot authenticated: set CLAUDE_CODE_OAUTH_TOKENcheck (packages/gittensory-miner/lib/laptop-init.js`).