Skip to content

Conversation

@Hell1213
Copy link
Contributor

@Hell1213 Hell1213 commented Jan 20, 2026

Description

Added auto-sync after task editing to eliminate manual sync button click. Backend uses async job queue, so added 1-second delay before syncing to ensure job completes.

Checklist

  • Ran npx prettier --write . (for formatting)
  • Ran gofmt -w . (for Go backend)
  • Ran npm test (for JS/TS testing)
  • Added unit tests, if applicable
  • Verified all tests pass
  • Updated documentation, if needed

Additional Notes

Only frontend change - 3 lines in handleEditTaskOnBackend() to wait for async job then auto-sync.

Screencast.from.2026-01-20.11-10-05.mp4

The current job queue was volatile and jobs would be lost on backend restarts.
This implements a bbolt-based persistent queue that stores jobs to disk and
restores them on startup. Also added a cron-based maintenance worker that
automatically cleans up old completed and failed job logs to prevent unbounded
disk usage. All existing functionality is preserved and the new features are
fully configurable via environment variables.

Resolves CCExtractor#367
Fixed job restoration to prevent duplicates and added queue environment variables to production files for Docker/Kubernetes deployments.
@github-actions
Copy link

Thank you for opening this PR!

Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools.

Please take a moment to:

  • Check the "Files changed" tab
  • Leave comments on any lines for functions, comments, etc. that are important, non-obvious, or may need attention
  • Clarify decisions you made or areas you might be unsure about and/or any future updates being considered.
  • Finally, submit all the comments!

More information on how to conduct a self review:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request

This helps make the review process smoother and gives us a clearer understanding of your thought process.

Once you've added your self-review, we'll continue from our side. Thank you!

@Hell1213 Hell1213 marked this pull request as draft January 20, 2026 06:38
@Hell1213 Hell1213 closed this Jan 20, 2026
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.

After editing tasks in the UI I need to sync

1 participant