Skip to content

fix(proto): update gRPC requests to use the correct request parameters#581

Merged
shubham1172 merged 7 commits intodapr:mainfrom
shubham1172:shubham1172/fix-proto-issue
Mar 6, 2024
Merged

fix(proto): update gRPC requests to use the correct request parameters#581
shubham1172 merged 7 commits intodapr:mainfrom
shubham1172:shubham1172/fix-proto-issue

Conversation

@shubham1172
Copy link
Copy Markdown
Member

@shubham1172 shubham1172 commented Mar 6, 2024

Description

Some protos were updated in dapr/dapr@4d4c8b9, which were not changed in the SDK. Two problems,
(1) no compile time errors
(2) our e2e tests were ... not reporting failure! 🤦🏻

This PR:
(1) fixes the two specific requests that had changed in the proto - getMetadata and shutdown
(2) fixes the NPM script which was using ; instead of && for e2e tests (https://unix.stackexchange.com/questions/187145/whats-the-difference-between-semicolon-and-double-ampersand)
(3) removes a test introduced in #571, which won't work with Redis. It need Postgres/Azure app config.

Issue reference

Please reference the issue this PR will close: #580

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.79%. Comparing base (1f8c1f9) to head (f5390c2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #581   +/-   ##
=======================================
  Coverage   55.79%   55.79%           
=======================================
  Files          14       14           
  Lines         319      319           
  Branches       63       63           
=======================================
  Hits          178      178           
  Misses        124      124           
  Partials       17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
@shubham1172 shubham1172 changed the title [WIP] TODO fix(proto): update gRPC requests to use the correct request parameters Mar 6, 2024
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
@shubham1172 shubham1172 marked this pull request as ready for review March 6, 2024 19:42
@shubham1172 shubham1172 requested review from a team as code owners March 6, 2024 19:42
@shubham1172 shubham1172 added this pull request to the merge queue Mar 6, 2024
Merged via the queue into dapr:main with commit 3b995ef Mar 6, 2024
shubham1172 added a commit to shubham1172/js-sdk that referenced this pull request Mar 6, 2024
dapr#581)

* See if actions break

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update getMetadata and shutdown usage

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Revert temp change

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Remove a test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

---------

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
shubham1172 added a commit that referenced this pull request Mar 6, 2024
* fix(proto): update gRPC requests to use the correct request parameters (#581)

* See if actions break

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update getMetadata and shutdown usage

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Revert temp change

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Remove a test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Lint

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

---------

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* chore(release): Prepare for v3.3.1 release (#582)

Bump package version;

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

---------

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
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.

Regression: Sidecar not found by js-sdk in several cases using final release of 3.3.0

2 participants