Skip to content

Conversation

@JohT
Copy link
Owner

@JohT JohT commented Oct 10, 2024

🚀 Feature

Scan each contained package when whole repo scan failed:

There are situations where the scan of a source repository might fail (e.g. running out of heap memory) or lead to an empty result (e.g. configuration issues). Previously, this lead to a failing scan and therefore no (simple) way to proceed with the analysis.

Now, a second try will be started where every contained package is scanned individually. This can solve the problem in many cases since the scans are then smaller and independent of the root configuration.

One drawback of that is that the TS:Scan node can't be used for detecting the name of the repository since it will then have the same name as the package. There are then also more scans and they can then also include test, example and tutorial packages that might otherwise be skipped.

@JohT JohT self-assigned this Oct 10, 2024
@JohT JohT force-pushed the feature/scan-each-package-when-repo-scan-failed branch from 61ac659 to dbd8566 Compare October 11, 2024 08:58
@JohT JohT marked this pull request as ready for review October 11, 2024 09:02
@JohT JohT changed the title Scan each Typescript package on failing repo scan Scan each contained Typescript package when the scan of the whole source repository failed Oct 11, 2024
@JohT JohT merged commit a0e78c1 into main Oct 11, 2024
4 checks passed
@JohT JohT deleted the feature/scan-each-package-when-repo-scan-failed branch October 11, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants