-
Notifications
You must be signed in to change notification settings - Fork 178
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
moving pr 1743 to node 8.9.1 #1747
Conversation
## Description Fixes to binary download option ## Where should the reviewer start? Ensure the -s d option works correctly ## Motivation and context Tried the `node-8.9.0` branch and ran into issues with where the script was looking for various binaries ## Which issue it fixes? Did not create an issue ## How has this been tested? Used it on my relay to test
updating docker to 8.9.1
Another way to handle this PR would be to merge to alpha then close #1743 |
Separate from the review comments already left, I don't believe using node-8.9.0 as the base is correct. The tags are intended to provide a static commit that can be used when breaking changes occur within the master branch. I don't believe they get updated after that point, but I will defer to @rdlrt and @Scitz0 on that point. |
Do you propose that the work to implement 8.9.1 should have been baselined from tag 8.1.2? Should we just discard all of the 8.9.0 effort? I reviewed the work in node-8.9.0 and found value and intended to preserve it. fwiw, this is my first attempt at contributing to this project. I have been a user and supporter for some time. |
reverting cncli repo URL hard coding.
I'm not referring to the starting point of your branch. I was referring to the base branch for your PR to merge into cardano-community:node-8.9.0 instead of cardano-community:alpha. Generally all PR's target alpha. A tag, node-8.9.0 in this case I believe is simply created prior to merging any breaking changes into master. Thus node versions may not exists as a tag in the guild-operators repository between many versions when config changes etc. do not cause a breaking change. Or at least that's what I recall of how tags are used in this repository. If I describe this incorrectly @rdlrt or @Scitz0 would be the ones to clarify if this was changed at some point. |
I believe node-8.9.0 is a branch and not a tag: https://github.com/cardano-community/guild-operators/tree/node-8.9.0 I would expect the tag to be attached to a release commit post PR merge. Maybe the solution is for me to just target alpha directly in this PR. Please advise. |
You are correct, I had not realized node-8.9.0 was the branch to merge in PR for #1743 which is still open. My apologies for the confusion this added. |
Normally we target alpha with all PRs. But in this case I think it's fine to target node-8.9.0 branch as this was never merged due to uncertainty around surrounding tools like dbsync and more. And we have 8.10.x around the corner that will change stuff again. I think we will stick to 8.7.3 on alpha/master for now until we reach a somewhat stable state with various tooling being able to catch up. With that said I appreciate the PR and having target as 8.9.0 branch is the least bad thing right now 🙂. For those advanced users that want to run the latest released version. |
Hey @Fuma419 @TrevorBenson , when you get a few - would you be able to resolve conflicts on this PR (apologies for the back-and-forth we've had on support for releases, we [maybe myself] were too optimistic about having a hardfork to gracefully handle the state on preprod network, but since that's not coming and we finally have release/tags for other components that do support 8.9.x, we have gone ahead with merge to alpha for node-8.9.0 branch) |
Sure, I resolved all but one file. @TrevorBenson could you look at the db-sync related conflict in scripts/cnode-helper-scripts/guild-deploy.sh? I think we want to take alpha but i'm not 100%. ref: 339c127 |
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.
@Fuma419 Thanks - minor thing , but can we bump 8.9.1 references to 8.9.2 (Starting from 8.9.2, we have an additional config.json key MinNodeVersion
which is set to 8.9.2 on networks other than sancho - keeping in sync with book.play.dev.cardano.org).
Once done, am happy to merge from my end - once Trevor confirms as well.
Could've added the commit myself but dont seem to have direct write access on the fork (would've required me creating PR on your repo) 🙂
Also, if you'd like to actively contribute frequently , can we get in touch on telegram ( user ID : https://t.me/rdlrt )?
this pipeline is failing on this command: docker build . I see an issues in the --build-args because testing/node-8.9.1 does not exist in the cardano-community repo (it is a fork). Unsure what the best resolution. Can/should G_ACCOUNT parse the repo owner from repo url on each run? |
I ran this locally with --build-arg G_ACCOUNT=fuma419 \ and it built successfully |
I implemented some logic (9f8894b and 82dfc8a) in the workflow that is failing. I was able to do some limited testing locally by:
While it did detect and set G_ACCOUNT in both of these tested scenarios, locally this does not simulate a fork merge properly, and i could not find a way to test a fork merge properly. Can this workflow be trigger to run again? |
There are a few different ways to trigger a workflow without using act, but each has drawbacks for what I think you probably are looking for. Forgive the verbosity below, but I figure giving you extra details might save you some time and frustration if you are unaware of the limits.
The 4th option ignores your branch is already named testing, in those cases I make a |
I'll defer to @rdlrt or @Scitz0 on the db-sync related code or failures related to |
i appreciate the verbosity. im saving this info.
wait i see there is an ubuntu build |
Using my fork is nice when I want to add multiple commits and test before the final PR. From my fork I:
It's easy to screw up the last step and open it from the fork, so it does take a little getting used to.
👍
Ubuntu is the default. Very few of us (myself included) use Enterprise Linux distros, so I built the rocky one just to make sure if something breaks along the way we catch it early. |
Description
Where should the reviewer start?
This should be merged into the original branch (node-8.9.0) and tested more extensively. I can help in that effort but this is my first contribution and my automated test env and familiarity is lacking.
Motivation and context
Which issue it fixes?
updating this existing branch (node-8.9.0) to 8.9.1 release ref PR: (#1743)
How has this been tested?
Successfully deployed and completely synced nodes using the Docker image and Host env on mainnet, preprod, preview networks. No further functionality has been verified. This should be considered as untested and is not ready for production.