✨ feat(task): auto-ensure qstash schedule for task system#14771
Conversation
|
@hezhijie0327 is attempting to deploy a commit to the LobeHub OSS Team on Vercel. A member of the Team first needs to authorize it. |
|
@ONLY-yours - This PR adds auto-ensuring of QStash schedules for the task system (feature:schedule-task). Please take a look. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## canary #14771 +/- ##
==========================================
+ Coverage 65.86% 65.95% +0.08%
==========================================
Files 2944 2962 +18
Lines 257718 261944 +4226
Branches 26006 31934 +5928
==========================================
+ Hits 169756 172770 +3014
- Misses 87805 89014 +1209
- Partials 157 160 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
3366aaf to
03f66d3
Compare
|
If it has already been created, will it be created again (duplicated)? It shouldn't be set up as a default creation; instead, the documentation should prompt users to create it manually. Or alternatively, execute this before Docker starts.
Original Content已经创建过的话是否会重复创建?不应该做成默认创建,而是应该在文档中提示去手动创建。或者在 docker 启动前执行这个事情。 |
|
不会重复创建,Schedule ID是固定的 对于 Qstash Local 版本的话,重启会清空所有数据,启动时执行的话我去看看 |
chore: cleanup code chore: cleanup code chore: cleanup code
03f66d3 to
631f5f6
Compare
chore: migrate qstash init workflow to startServer
631f5f6 to
cb6f934
Compare
fix: set default QSTASH_URL to eu region, same as SDK
9da5ca9 to
219fca3
Compare
|
❤️ Great PR @hezhijie0327 ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |

💻 Change Type
🔗 Related Issue
🔀 Description of Change
Note:
🧪 How to Test
📸 Screenshots / Videos
📝 Additional Information