Skip to content

Conversation

@pierre-b
Copy link
Contributor

This pull request contains changes generated by a Cursor Cloud Agent

Open in Cursor Open in Web

This change integrates the cron tick logic into the app server, removing external dependencies and enabling more frequent task processing.

Co-authored-by: pierre <pierre@bazoge.com>
@cursor
Copy link

cursor bot commented Oct 30, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

❌ Patch coverage is 95.28302% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.44%. Comparing base (7c490f0) to head (377407d).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
internal/app/app.go 54.54% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #104      +/-   ##
==========================================
+ Coverage   81.36%   81.44%   +0.07%     
==========================================
  Files         151      152       +1     
  Lines       28276    28371      +95     
==========================================
+ Hits        23007    23106      +99     
+ Misses       4175     4170       -5     
- Partials     1094     1095       +1     
Flag Coverage Δ
unit 81.44% <95.28%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

cursoragent and others added 10 commits October 30, 2025 12:02
Co-authored-by: pierre <pierre@bazoge.com>
Co-authored-by: pierre <pierre@bazoge.com>
Co-authored-by: pierre <pierre@bazoge.com>
Co-authored-by: pierre <pierre@bazoge.com>
Co-authored-by: pierre <pierre@bazoge.com>
Co-authored-by: pierre <pierre@bazoge.com>
Removes the need for external cron jobs by integrating a task scheduler directly into the application. This improves reliability and simplifies setup.

Co-authored-by: pierre <pierre@bazoge.com>
Co-authored-by: pierre <pierre@bazoge.com>
This change decouples the TaskScheduler from the specific TaskService implementation by introducing a TaskExecutor interface. This allows for greater flexibility and testability. Unit tests have been added to cover the new interface and scheduler behavior.

Co-authored-by: pierre <pierre@bazoge.com>
Replaces external cron job with an internal background scheduler for improved performance and simplified deployment.

Co-authored-by: pierre <pierre@bazoge.com>
@pierre-b pierre-b marked this pull request as ready for review October 30, 2025 19:57
@pierre-b pierre-b merged commit 70271be into dev Oct 30, 2025
5 checks passed
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on November 30

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@pierre-b pierre-b deleted the cursor/move-cron-tick-inside-app-server-ee10 branch October 31, 2025 19:58
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.

3 participants