forcedotcom / forcedotcom/code-analyzer

[Feedback] InternalExecutionErrors in sfca v5.12

オープン
#2,069 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
240
フォーク
52
平均マージ
1日 23時間
マージ済み PR(30日)
5

説明

### Feedback

Hi,

We are using SFCA v5.12 and we are still seeing InternalExecutionError coming in the logs for our SFGE scan. This is our SFGE settings:
sfge:
java_thread_count: 10
java_thread_timeout: 300000

The command we use is: sf code-analyzer run --rule-selector sfge --target --config-file --output-file

I can see from this ticket (https://github.com/forcedotcom/code-analyzer/issues/1497) there have been improvements made from v5.11 onwards but we do still see errors such as 'Path evaluation timed out after 300000 ms' , does this mean the scanner is unable to scan through the enter .cls file? Because if we don't set a timeout the scan doesn't seem to end. Please help to advise, thanks

### Context

_No response_

### Suggestions

_No response_

### Additional Information

_No response_

### Are you interested in contributing to this project?

Yes, I'd like to contribute.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

issue #1497 と、提供された sf code-analyzer コマンドおよび SFGE 設定から始めます。.cls スキャンにおける 300000 ms のパス評価タイムアウトが何を意味するのか、また報告された InternalExecutionError が分析の不完全さを示しているのかを判断します。完了とは、タイムアウト処理について明確に説明したうえで、その挙動を文書化または修正することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
cli, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。