Enable Multi-App Run for JavaScript HTTP bindings quickstart#1292
Merged
alicejgibbons merged 8 commits intodapr:release-1.17from Mar 6, 2026
Merged
Conversation
Signed-off-by: Adepu Sri Charan <sricharan.adepu36@gmail.com>
| <!-- STEP | ||
| name: Run batch-http service | ||
| working_dir: ./batch | ||
| expected_stdout_lines: |
Contributor
There was a problem hiding this comment.
== APP - batch-http == insert into orders (orderid, customer, price) values (1, 'John Smith', 100.32);
== APP - batch-http == insert into orders (orderid, customer, price) values (2, 'Jane Bond', 15.4);
== APP - batch-http == insert into orders (orderid, customer, price) values (3, 'Tony James', 35.56);
Contributor
Author
There was a problem hiding this comment.
Thanks for the review!
I’ve updated the expected stdout lines to match the output from dapr run -f . and pushed the fix. The validation now passes locally. Please take another look.
alicejgibbons
requested changes
Mar 4, 2026
| <!-- STEP | ||
| name: Run batch-http service | ||
| working_dir: ./batch | ||
| expected_stdout_lines: |
…ation Update expected_stdout_lines to use substring matching without the == APP == prefix and include trailing semicolons to match the actual output from 'dapr run -f .' multi-app run format. Signed-off-by: Adepu Sri Charan <sricharan.adepu36@gmail.com>
Resolve conflict in bindings/javascript/http/README.md: keep semicolons in expected_stdout_lines since the JS code outputs them. Signed-off-by: Adepu Sri Charan <sricharan.adepu36@gmail.com>
Resolve conflicts in bindings/javascript/http: - dapr.yaml: use upstream configuration (appPort 5004, node index.js) - README.md: keep multi-app run documentation and verification section Signed-off-by: Adepu Sri Charan <sricharan.adepu36@gmail.com>
Contributor
|
Thanks @AdepuSriCharan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR updates the JavaScript HTTP bindings quickstart to use Dapr Multi-App Run as the default execution method.
Previously, users had to manually start the application using a long
dapr runcommand with multiple flags:Now the quickstart can be started with a single command:
This aligns the JavaScript quickstart with the already merged Java quickstart and significantly improves the onboarding experience and reproducibility for first-time users.
Issue reference
Fixes #962
Changes
Added
bindings/javascript/http/dapr.yaml
Defines:
Updated
bindings/javascript/http/README.md
dapr runcommand withdapr run -f .dapr init)docker compose up -dVerification
Tested locally.
1. Start database
2. Install dependencies
3. Run the quickstart
Observed
Verified with
Records increase over time, confirming the full end-to-end flow.
Checklist