-
Notifications
You must be signed in to change notification settings - Fork 507
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 556 #763
Fix 556 #763
Conversation
Signed-off-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: francesco.belacca <francesco.belacca@agic.cloud>
Signed-off-by: francesco.belacca <francesco.belacca@agic.cloud>
added missing nodemon dev dependency. solved nth-check security warning through resolutions Signed-off-by: francesco.belacca <francesco.belacca@agic.cloud>
For the FE part that i changed, i re-tested locally and everything seems ok: cd to react-calculator npm install dapr run --app-id frontendapp --app-port 8080 --dapr-http-port 3507 node server.js As specified in the tutorial here: https://github.com/MACEL94/fix-556/tree/fix-556/tutorials/distributed-calculator#running-the-quickstart-locally |
@yaron2 let me know if I need to add any info or change something, thanks |
Thank you much. I'm looking into why the first check failed, and once we rerun that we can merge this. |
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
@paulyuk sorry to see there are still problems, my bad for not trying in the devcontainer before pushing(I didn't notice the .devcontainer folder). Will try again locally as soon as I have time and get back to you |
I looked into it and we can add I'd suggest to add that but also to change the second log from
Because the important part here is just that the order was received and then correctly persisted, it doesn't matter if the log in the meantime do anything else. Let me know your opinion, and if you agree I can pick this up and solve it. |
…ts in hello-kubernetes tutorial Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
… the new code that will be available only when the new image is published Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
… of repos other than dapr/samples Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
… to ghcr of repos other than dapr/samples" This reverts commit dd732bc. Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
…est with the new code that will be available only when the new image is published" This reverts commit b955d53. Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
Hi @paulyuk @greenie-msft @yaron2 if you're ok with the change please take this PR and re-publish the samples images, then i expect the test to pass. But i assume this is intended so let me know if you need me to test in any other way. |
@macel94 thanks for the contributions! One idea that I had to test these changes before merging into master is to create a new branch (in the quickstart repo) and target this PR at that branch. We would then add the new branch into this list that automatically publishes new images: https://github.com/dapr/quickstarts/blob/master/.github/workflows/build.yml#L18 That workflow ^ is what is responsible for pushing new images of the src code. What do you think about that? Would that be an easy way to test your changes before merging into master? If so, I can create that new branch now based off of master. |
yes that would help me! Thank you |
@macel94 Branch is created and the workflow has been updated to run on changes to the branch. Please open the PR targeting https://github.com/dapr/quickstarts/tree/feature/556-tutorials-fix and let's see if the tests pass. Thank you! |
Signed-off-by: Francesco Belacca <francesco.belacca@hotmail.it>
@macel94 - Did you get the tests to run successfully? |
Hi @msfussell I tagged you in #771 explaining why right now they can't pass. I changed part of the code that needs to be built and published before the tests can pass(as the tests use the latest image published, not the actual source code). Before they can pass the other pr(#771) needs to be merged so that the new images are published with the ID in the log message when the order is processed. Let me know if I didn't explain well what I meant |
#771 is in, pending that we do this. |
Hi @macel94 note we went in a direction to rewrite/refactor the entire suite of actions to reduce core parallelism and reliability issues. The work you've done here definitely contributed to and influenced the direction. As for this exact PR, it may or may not make sense to sync it and pursue it after we've done the extensive changes in #805 . Happy to chat. |
Signed-off-by: Francesco Belacca <francesco.belacca@hotmail.it>
Merge pull request #2 from macel94/fix-556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - improves quality and nth check
Description
No package-lock was needed because in the project yarn it's used, so i deleted it, generated the correct yarn.lock files.
I generated them after solving the audit issue about nth-check setting the version which yarn needs to solve in the "resolutions" part of the package.json files.
While recompiling with "npm run dev" i also noticed the package.json were missing nodemon in the "devDependencies" section so i fixed that too, and after another "yarn" i was able to run the solution successfully.
Issue reference
We strive to have all PRs 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: #556
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: