Migrate to Azure Functions Elastic Premium plan #2893
Merged
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.
This pull request primarily removes the
parallel-workerspackage from the repository and cleans up related code and configuration. Additionally, it refines error reporting in Azure credential management and streamlines hash generation logic by removing unused methods. Below are the most important changes grouped by theme:Parallel-workers package removal:
packages/parallel-workersdirectory, including all source files, configuration files, and tests. [1] [2] [3] [4] [5] [6] [7]parallel-workersfrom workspace configuration files, build scripts, and package lists (.vscode/workspace.code-workspace,package.json, and related test/build configs). [1] [2] [3]Hash generator simplification:
getWebsiteScanResultDocumentId,getWebsiteScanResultPartDocumentId, and related test cases) frompackages/common/src/ciphers/hash-generator.tsandpackages/crawler/src/common/hash-generator.ts. [1] [2] [3] [4]packages/crawler/src/common/hash-generator.tsby removing unused dependencies.Azure credential error reporting:
IdentityCredentialCacheto provide more context, including client ID, scope, and stack trace. Updated corresponding test to match the new error message. [1] [2]OpenAPI contract adjustment:
packages/api-contracts/openapi.jsonto remove thescanTypeproperty from one schema and restrict its enum to"accessibility"in another, reflecting a change in supported scan types. [1] [2]Build and ignore file updates:
.txtfiles in.prettierignoreand adjusted thecleanscript inpackage.jsonto remove fewer directories. [1] [2]