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

Disable updateRestateDependency task on CI #251

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

slinkydeveloper
Copy link
Collaborator

Fix 082e023#r137148028 and 082e023#r137148028

What's happening in that test script is that we run npm install <tar> from the workflow file first, and then npm update from the gradle script, which overwrites the sdk. This seems incorrect.

Copy link

github-actions bot commented Jan 16, 2024

Test Results

102 files  ±0  102 suites  ±0   10m 23s ⏱️ +2s
 93 tests ±0   93 ✅ ±0  0 💤 ±0  0 ❌ ±0 
232 runs  ±0  232 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 292b6f9. ± Comparison against base commit 7258894.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks for creating this PR @slinkydeveloper. Before merging it, I would like to understand why updating an dependency after running a fresh install operation leads to a problem. If the latest dependency version was installed then updating it should result into the same dependency version. If install installed an outdated version, then updating it should run it with the latest version.

Comment on lines +33 to 35
// On CI we don't need to update the restate dependency, this is done implicitly by the e2e
// workflow.
dependsOn("updateRestateDependency")
Copy link
Contributor

Choose a reason for hiding this comment

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

What I would like to understand is how does updating the restate-sdk dependency lead to a problem after a fresh install?

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