-
Notifications
You must be signed in to change notification settings - Fork 52
Migrate-s3-boards #781
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
Migrate-s3-boards #781
Conversation
S3 Firmware Migration branch is ready for review @brentru |
Fully tested @brentru, this is now ready for release once reviewed |
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.
@tyeth I had some questions
for attempt in 1 2 3; do | ||
echo "Attempt $attempt: Fetching tinyuf2 release info for board $BOARD_NAME" | ||
API_RESPONSE=$(curl --silent --fail https://api.github.com/repos/adafruit/tinyuf2/releases/latest) | ||
if [ $? -ne 0 ]; then | ||
echo "Attempt $attempt: curl failed to fetch release info." | ||
if [ "$attempt" -eq 3 ]; then exit 1; else sleep $((60 + RANDOM % 40)); continue; fi |
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.
Could you remove the attempt loop? I'd rather the step fail so we can see what/why/where it failed and manually kick it
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.
Does it fail often?
The fetch failure does happen often yes, and when it did then having a
2second retry just had an instant subsequent failure. I'd rather not know
about rate limit issues from GH, and instead only if it reliably fails.
The other solution may be to do authenticated token based requests, but felt higher risk.
…On Thu, 24 Jul 2025 at 15:57, Brent Rubell ***@***.***> wrote:
***@***.**** requested changes on this pull request.
@tyeth <https://github.com/tyeth> I had some questions
------------------------------
In .github/workflows/build-clang-doxy.yml
<#781 (comment)>
:
> + for attempt in 1 2 3; do
+ echo "Attempt $attempt: Fetching tinyuf2 release info for board $BOARD_NAME"
+ API_RESPONSE=$(curl --silent --fail https://api.github.com/repos/adafruit/tinyuf2/releases/latest)
+ if [ $? -ne 0 ]; then
+ echo "Attempt $attempt: curl failed to fetch release info."
+ if [ "$attempt" -eq 3 ]; then exit 1; else sleep $((60 + RANDOM % 40)); continue; fi
Could you remove the attempt loop? I'd rather the step fail so we can see
what/why/where it failed and manually kick it
------------------------------
In .github/workflows/build-clang-doxy.yml
<#781 (comment)>
:
> + for attempt in 1 2 3; do
+ echo "Attempt $attempt: Fetching tinyuf2 release info for board $BOARD_NAME"
+ API_RESPONSE=$(curl --silent --fail https://api.github.com/repos/adafruit/tinyuf2/releases/latest)
+ if [ $? -ne 0 ]; then
+ echo "Attempt $attempt: curl failed to fetch release info."
+ if [ "$attempt" -eq 3 ]; then exit 1; else sleep $((60 + RANDOM % 40)); continue; fi
Does it fail often?
—
Reply to this email directly, view it on GitHub
<#781 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTBZ4ZP64H7BZKSFMJLXWD3KDX6TAVCNFSM6AAAAACCDI7WBKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTANJSGAZTSMBVHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Not to be merged until after S2 boards migration release, v107, then this PR tested first on each target:
"feather_esp32s3_4mbflash_2mbpsram",
"feather_esp32s3_reverse_tft",
"feather_esp32s3_tft",
"qtpy_esp32s3_n4r2",