Skip to content

🐛 fix: timeout Market connection listing#15487

Merged
tjx666 merged 1 commit into
canaryfrom
fix/market-connections-timeout
Jun 5, 2026
Merged

🐛 fix: timeout Market connection listing#15487
tjx666 merged 1 commit into
canaryfrom
fix/market-connections-timeout

Conversation

@tjx666

@tjx666 tjx666 commented Jun 5, 2026

Copy link
Copy Markdown
Member

💻 Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • ✅ test
  • 📝 docs
  • 🔨 chore

🔗 Related Issue

Fixes LOBE-10029

🔀 Description of Change

  • Add a 10s AbortSignal timeout to the Market connection listing request.
  • Map Market connection timeout failures to tRPC TIMEOUT instead of letting the request wait for the platform limit.
  • Disable SWR error retries for the LobeHub Skill connections fetcher.
  • Add focused regression coverage for the timeout helper.

🧪 How to Test

  • Tested locally
  • Added/updated tests
  • No tests needed
bunx vitest run --silent='passed-only' src/server/routers/tools/_helpers/marketConnections.test.ts src/store/tool/slices/lobehubSkillStore/action.test.ts
bunx prettier --check src/server/routers/tools/_helpers/marketConnections.ts src/server/routers/tools/_helpers/marketConnections.test.ts src/server/routers/tools/market.ts src/store/tool/slices/lobehubSkillStore/action.ts
git diff --check

📸 Screenshots / Videos

N/A

📝 Additional Information

This is a defensive client-side timeout for the generic Market tools integration. It does not include cloud-specific business logic.

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 5, 2026
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lobehub Building Building Preview, Comment Jun 5, 2026 5:23am

Request Review

@dosubot dosubot Bot added feature:marketplace Agent marketplace related feature:tool Tool calling and function execution labels Jun 5, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@tjx666 tjx666 merged commit 2b9f08a into canary Jun 5, 2026
41 of 45 checks passed
@tjx666 tjx666 deleted the fix/market-connections-timeout branch June 5, 2026 05:27
This was referenced Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature:marketplace Agent marketplace related feature:tool Tool calling and function execution size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant