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

Erlang 25.3.2 installation on ubuntu-latest errors #199

Closed
sevenseacat opened this issue May 6, 2023 · 7 comments
Closed

Erlang 25.3.2 installation on ubuntu-latest errors #199

sevenseacat opened this issue May 6, 2023 · 7 comments

Comments

@sevenseacat
Copy link

(I tried to check out the repo and play with the code locally, but I'm on a Mac, so.... it didn't work too well)

25.3.2 is the latest published version of Erlang afaik, and I can see it listed in the builds file for Erlang here - https://repo.hex.pm/builds/otp/ubuntu-22.04/builds.txt

So in my app, I updated my .tool-versions file to use it and pushed, but it errored - somewhere after successfully reading the version from the file and converting it to an OTP version, it turns into undefined - https://github.com/sevenseacat/advent_of_code/actions/runs/4902607975/jobs/8754814411#step:3:15

I also tried cloning the setup-beam-example app and changed the version in .tool-versions to see if it would work, but it doesn't (it gives the same error, the version is parsed as undefined) - https://github.com/sevenseacat/setup-beam-example/actions/runs/4902817864/jobs/8754887026#step:3:18

@paulo-ferraz-oliveira
Copy link
Collaborator

Our tests for 25 are reporting latest (calculated) as 25.3.1. That's odd.

@paulo-ferraz-oliveira
Copy link
Collaborator

paulo-ferraz-oliveira commented May 6, 2023

This seems to be picking up 25.3.2 Ok now. Odd.

Mind you the current origin for the action is https://builds.hex.pm (in v1), not https://repo.hex.pm. I'm not sure if there's caching involved, for example.

@ericmj might know better, since this change is quite recent.

@paulo-ferraz-oliveira
Copy link
Collaborator

I'm tentatively closing this as "fixed". Feel free to re-open if the issue is still present. @ericmj's input would still be valuable here, though.

@sevenseacat
Copy link
Author

sevenseacat commented May 7, 2023

I'm still seeing it being an issue - not seeing where 25.3.2 is being picked up in the current tests.

And yeah 25.3.2 is a pretty new version of Erlang, so I thought there might be some caching of the builds file involved?

(and I don't see a re-open button for the issue...)

@ericmj
Copy link
Collaborator

ericmj commented May 7, 2023

We weren't purging the builds.hex.pm cache so some POP nodes had the older builds.txt file cache. This has been fixed now.

Screenshot 2023-05-07 at 15 30 13

@paulo-ferraz-oliveira
Copy link
Collaborator

Tests: https://github.com/erlef/setup-beam/actions/runs/4879756332/jobs/8756722600#step:3:13

If you look closely, input is 25, and we're picking up/translating this to 25.3.2.

As per what @ericmj explained this was Hex.pm -related and not action -related.

Do you still prefer we re-open to discuss something else?

@sevenseacat
Copy link
Author

Nope it's all good, thanks for looking into the issue so quickly! :)

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

No branches or pull requests

3 participants