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

modules: fota: Cleanup and update tests #65

Merged
merged 4 commits into from
Feb 21, 2025
Merged

Conversation

simensrostad
Copy link
Contributor

Cleanup module according to interval state diagrams Update tests

Diagrams will be publica later

@simensrostad simensrostad force-pushed the cleanupfotamodule branch 12 times, most recently from 1b28ccd to e8100a2 Compare February 21, 2025 13:38
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

🎯 Core Changes:

  • Refactored FOTA module state machine to handle firmware updates more robustly
  • Added unit tests for FOTA module
  • Removed redundant debug logging in network module
  • Updated nRF SDK dependency to newer version

⚠️ Concerns:
None identified - changes improve code quality and testability

Verdict: Approve - Changes add test coverage and improve code organization with no breaking changes


Code review performed by ANTHROPIC - claude-3-5-sonnet-20241022.

@simensrostad simensrostad force-pushed the cleanupfotamodule branch 3 times, most recently from 8d5c93d to 4b2e232 Compare February 21, 2025 15:36
Cleanup module according to interval state diagrams
Update tests

Diagrams will be publica later

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
Remove logging in `_run` SMF functions to avoid bloating application
logs.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
Add Kconfig to disable network quality sampling.
Disable network quality sampling by default until we have a fix
in the modem firmware to run CONEVAL and NCELLMEAS at the same time.

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
fix issues pointed out by static analysis

Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
Copy link

sonarqubecloud bot commented Feb 21, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
24 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@simensrostad simensrostad merged commit 852f7c2 into main Feb 21, 2025
5 checks passed
@simensrostad simensrostad deleted the cleanupfotamodule branch February 21, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants