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

[Backport release-8.1.0]: Remove actor#submit from ScheduleService #10584

Merged
merged 5 commits into from Sep 30, 2022

Conversation

Zelldon
Copy link
Member

@Zelldon Zelldon commented Sep 30, 2022

Description

Backports #10554 to the release branch, since I think it makes sense to have in the release as well. Afterwards I have to recreate the benchmarks and rerun the e2e tests.

I had to do cherry-pick manually since there were conflicts with the ProcessingScheduleServiceIntegrationTest (we delete them in this PR). No other commit was harmed.

Related issues

closes #10291

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/1.3) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • New content is added to the release announcement
  • If the PR changes how BPMN processes are validated (e.g. support new BPMN element) then the Camunda modeling team should be informed to adjust the BPMN linting.

Please refer to our review guidelines.

Copy link
Member

@oleschoenburg oleschoenburg left a comment

Choose a reason for hiding this comment

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

Thanks!

bors r+

zeebe-bors-camunda bot added a commit that referenced this pull request Sep 30, 2022
10584: [Backport release-8.1.0]: Remove actor#submit from ScheduleService r=oleschoenburg a=Zelldon

## Description


Backports #10554 to the release branch, since I think it makes sense to have in the release as well. Afterwards I have to recreate the benchmarks and rerun the e2e tests.
<!-- Please explain the changes you made here. -->

I had to do cherry-pick manually since there were conflicts with the ProcessingScheduleServiceIntegrationTest (we delete them in this PR). No other commit was harmed. 

## Related issues

<!-- Which issues are closed by this PR or are related -->

closes #10291



Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Sep 30, 2022

Test Results

   934 files   -   1     934 suites   - 1   2h 7m 8s ⏱️ - 1m 41s
7 300 tests  - 27  7 292 ✔️  - 27  8 💤 ±0  0 ±0 
7 488 runs   - 27  7 480 ✔️  - 27  8 💤 ±0  0 ±0 

Results for commit 1de79b6. ± Comparison against base commit c7ff8cd.

♻️ This comment has been updated with latest results.

@zeebe-bors-camunda
Copy link
Contributor

Build failed:

@Zelldon
Copy link
Member Author

Zelldon commented Sep 30, 2022

bors r+

zeebe-bors-camunda bot added a commit that referenced this pull request Sep 30, 2022
10584: [Backport release-8.1.0]: Remove actor#submit from ScheduleService r=Zelldon a=Zelldon

## Description


Backports #10554 to the release branch, since I think it makes sense to have in the release as well. Afterwards I have to recreate the benchmarks and rerun the e2e tests.
<!-- Please explain the changes you made here. -->

I had to do cherry-pick manually since there were conflicts with the ProcessingScheduleServiceIntegrationTest (we delete them in this PR). No other commit was harmed. 

## Related issues

<!-- Which issues are closed by this PR or are related -->

closes #10291



Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
@zeebe-bors-camunda
Copy link
Contributor

Build failed:

Using an own executor avoids using the ProcessingScheduleService, which
shouldn't be accessed from outside the Processing Actor.

Furthermore, we reduce the access to the LogStream object from the
Context.
Finally remove the LogStream from the API, which removed the last remaining LogStream knowledge from the engine/processing API
@Zelldon
Copy link
Member Author

Zelldon commented Sep 30, 2022

I have rebased, there went something wrong with bors merge.

@Zelldon
Copy link
Member Author

Zelldon commented Sep 30, 2022

bors r+

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit 76a9ce9 into release-8.1.0 Sep 30, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the zell-bp-10554-for-10291 branch September 30, 2022 14:14
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.

None yet

2 participants