Skip to content

支持添加多个扩展,调整扩展文件存放路径#1

Open
chenxhong wants to merge 4 commits intoweb3ToolBoxDev:mainfrom
chenxhong:qiezi
Open

支持添加多个扩展,调整扩展文件存放路径#1
chenxhong wants to merge 4 commits intoweb3ToolBoxDev:mainfrom
chenxhong:qiezi

Conversation

@chenxhong
Copy link
Copy Markdown

No description provided.

web3ToolBoxDev added a commit that referenced this pull request Mar 19, 2026
…_selfHealAndRetry

Bug #1: Pipeline never finishes (running stays true forever)
- Wrap main _runPipeline body in try/finally safety net
- Replace manual `running = false` with _finishPipeline() calls in:
  - early returns (no queries, no AI provider)
  - consecutive error abort
  - startPipeline .catch() handler
  - stopPipeline()
- Make _finishPipeline idempotent to prevent double history-save

Bug #2: _selfHealAndRetry was dead code, never called
- Wire up at search script failure point (scriptResult.success=false)
- Wire up at low-result anomaly (<3 results, possible Cloudflare block)
- Add max 2 attempts per source to prevent infinite loops
- Capture browser screenshot for AI diagnosis when possible
- Log clearly when self-heal is triggered/succeeds/fails

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant