fix(ci): 修正 E2E Merge Reports 下載路徑導致 main CI 長期紅燈#482
Merged
Conversation
- E2E Full 兩 shard 全綠,但 merge-reports 因 blob 下載到 repo 根而 cwd 在 apps/ratewise 找不到報告而失敗 - download-artifact path 改為 apps/ratewise/all-blob-reports,對齊 pnpm --filter exec 的套件工作目錄 - 修正後 main push 的 E2E Merge Reports 可正常合併報告,main CI 由長期紅燈轉綠 測試:本機核對 yaml 路徑與 cwd 對齊;修正後以 main push 的 E2E Merge Reports 由 fail 轉 pass 驗證
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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.
背景
main 的「CI」workflow 長期紅燈(#472/#446/#474/#478/#479 連續失敗),根因非程式碼。
根因
E2E Full兩 shard 全綠並上傳 blob,但E2E Merge Reportsjob:download-artifact下載到 repo 根的all-blob-reports/pnpm --filter @app/ratewise exec playwright merge-reports ... ./all-blob-reports的 cwd 為apps/ratewise/./all-blob-reports指向不存在的apps/ratewise/all-blob-reports→ merge 找不到報告 → job 失敗修法(最小)
download-artifact
path改為apps/ratewise/all-blob-reports,對齊 merge 指令 cwd 與輸出apps/ratewise/playwright-report。驗證
合併後 main push 的
E2E Merge Reports應由 fail 轉 pass。