[PR #554] [MERGED] feat: |Github Action| Deploy Backend add DEBUG_MODE for logging && BA… #619

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

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554
Author: @dreamhunter2333
Created: 1/11/2025
Status: Merged
Merged: 1/11/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • f226593 feat: |Github Action| Deploy Backend add DEBUG_MODE for logging && BACKEND_USE_MAIL_WASM_PARSER to enable mail-parser-wasm-worker

📊 Changes

6 files changed (+67 additions, -7 deletions)

View changed files

.github/config/mail-parser-wasm-worker.patch (+42 -0)
📝 .github/workflows/backend_deploy.yaml (+20 -6)
📝 CHANGELOG.md (+1 -0)
📝 vitepress-docs/docs/zh/guide/feature/telegram.md (+2 -0)
📝 vitepress-docs/docs/zh/guide/github-action.md (+2 -0)
📝 worker/src/common.ts (+0 -1)

📄 Description

User description

…CKEND_USE_MAIL_WASM_PARSER to enable mail-parser-wasm-worker


PR Type

enhancement, documentation


Description

  • Add DEBUG_MODE and BACKEND_USE_MAIL_WASM_PARSER to backend deployment.

  • Enable mail parsing using mail-parser-wasm-worker.

  • Update GitHub Actions workflow for conditional deployment steps.

  • Document new configuration options in the project documentation.


Changes walkthrough 📝

Relevant files
Enhancement
common.ts
Enable WASM mail parsing and clean up logs                             

worker/src/common.ts

  • Enable mail parsing using mail-parser-wasm-worker.
  • Remove redundant console log statement.
  • +0/-1     
    mail-parser-wasm-worker.patch
    Add patch for `mail-parser-wasm-worker`                                   

    .github/config/mail-parser-wasm-worker.patch

    • Add patch file to enable mail-parser-wasm-worker.
    +42/-0   
    backend_deploy.yaml
    Update backend deployment workflow with new options           

    .github/workflows/backend_deploy.yaml

  • Add DEBUG_MODE and BACKEND_USE_MAIL_WASM_PARSER environment variables.
  • Conditionally apply mail-parser-wasm-worker patch.
  • Update deployment steps based on debug mode.
  • +20/-6   
    Documentation
    CHANGELOG.md
    Update changelog with new deployment options                         

    CHANGELOG.md

  • Document new DEBUG_MODE and BACKEND_USE_MAIL_WASM_PARSER options.
  • +1/-0     
    telegram.md
    Document WASM mail parser configuration for Telegram         

    vitepress-docs/docs/zh/guide/feature/telegram.md

    • Add reference to WASM mail parser configuration.
    +2/-0     
    github-action.md
    Add documentation for new GitHub Action options                   

    vitepress-docs/docs/zh/guide/github-action.md

    • Document DEBUG_MODE and BACKEND_USE_MAIL_WASM_PARSER options.
    +2/-0     

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant 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/554 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 1/11/2025 **Status:** ✅ Merged **Merged:** 1/11/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`f226593`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/f22659323507db869b0a1934de45cc64da788ff5) feat: |Github Action| Deploy Backend add DEBUG_MODE for logging && BACKEND_USE_MAIL_WASM_PARSER to enable mail-parser-wasm-worker ### 📊 Changes **6 files changed** (+67 additions, -7 deletions) <details> <summary>View changed files</summary> ➕ `.github/config/mail-parser-wasm-worker.patch` (+42 -0) 📝 `.github/workflows/backend_deploy.yaml` (+20 -6) 📝 `CHANGELOG.md` (+1 -0) 📝 `vitepress-docs/docs/zh/guide/feature/telegram.md` (+2 -0) 📝 `vitepress-docs/docs/zh/guide/github-action.md` (+2 -0) 📝 `worker/src/common.ts` (+0 -1) </details> ### 📄 Description ### **User description** …CKEND_USE_MAIL_WASM_PARSER to enable mail-parser-wasm-worker ___ ### **PR Type** enhancement, documentation ___ ### **Description** - Add `DEBUG_MODE` and `BACKEND_USE_MAIL_WASM_PARSER` to backend deployment. - Enable mail parsing using `mail-parser-wasm-worker`. - Update GitHub Actions workflow for conditional deployment steps. - Document new configuration options in the project documentation. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>common.ts</strong><dd><code>Enable WASM mail parsing and clean up logs</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/common.ts <li>Enable mail parsing using <code>mail-parser-wasm-worker</code>.<br> <li> Remove redundant console log statement. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554/files#diff-fcc08fd5aa3c190d0d45c7e3dd208e5ee831d360b272fdd5869607cf472c5eb1">+0/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>mail-parser-wasm-worker.patch</strong><dd><code>Add patch for `mail-parser-wasm-worker`</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> .github/config/mail-parser-wasm-worker.patch - Add patch file to enable `mail-parser-wasm-worker`. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554/files#diff-085ddec7a4b3babc3f61f960c921fa774d1784396cc74934630d831258d83f1b">+42/-0</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>backend_deploy.yaml</strong><dd><code>Update backend deployment workflow with new options</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> .github/workflows/backend_deploy.yaml <li>Add <code>DEBUG_MODE</code> and <code>BACKEND_USE_MAIL_WASM_PARSER</code> environment variables.<br> <li> Conditionally apply <code>mail-parser-wasm-worker</code> patch.<br> <li> Update deployment steps based on debug mode. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554/files#diff-9c6ad7c4157d025017a135866a4e838aadda6f903124e4a5d4d632f78c8d5cbe">+20/-6</a>&nbsp; &nbsp; </td> </tr> </table></td></tr><tr><td><strong>Documentation</strong></td><td><table> <tr> <td> <details> <summary><strong>CHANGELOG.md</strong><dd><code>Update changelog with new deployment options</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> CHANGELOG.md <li>Document new <code>DEBUG_MODE</code> and <code>BACKEND_USE_MAIL_WASM_PARSER</code> options. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>telegram.md</strong><dd><code>Document WASM mail parser configuration for Telegram</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> vitepress-docs/docs/zh/guide/feature/telegram.md - Add reference to WASM mail parser configuration. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554/files#diff-8486cc6db5e686ad7da420712d4f644e4d706412b200dfecb8c6e06465bfffc6">+2/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>github-action.md</strong><dd><code>Add documentation for new GitHub Action options</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> vitepress-docs/docs/zh/guide/github-action.md - Document `DEBUG_MODE` and `BACKEND_USE_MAIL_WASM_PARSER` options. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/554/files#diff-dc4a45c87aec446874f8b9f2e140517dd99ca6436e82b1206cc2dcac19b6ca16">+2/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull request to receive relevant information --- <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:04 +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#619
    No description provided.