feat:(wiki) added --timeout and --retries flags for large module pages to mitigate timeout aborts#1543
Conversation
|
@sanguine59 is attempting to deploy a commit to the NexusCore Team on Vercel. A member of the Team first needs to authorize it. |
CI Report✅ All checks passed Pipeline Status
Test Results
✅ All 8843 tests passed 1 test(s) skipped — expand for details
Code CoverageTests
📋 View full run · Generated by CI |
|
@sanguine59 Can you please make sure these new options are documented in the readme as well? |
|
it is done, also noticed that README's wiki section only shows a few example flags rather than the full list, is that intentional? |
|
No, it definitely needs to be complete. Thank you for raising it! Could you please submit an issue ticket for it? 🙏 |
|
Thanks for the follow-up. I submitted an issue regarding the incomplete documentation and will also look into other features that lack documentation |
Thank you! We appreciate any help! :) If you want to contribute more and want to get the latest updates of GitNexus, feel free to join our Discord community. |
…s to mitigate timeout aborts (abhigyanpatwari#1543) * feat:(wiki) added --timeout and --retries flags for large module pages to mitigate timeout aborts * docs(wiki): document --timeout and --retries options * docs(wiki): document --timeout and --retries in SKILL.md --------- Co-authored-by: Gergő Magyar <gergomagyar@icloud.com>
…s to mitigate timeout aborts (abhigyanpatwari#1543) * feat:(wiki) added --timeout and --retries flags for large module pages to mitigate timeout aborts * docs(wiki): document --timeout and --retries options * docs(wiki): document --timeout and --retries in SKILL.md --------- Co-authored-by: Gergő Magyar <gergomagyar@icloud.com>
Summary
Add --timeout and --retries flags to gitnexus wiki so users can override the default 60s per-attempt LLM request timeout and 3-attempt retry cap when generating large module pages.
Motivation / context
Related to Issue: #1537
Large module pages with heavy source code cause the LLM fetch to exceed the hardcoded AbortSignal.timeout(60_000) in llm-client.ts, which throws a DOMException [TimeoutError]: The operation was aborted due to timeout. classified as
terminal-network by resilientFetch, meaning no retries happen. Users had no way to work around this without patching the source.
Related to #1537
Areas touched
gitnexus/(CLI / core / MCP server)gitnexus-web/(Vite / React UI).github/(workflows, actions)eval/or other toolingAGENTS.md,CLAUDE.md,.cursor/,llms.txt, etc.)Scope & constraints
In scope
Explicitly out of scope / not done here
Implementation notes
requestTimeoutMs and maxAttempts added as optional fields on LLMConfig. Defaults remain 60_000ms and 3 respectively, so existing behavior is unchanged. Flags are applied after resolveLLMConfig and before the generator runs.
Testing & verification
cd gitnexus && npm testcd gitnexus && npm run test:integration(if core/indexing/MCP paths changed)cd gitnexus && npx tsc --noEmitcd gitnexus-web && npm test(if web changed)cd gitnexus-web && npx tsc -b --noEmit(if web changed)gitnexus-web/e2e/)Risk & rollout
No breaking changes. All new fields are optional with existing defaults.
Checklist
AGENTS.md/ overlays changed: headers, scope block, and changelog updated per project conventions