Conversation
…反映新功能與模組結構。 (#14) Co-authored-by: sd0 <software.develop.0x@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15 +/- ##
==========================================
- Coverage 66.42% 65.67% -0.75%
==========================================
Files 96 102 +6
Lines 3937 4087 +150
Branches 798 794 -4
==========================================
+ Hits 2615 2684 +69
- Misses 1321 1401 +80
- Partials 1 2 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
532f9dc to
91e6a33
Compare
…build.yaml 檔案以整合 Cloud Build 部署流程;更新 gcp-deploy-unified.yml,簡化部署工作流程;擴展 setup-gcp.sh 和 setup-secrets.sh 腳本以支援 Cloud Build 服務帳號權限設置;更新 Redis 配置以支援 URL 形式的連接。 fix: 移除不支援的 cache 選項 feat: Grants object viewer and service usage roles Adds necessary roles to the project and Cloud Build service account, specifically granting object viewer and service usage consumer permissions. This enables access to storage objects and the ability to consume services within the GCP project. fix: Grants Cloud Build necessary permissions Adds minimal required permissions to address Cloud Build bucket access issues. Specifically, it grants `cloudbuild.builds.builder` and `storage.objectCreator` roles to both the project and Cloud Build service account. The `storage.objectCreator` role is used instead of the full Admin role to restrict permissions to the minimum necessary for creating objects. feat: 更新 cloudbuild.yaml 和 gcp-deploy-unified.yml,調整環境變數配置以支持更靈活的映像名稱生成,並確保部署過程中使用正確的區域參數。 fix: 更新 gcp-deploy-unified.yml,將 substitutions 參數列表包裹在引號中,以確保正確處理環境變數。 feat: 更新 cloudbuild.yaml,確保映像標籤始終有值,並調整環境變數配置以支持更靈活的映像名稱生成,提升部署過程的穩定性。 fix: 更新 gcp-deploy-unified.yml,手動構建完整映像路徑並調整 substitutions 參數,確保在部署過程中正確處理環境變數。 feat: 更新 cloudbuild.yaml 和 gcp-deploy-unified.yml,將映像名稱後綴變數從 IMAGE_SUFFIX 改為 APP_SUFFIX,並調整相關邏輯以提升環境變數的靈活性與可讀性。 feat: 更新 cloudbuild.yaml 和 gcp-deploy-unified.yml,調整環境變數設置邏輯,確保在部署過程中使用純 Bash 變數,提升可讀性與靈活性。 feat: 更新 cloudbuild.yaml 和 gcp-deploy-unified.yml,將映像名稱後綴變數統一為 suffix,並調整相關邏輯以提升環境變數的可讀性與一致性。 feat: 新增測試和驗證腳本以檢查 Cloud Build 變數的正確性,並優化 cloudbuild.yaml 的變數使用方式,提升可讀性與穩定性。 feat: 更新 cloudbuild.yaml,簡化映像標籤生成邏輯,確保使用 SHORT_SHA 或 latest 作為標籤,並調整環境變數配置以提升可讀性與靈活性。 feat: 更新 cloudbuild.yaml 和 gcp-deploy-unified.yml,新增 _GIT_SHA 環境變數以支持映像標籤生成,並調整 validate-cloudbuild.sh 腳本以包含該變數,提升部署過程的靈活性與穩定性。 feat: 更新 cloudbuild.yaml 和 gcp-deploy-unified.yml,新增 _GIT_SHA 環境變數以支持映像標籤生成,並調整 validate-cloudbuild.sh 腳本以包含該變數,提升部署過程的靈活性與穩定性。 feat: 更新 cloudbuild.yaml,將 Docker 映像建置過程從 Docker CLI 轉換為 Kaniko,簡化建置邏輯並提升效率;新增快取功能以加速重複建置,並調整標籤生成邏輯以支持多個標籤版本。 feat: 更新 WebhookManagementService,新增 webhook ID 獲取邏輯,若未找到則嘗試創建新的 webhook,並記錄相應的錯誤信息以提升錯誤處理能力。 feat: 更新 cloudbuild.yaml,新增 logging 設定為 CLOUD_LOGGING_ONLY,以提升日誌管理與監控能力。 fix: 移除 webhook ID 檢查邏輯,簡化 webhook 創建流程,提升代碼可讀性與錯誤處理能力。 feat: 在 WebhookManagementService 測試中新增 createNewWebhook 方法的測試案例,涵蓋成功創建新 webhook 及處理錯誤情況,提升測試覆蓋率與錯誤處理能力。 fix: 在 WebhookManagementService 中新增錯誤日誌,當 Alchemy API 金鑰未配置時記錄錯誤信息,以提升錯誤處理能力。 feat: 更新 cloud-run-service.template.yaml,新增 ALCHEMY_API_KEY 環境變數配置,以支持 Alchemy API 的金鑰管理。 feat: 在 WebhookController 中新增清除簽名金鑰快取的邏輯,以提升簽名驗證的安全性與可靠性。 feat: 在 WebhookManagementService 中新增緩存服務以防止同時創建 webhook,並優化 webhook ID 獲取邏輯,提升錯誤處理能力與性能。 refactor: 簡化 WebhookManagementService 中的 webhook ID 獲取邏輯,移除重試機制,並在未找到 webhook ID 時記錄錯誤信息以提升錯誤處理能力;更新測試以移除不再需要的案例。 refactor: 移除 WebhookManagementService 中的 webhook ID 緩存邏輯,簡化獲取 webhook ID 的流程,提升代碼可讀性與錯誤處理能力。 feat: 更新 cloudbuild.yaml,將映像標籤生成邏輯中的 SHORT_SHA 改為 _GIT_SHA,並調整 node_env 環境變數的設置邏輯,以支持 staging 環境,提升部署過程的靈活性與穩定性。
fix: 移除 Solana 和 EVM 鏈服務中的默認餘額實現,改為拋出提供者錯誤,提升錯誤處理能力;更新 WebhookManagementService 中的網絡識別邏輯,確保正確使用 networkId。 fix: 更新 Solana 和 EVM 鏈服務中的錯誤處理邏輯,將默認餘額返回改為拋出錯誤,提升錯誤處理能力;更新測試用例以確保在地址無效或提供者不支持的情況下正確拋出錯誤。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created by GitHub Action