Description
Expected Behavior
The JS SDK runs several E2E tests before PRs can be accepted. In a recent one, I've updated the E2E test to use the latest Dapr runtime (1.15.3) and CLI (1.15.0).
Since then, one of the E2E tests is failing where it specifies the --dapr-http-max-request-size
flag with an argument value of 10.
Since this argument is listed in the documentation, I would expect it'd be a legal flag.
This appears to be a regression, as I've successfully had two PRs complete E2E testing when this was previously using Dapr CLI version 1.14.0 and Dapr runtime 1.41.1 prior to this PR.
Actual Behavior
That E2E test fails before it even starts with the following ending in an error:
@dapr/dapr@3.5.2 test:e2e:http:server
npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --dapr-http-max-request-size 10 --components-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/http/(server).test.ts' ]
@dapr/dapr@3.5.2 prebuild
./scripts/prebuild.sh
Error: unknown flag: --dapr-http-max-request-size
Usage:
unknown flag: --dapr-http-max-request-size
dapr run [flags]
Steps to Reproduce the Problem
Re-run the failed job.
Release Note
RELEASE NOTE: FIX Dapr CLI allows use of --dapr-http-max-request-size flag fixing regression