Skip to content

Integration test stabilization + update proto and Dapr runtime to 1.12 RC.#917

Merged
artursouza merged 34 commits into
dapr:masterfrom
artursouza:update_1_12_rc
Oct 2, 2023
Merged

Integration test stabilization + update proto and Dapr runtime to 1.12 RC.#917
artursouza merged 34 commits into
dapr:masterfrom
artursouza:update_1_12_rc

Conversation

@artursouza

@artursouza artursouza commented Sep 20, 2023

Copy link
Copy Markdown
Contributor

Description

Update Dapr runtime to 1.12 RC.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: endgame

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

@artursouza artursouza requested review from a team as code owners September 20, 2023 04:36
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
mukundansundar
mukundansundar previously approved these changes Sep 20, 2023
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
artursouza and others added 6 commits September 24, 2023 15:29
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
…12cd099

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
…773cf6b

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
…fc3b01

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
if: env.DAPR_REF != ''
with:
repository: dapr/dapr
repository: artursouza/dapr

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary until the fix is merged in runtime. Don't merge this yet.

* Service for subscriber.
*/
@DaprRunConfig(
enableAppHealthCheck = true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a must to avoid a race condition between invoking a service and it being available.

@artursouza artursouza changed the title Update proto and Dapr runtime to 1.12 RC. Integration test stabilization + update proto and Dapr runtime to 1.12 RC. Sep 27, 2023

// The artificial delay is useful to detect bugs in app health, where the app is invoked too soon.
System.out.printf("Artificial delay of %d seconds ...\n", STARTUP_DELAY_SECONDS);
Thread.sleep(STARTUP_DELAY_SECONDS * 1000);

@artursouza artursouza Sep 27, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows the issue to be reproduced locally, 100% of the time.

mukundansundar
mukundansundar previously approved these changes Sep 27, 2023
@mukundansundar

Copy link
Copy Markdown
Contributor

@artursouza Just one question, as a whole we are waiting for Dapr to be completely ready before invoking any service right?

@mukundansundar mukundansundar dismissed their stale review September 27, 2023 06:21

The E2E are still failing on the MethodInvokeITs

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
…74e3bc3329

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
@artursouza

Copy link
Copy Markdown
Contributor Author

@artursouza Just one question, as a whole we are waiting for Dapr to be completely ready before invoking any service right?

Yes but with this change, I am also waiting for the app's health endpoint.

Comment thread .github/workflows/build.yml Outdated
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.12.0-rc.1/install/install.sh
DAPR_CLI_REF:
DAPR_REF:
DAPR_REF: 72b6f7374a670c3054427aa2b01d2374e3bc3329

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fix that allows runtime's grpc app channel to recover.

…bdde388

Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
@codecov

codecov Bot commented Sep 30, 2023

Copy link
Copy Markdown

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (96c0418) 76.19% compared to head (a346a3c) 76.19%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #917   +/-   ##
=========================================
  Coverage     76.19%   76.19%           
  Complexity     1433     1433           
=========================================
  Files           135      135           
  Lines          4399     4399           
  Branches        518      518           
=========================================
  Hits           3352     3352           
  Misses          766      766           
  Partials        281      281           

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

@artursouza

Copy link
Copy Markdown
Contributor Author

Force merging this to unblock the release.

@artursouza artursouza merged commit 7f76d5b into dapr:master Oct 2, 2023
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.

2 participants