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

Apply update of workflows from asset repo #84

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Apply update of workflows from asset repo #84

merged 3 commits into from
Apr 17, 2024

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented Apr 16, 2024

Several updates to the asset repo have been made, I've just ported them to this repo.
TODO:

  • create environment production with name AWS_ROLE_TO_ASSUME
  • remove AWS_ACCESS_KEY_ID
  • remove AWS_SECRET_ACCESS_KEY

@umbynos umbynos added the topic: infrastructure Related to project infrastructure label Apr 16, 2024
@umbynos umbynos self-assigned this Apr 16, 2024
Comment on lines +176 to +179
err := d.serialPort.Close()
if err != nil {
return err
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we were ignoring this error, but I'd ask @cmaglie if we want to report closing errors or not.

Copy link
Member

@cmaglie cmaglie Apr 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per the pluggable monitor protocol specification, the CLOSE command must always succeed (i.e. it must not return any error). The reason is that we cannot do much in case the serial port fails to close. I'd just ignore the error:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm... actually no, https://arduino.github.io/arduino-cli/0.35/pluggable-monitor-specification/#close-command I'm confused with the pluggable-discovery.

Disregard my previous comment, it's OK as you did @umbynos

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, Put the green mark please 🙏

@umbynos umbynos merged commit 981c04f into main Apr 17, 2024
47 checks passed
@umbynos umbynos deleted the sync-workflows branch April 17, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants