Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Mar 6, 2024

Conversation

shubham1172
Copy link
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>
Copy link

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
8 checks passed
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