Skip to content

fw_update: make rollback timer period configurable #738

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

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

sam-golioth
Copy link
Contributor

Introduces CONFIG_GOLIOTH_FW_UPDATE_ROLLBACK_TIMER_S to control the rollback period. Also changes the default to 300 seconds, from the previously hardcoded 60 seconds.

Introduces CONFIG_GOLIOTH_FW_UPDATE_ROLLBACK_TIMER_S to control the
rollback period. Also changes the default to 300 seconds, from the
previously hardcoded 60 seconds.

Signed-off-by: Sam Friedman <[email protected]>
Copy link

github-actions bot commented Jan 29, 2025

Visit the preview URL for this PR (updated for commit c686cbb):

https://golioth-firmware-sdk-doxygen-dev--pr738-make-rollback-y1y4mpo7.web.app

(expires Wed, 05 Feb 2025 17:52:49 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a9993e61697a3983f3479e468bcb0b616f9a0578

@sam-golioth sam-golioth marked this pull request as ready for review January 29, 2025 17:16
@sam-golioth sam-golioth force-pushed the make_rollback_time_configurable branch from 63439b4 to c686cbb Compare January 29, 2025 17:51
Copy link

Code Coverage

Code Coverage

Package Line Rate Branch Rate Health
include.golioth 75% 50%
port.linux 62% 34%
port.utils 58% 46%
port.zephyr 58% 25%
src 68% 30%
Summary 67% (2719 / 4086) 30% (1125 / 3712)

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/fw_update.c 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/fw_update.c 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

@sam-golioth sam-golioth merged commit ee40450 into main Jan 29, 2025
249 of 275 checks passed
@sam-golioth sam-golioth deleted the make_rollback_time_configurable branch January 29, 2025 19:16
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

Successfully merging this pull request may close these issues.

4 participants