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

Nightly pekko 1.1 tests #181

Merged
merged 4 commits into from
Apr 25, 2024
Merged

Conversation

pjfanning
Copy link
Contributor

  • When I run these locally I get 2 errors
  • We need to keep better eye on whether pekko 1.1 breaks things
  • also removes the support of migration-tool branch which no longer exists


on:
schedule:
- cron: "0 0 * * *"
Copy link
Member

Choose a reason for hiding this comment

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

Should we defer the time after pekko nightly published?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

makes sense - I have changed this to run at 4am

@pjfanning
Copy link
Contributor Author

Example failure. I don't know if this is a new check in pekko-persistence.

[info] - should find persistenceIds for actors *** FAILED *** (106 milliseconds
[info]   java.lang.AssertionError: assertion failed: received unexpected message RealMessage(OnError(java.lang.IllegalArgumentException: Task scheduled with [0] seconds delay, which means creating an infinite loop. The expected delay must be greater than 0.

uses: coursier/cache-action@v6

- name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
run: sbt -Dpekko.build.pekko.version=main "++${{ matrix.scala-version }} test" ${{ matrix.sbt-opts }}
Copy link
Member

Choose a reason for hiding this comment

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

with sbt package ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I need to run the test

Copy link
Member

Choose a reason for hiding this comment

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

Package will run the test too,IIRC, what about test;package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why do I need to package? it is the tests that we need to run

Copy link
Member

Choose a reason for hiding this comment

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

It can test the doc format

Copy link
Member

Choose a reason for hiding this comment

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

Let's merge this then, anyway this pr is a great addition

@pjfanning
Copy link
Contributor Author

new test issues seem to be due to apache/pekko#887

I can come back and do another PR to try to update the test

@pjfanning
Copy link
Contributor Author

I actually think we might need to revert apache/pekko#887

@He-Pin
Copy link
Member

He-Pin commented Apr 25, 2024

I think the code is right , a delay 0 will be a busy loop, and as the scheduler tick at 1ms, so how about change the delay to 1ms?

@pjfanning pjfanning merged commit 015ddd3 into apache:main Apr 25, 2024
20 checks passed
@pjfanning pjfanning deleted the nightly-pekko-1.1-tests branch April 25, 2024 18:40
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