Repository navigation
Fix number_of_attempts narrowing - #802
Merged
NicolasFussberger merged 10 commits intoOct 19, 2026
Merged
NicolasFussberger merged 10 commits into
NicolasFussberger merged 10 commits into
Conversation
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:22 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:22 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:22 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:22 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:46 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:46 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:46 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 08:46 — with
GitHub Actions
Error
cameron-craig-etas
force-pushed
the
fix/number-of-attempts-narrowing
branch
from
October 16, 2026 09:19
c3f590e to
0dc368c
Compare
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:19 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:19 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:19 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:19 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:50 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:50 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:50 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 16, 2026 09:50 — with
GitHub Actions
Error
Member
|
I think limiting it to 8 bits is fine - I can't think of a case where you would want more than 254 attempts that couldn't be solved by just having a longer wait time between them. |
cameron-craig-etas
marked this pull request as ready for review
October 16, 2026 10:43
cameron-craig-etas
requested review from
FScholPer,
MaciejKaszynski,
NicolasFussberger,
anmittag,
antonkri,
pawelrutkaq and
ramceb
as code owners
October 16, 2026 10:43
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 19, 2026 09:44 — with
GitHub Actions
Error
NicolasFussberger
previously approved these changes
Oct 19, 2026
NicolasFussberger
left a comment
Contributor
There was a problem hiding this comment.
Looks much simpler now, thanks for the refactor.
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 19, 2026 12:24 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 19, 2026 12:24 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 19, 2026 12:24 — with
GitHub Actions
Error
cameron-craig-etas
had a problem deploying
to
workflow-approval
October 19, 2026 12:24 — with
GitHub Actions
Error
cameron-craig-etas
force-pushed
the
fix/number-of-attempts-narrowing
branch
from
October 19, 2026 12:33
7963fdf to
b188787
Compare
cameron-craig-etas
deployed
to
workflow-approval
October 19, 2026 12:33 — with
GitHub Actions
Active
cameron-craig-etas
deployed
to
workflow-approval
October 19, 2026 12:33 — with
GitHub Actions
Active
cameron-craig-etas
deployed
to
workflow-approval
October 19, 2026 12:33 — with
GitHub Actions
Active
cameron-craig-etas
deployed
to
workflow-approval
October 19, 2026 12:33 — with
GitHub Actions
Active
NicolasFussberger
approved these changes
Oct 19, 2026
NicolasFussberger
enabled auto-merge
October 19, 2026 12:42
Contributor
|
Documentation preview for this pull request is available at: |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#683
When building
score/lifecyclewith the "all warnings" configuration, we get a narrowing warning withnumber_of_attempts. This unsigned integer is stored in the flatbuffer as 32-bit, but narrowed to 8-bit when used. It makes sense to have a consistent sized type so we are now storing it in the flatbuffer as 8-bit. Some tests have been added where missing.The valid values range form 0 to 255. Note that 255 is the maximum value of
uint8_t.Command to reproduce: