[Feedback] InternalExecutionErrors in sfca v5.12

Open
#2,069 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java
Domain
cli, devtools

Research direction

Start with issue #1497 and the provided sf code-analyzer command and SFGE settings. Determine what the 300000 ms path-evaluation timeout means for a .cls scan and whether the reported InternalExecutionError indicates incomplete analysis; done means documenting or correcting that behavior with a clear explanation of timeout handling.

Written by the indexing model from the issue text.

Description

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 <sfge_target_file> --config-file --output-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.

Dominant language
TypeScript
Stars
240
Forks
52
Avg merge
9h 48m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from forcedotcom/code-analyzer

All issues in forcedotcom/code-analyzer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.