On CI systems running in AWS, XtensaRust::parse_version()
repeatedly times out and panics espup
#347
Labels
bug
Something isn't working
Bug description
When running
espup install --extended-llvm --name esp-1.72.0.0 --toolchain-version 1.72.0.0 --export-file path/to/file/export-esp.sh
on some build automation systems in AWS, theXtensaRust::parse_version()
call repeatedly times out and panics.Log excerpt:
To Reproduce
I'm not sure exactly how to reproduce this: locally,
espup
works. I suspect we're hitting some weird github API rate limitingExpected behavior
espup
successfully installs the toolchainEnvironment
Additional context
After examining
XtensaRust::parse_version()
's usage, it seemed like given we were passing a full version, we have no need to run the github api query to retrieve the list of all the esp-rs releases. Removing that github api call and using the version string directly (ie: removing the call theparse_version()
entirely) fixed the issue for us.I recommend these options, in order of preference:
parse_version()
call entirely.parse_version()
if we have a complete version stringCommit we're using right now, for reference: junelife@30a50d0
The text was updated successfully, but these errors were encountered: