No progress during "Streaming the extraction of the CodeQL bundle"

未關閉
#2,790 2 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
32/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
github-actions, typescript
領域
ci-cd, security

研究方向

該 issue 沒有指定原始碼檔案或測試;請先追蹤 CodeQL bundle 的下載,以及日誌中顯示的 tar -x --zstd 解壓縮步驟。重現或插樁解壓縮路徑,以確定它為何可能數小時沒有進展;當原因以及經過驗證的修正或診斷完成記錄後,即可視為該 issue 已完成。

由索引模型根據 Issue 內容生成。

描述

Every now and then, we see this error in our CodeQL scans. Both default and "advanced" ones:

  Written by John Gilmore and Jay Fenlason.
  Found gnu tar version 1.34.
  Did not find CodeQL tools version 2.20.5 in the toolcache.
  Looked for CodeQL bundle codeql-bundle-linux64.tar.zst in github/codeql-action on https://git.xxxxxxx.com but got error HttpError: Not Found.
  Using CodeQL CLI version 2.20.5 sourced from https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.20.5/codeql-bundle-linux64.tar.zst .
  Downloading CodeQL tools from https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.20.5/codeql-bundle-linux64.tar.zst . This may take a while.
  Streaming the extraction of the CodeQL bundle.
  tar -x --zstd --ignore-zeros --warning=no-unknown-keyword --overwrite -f - -C /_work/_temp/82a785df-7d7a-4843-a891-ff0b9e40xxxx
Error: The operation was canceled.

The above message is from the latest time we saw this error (01/03/25), which is post v3.28.10 as the usage of "--ignore-zeros" seems to confirm for the tar command.

The operation being cancelled, is due to a time out after a few hours of apparently, nothing happening.

The error happens from way back and we are unable to see any transcient problem in our compute/network resources that helps us understand.

主要語言
TypeScript
星號
1.6k
分支
493
平均合併
1 天 13 小時
30 天內合併 PR
44

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/codeql-action 的其他 Issue

查看 github/codeql-action 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。