-
Notifications
You must be signed in to change notification settings - Fork 53
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
Release request (aka move v1 to v1.7.0) #29
Comments
@paulo-ferraz-oliveira I agree |
@paulo-ferraz-oliveira let's make a 1.7.0 tag, then I will try that out on |
@paulo-ferraz-oliveira While we can create a tag, we should wait until at Monday to do a "release". It's a holiday today for a lot of people. |
Sure. Is there any process for tagging? Or is it just pushing the tag on top of |
@paulo-ferraz-oliveira Just normal tagging. When release time comes we re-write the |
|
It's too late to roll back now but I would have liked to test this more since it's a major rewrite. Remember that there is no such thing as releases for actions, when you push the tag it is released and people can/will start using it. You don't have to tag the action to test it, you can test the branch or commit ref directly. |
@ericmj does not seem to be the case. I had I just tried changing it to https://github.com/jelly-beam/verl/runs/2260675067?check_suite_focus=true |
Tags will of course not change unless you actually change them, but users will see the pushed tag and assume it is stable since If we want to test the action there is no reason to tag it since you can use actions without tags. |
@ericmj Ahh, I see your point and quite fair. |
I assumed it was enough tested (I'd tested in in 20 private repo.s, for example); to be clear, I didn't tag it for testing purposes, but to actually use it elsewhere (as stable). |
The tests go like:
Since we're testing the action itself, not Erlang, Elixir, mix or rebar, the only real tests I can imagine adding are more around obtaining the versions from the listing. What did you have in mind? |
Per recent changes we would be best to wait a few weeks and do moar testing before cutting on v1 IMO. |
That's great, I didn't realize you had done such extensive testing (sorry if I missed you saying that). Did you also test the existing functionality with just Elixir? I think that's the most important to test since it can break existing users, unlike the new Erlang support which only have new users trying it. I am currently testing it on hexpm/hex#873. |
@ericmj I did testing with elixir via erlef/website, but not easy to test combos with that per deps, but I felt good about it. That said, I think it would still be good to wait a few so we can be sure and get in any other small changes that we see as needed. I believe @paulo-ferraz-oliveira is about to add more tests around OTP 19 and ubuntu as an example. |
Yes, I'm PRing in order to close #28. Don't mind waiting for as much as you guys feel comfortable with. I was also thinking that the tests should use all supported Ubuntu versions, 16, 18 and 20, which is not the case (only 18 at the moment). @ericmj, unfortunately I tested only Erlang and rebar3, not Elixir, so understand we need to test this further (only real test was a somewhat big matrix that @starbelly prepared once and we kept updating the action until it all passed). |
I am seeing dialyzer errors after upgrading to 1.7 - can submit bug report if required. https://github.com/brianmay/tp_link_hs100/runs/2293025513. Might be related to jeremyjh/dialyxir#301 but not 100% sure, as not using force, and only happens after upgrading |
@brianmay I usually see this error when I built PLTs for version X, but then tried to use them using version Y. This might allude to bugs in previous versions vs a bug in 1.7.0, but I can not say for certain. Definitely appreciate you commenting here though! ❤️ |
@brianmay, is the only difference between what you had (with no Edit: ... namely, what I'd like to compare is the downloaded elements (Elixir and Erlang/OTP) version-wise, since that's where the difference in behaviour will most likely reside, if the answer to the previous is "yes". |
@paulo-ferraz-oliveira Yes, that is correct. This is a dependabot pull request that is failing, that only makes that change. No changes to erlang versions, elixir versions, or anything else. Without the change, master is fine. brianmay/tp_link_hs100#19 I have made to invalidate the PLT cache. Will be interesting to see what happens. Currently rebudiling the PLTs. My understanding is that upgrading the action should not invalidate the cached data however, |
OK, recreating the PLT cache appeared to work... Go figure... |
The reason I asked about the versions, specifically, is because the plugin potentially changes the downloaded ones (by "trying to guess" - which it probably doesn't need to). While previously you might have been downloading Also, AFAIK the cached PLT should be compatible for that one small change, yes, but also I'm not exactly sure what this change is for. |
Not sure why the confusion. There are two changes here. One bumps the version of action, and the other one creates a new PLT cache. In both cases I have said to use Erlang 23.2.7 and Elixir 1.11.3 - that has not changed. |
@brianmay @paulo-ferraz-oliveira here is my hunch. And @paulo-ferraz-oliveira can answer this better than me, but iirc we found a bug where the wrong OTP version might have been brought in prior to 1.7.0. But let's hear what @paulo-ferraz-oliveira says since he did 99% of the work. |
@starbelly Oh, OK, I get you now. The logs do give the correct version. But depending on where the bug is, that may not matter:
After the update I get:
Not 100% sure what I am looking at here, but guessing that while it installed the right erlang, the old version didn't install the right elixir. |
@brianmay Hmm yeah that invalidates my hunch. Thank you for sharing that. |
I wouldn't say it was "wrong", since it was working (and the Elixir version, by itself, was as expected), but it wasn't the one built with the pull Erlang/OTP version (which is now the case). This was the reason why I wrote @ericmj, because if there's no reason to add |
@paulo-ferraz-oliveira I see. Requires testing. |
Not sure I fully understand the difference between 1.11.3 and 1.11.3-otp-23. I think I would expect to get the later. But maybe make it a config option that is disabled by default, meaning you get the old behaviour by default? |
@brianmay, I'm not sure we want to add an option to get the old behaviour; we might either decide what you reported leads to a necessary consumption change (and we keep as-is - i.e. the consumer adapts) or it doesn't (and we revert to previous behaviour - the producer adapts). I'm open to all options, but we have to decide first. Also:
|
I am happy either way. But ideally we should stick to any decision (unless we have a really good reason to change). |
Thinking about it a bit more, I tend to think |
Yeah, so my personal take is thus :
Need to hear from both @paulo-ferraz-oliveira and @ericmj ofc. |
I saw the previous change as a bug fix, so I stuck to that decision (it was my really good reason to change). 😄 |
@starbelly, regarding #29 (comment), I'm OK to keep stuff as-is (I see it as the path of least surprise). I'd like to have @ericmj pitch in too, though. |
Can you explain the dialyzer issue? It looks like doesn't find EDIT: I think the issue is caused by the path change from |
@ericmj oooh, that's possible. I hope that's not that case as that implies it should have been version 2. EDIT: Hmm, no I don't believe that makes sense. PLT information should go into I've run into this issue multiple times in the past, but locally, when switching from one OTP version to another and i conjunction with elixir. And it's always the signal for me that I have PLTs compiled with another version that are not compat with what I'm using at the time. Of course, I'd say in this issue, it is has not been fully quantified. |
Do you have better explanation for the issue? The error says it cannot find a file in If this is an important issue we can revert the paths back to |
I see. I missed that @ericmj. Appreciate your hawk eyes. So yes, that seems to very much be the issue. Thus, we should probably add a section in the readme, thoughts? |
I've not come to a conclusion, but some speculation 😄 which is why I referred to you (@ericmj), explicitly, four times.
I'm OK with this change. But I'm not sure on "is an important issue". For me it's not, but I'm not the only one judging it. If we do that change, though (the folder name) supposedly we wouldn't need what @starbelly proposes (a change to the README). I'll let you guys decide. My votes go for:
|
So, in summary, I believe everyone agrees the current bahaviour should be kept unchanged, right? I do believe this should be clearly documented. Under release notes or something similar. Nothing more annoying then spending ages debugging a known problem. If an issue arises and the developer contacts this project, then yes, they can get steered in the right direction. But, the nature of this problem makes it look like a dialyzer problem, not a problem with the action that successfully completed earlier. Dialyzer maintainers, dialyzer support groups, and general elixir support groups will probably get consulted first, and these groups cannot help (In fact I did that). Maybe, just maybe, adding something to the release notes could help somebody work out the problem faster without going through all that. |
I agree with:
To be clear. Input from @ericmj needed. |
I went ahead and added this to the release notes. Let me know if any of it has to be changed. |
Looks good to me. I guess I should fix my builds now :-) |
Ok, so I think we've waited long enough and we should re-write I know @paulo-ferraz-oliveira is ready, @ericmj ? |
Go for it! |
It's been done. Closing. |
Congrats and thanks to you and everyone involved! |
I'll celebrate in a month 🤞 haha |
Are we ready for v1.7.0? If so, I'm proposing it happens.
The text was updated successfully, but these errors were encountered: