[PR #670] [MERGED] fix: cron job not run when clean days is 0 #689

Closed
opened 2026-02-26 21:32:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670
Author: @dreamhunter2333
Created: 6/18/2025
Status: Merged
Merged: 6/18/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • 92c1151 fix: cron job not run when clean days is 0

📊 Changes

11 files changed (+774 additions, -773 deletions)

View changed files

📝 .github/workflows/pr_agent.yml (+1 -1)
📝 CHANGELOG.md (+1 -0)
📝 frontend/package.json (+4 -4)
📝 frontend/pnpm-lock.yaml (+259 -259)
📝 frontend/src/views/admin/Maintenance.vue (+2 -2)
📝 pages/package.json (+1 -1)
📝 vitepress-docs/package.json (+2 -2)
📝 vitepress-docs/pnpm-lock.yaml (+281 -281)
📝 worker/package.json (+8 -8)
📝 worker/pnpm-lock.yaml (+212 -212)
📝 worker/src/scheduled.ts (+3 -3)

📄 Description

PR Type

Bug fix, Enhancement, Dependencies


Description

  • Fixed cron job behavior when cleanup days is set to 0.

  • Updated frontend and worker logic to handle 0-day cleanup correctly.

  • Upgraded multiple dependencies across projects for better compatibility.

  • Updated GitHub Actions workflow to use a specific Docker image for PR Agent.


Changes walkthrough 📝

Relevant files
Enhancement
1 files
Maintenance.vue
Updated tooltip to clarify 0-day cleanup behavior               
+2/-2     
Bug fix
1 files
scheduled.ts
Removed unnecessary condition for 0-day cleanup                   
+3/-3     
Dependencies
5 files
pnpm-lock.yaml
Updated dependencies for frontend project                               
+259/-259
package.json
Updated package versions for frontend dependencies             
+4/-4     
package.json
Updated package versions for worker dependencies                 
+8/-8     
package.json
Updated wrangler dependency version                                           
+1/-1     
package.json
Updated dependencies for VitePress documentation                 
+2/-2     
Configuration changes
1 files
pr_agent.yml
Updated PR Agent GitHub Action to use Docker image             
+1/-1     
Documentation
1 files
CHANGELOG.md
Added entry for fixing 0-day cleanup issue                             
+1/-0     
Additional files
2 files
pnpm-lock.yaml +281/-281
pnpm-lock.yaml +212/-212

Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 6/18/2025 **Status:** ✅ Merged **Merged:** 6/18/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`92c1151`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/92c1151f0ab25a635c27c3f8ca13221a44a7a662) fix: cron job not run when clean days is 0 ### 📊 Changes **11 files changed** (+774 additions, -773 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pr_agent.yml` (+1 -1) 📝 `CHANGELOG.md` (+1 -0) 📝 `frontend/package.json` (+4 -4) 📝 `frontend/pnpm-lock.yaml` (+259 -259) 📝 `frontend/src/views/admin/Maintenance.vue` (+2 -2) 📝 `pages/package.json` (+1 -1) 📝 `vitepress-docs/package.json` (+2 -2) 📝 `vitepress-docs/pnpm-lock.yaml` (+281 -281) 📝 `worker/package.json` (+8 -8) 📝 `worker/pnpm-lock.yaml` (+212 -212) 📝 `worker/src/scheduled.ts` (+3 -3) </details> ### 📄 Description ### **PR Type** Bug fix, Enhancement, Dependencies ___ ### **Description** - Fixed cron job behavior when cleanup days is set to 0. - Updated frontend and worker logic to handle 0-day cleanup correctly. - Upgraded multiple dependencies across projects for better compatibility. - Updated GitHub Actions workflow to use a specific Docker image for PR Agent. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>Maintenance.vue</strong><dd><code>Updated tooltip to clarify 0-day cleanup behavior</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-68808e9c7bcf8b34a2d45265cca130c547b77e75a97350ea7d16682e69922ae4">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Bug fix</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>scheduled.ts</strong><dd><code>Removed unnecessary condition for 0-day cleanup</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-32db4dd84c910f05f07a8a392340ce79b637bcb01d929f6df09f3ba94acfa9b7">+3/-3</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>5 files</summary><table> <tr> <td><strong>pnpm-lock.yaml</strong><dd><code>Updated dependencies for frontend project</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-41b1ff3a74ba81fa74c8dd225d66d81573be3f2990e1d98b9b09798b147d40a8">+259/-259</a></td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated package versions for frontend dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655">+4/-4</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated package versions for worker dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-89dc6f41a53ce13f2da5a00dd34868762e6cd0df46eddc9f5c3c4510b1493870">+8/-8</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated wrangler dependency version</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-74314f72f6616d400be4cb0d161867d8148f23c22d4c12c7188aedb129c00c59">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td><strong>package.json</strong><dd><code>Updated dependencies for VitePress documentation</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-3adbfbfaa65ecc60f48c8d009a52c697d4c80d61ee887799df22407fcb73f380">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Configuration changes</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>pr_agent.yml</strong><dd><code>Updated PR Agent GitHub Action to use Docker image</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-fc2b2ed01cad745cb09e9c20e7c91db7f4f1eb9796abb84bbdce7dd0f77dace8">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>CHANGELOG.md</strong><dd><code>Added entry for fixing 0-day cleanup issue</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Additional files</strong></td><td><details><summary>2 files</summary><table> <tr> <td><strong>pnpm-lock.yaml</strong></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-655c1410f6eacceaa9003212a9f840a660ace35e32e60d792be3640ec774af6f">+281/-281</a></td> </tr> <tr> <td><strong>pnpm-lock.yaml</strong></td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/670/files#diff-b40cf923090a5fb5f6cc0d6ce716c560645419d762871abb50383fdb423288c6">+212/-212</a></td> </tr> </table></details></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:27 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#689
    No description provided.