Skip to content

Conversation

JordanYates
Copy link
Contributor

When CONFIG_INFUSE_DNS_ASYNC is available, use it instead of the synchronous functions to avoid blocking the system workqueue while querying the current time.

`continue-on-error: true` is required to reach the `check-warns` step,
which actually displays what failed.

Signed-off-by: Jordan Yates <[email protected]>
Add the option to enable Infuse-IoT networking defaults without
`CONFIG_INFUSE_SDK` being enabled. This can simplify some test
configurations.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates force-pushed the feature/async_dns branch 2 times, most recently from 825ac61 to 87ee3c5 Compare October 12, 2025 05:34
Copy link

codecov bot commented Oct 12, 2025

Codecov Report

❌ Patch coverage is 71.11111% with 26 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
subsys/net/sntp/auto_sntp.c 52.77% 12 Missing and 5 partials ⚠️
subsys/net/dns/infuse_dns.c 82.35% 6 Missing and 3 partials ⚠️

📢 Thoughts on this report? Let us know!

Use the new `CONFIG_INFUSE_SDK_NETWORKING` option to apply expected
networking defaults.

Signed-off-by: Jordan Yates <[email protected]>
Add an asynchronous variant of `infuse_sync_dns`.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates force-pushed the feature/async_dns branch 3 times, most recently from e765fec to e5b59ed Compare October 13, 2025 01:32
Add tests for `infuse_async_dns`.

Signed-off-by: Jordan Yates <[email protected]>
The SNTP seconds fraction component units are (1/2**32) seconds, not
microseconds.

Signed-off-by: Jordan Yates <[email protected]>
Print the current local time as known by the host when synchronising the
time on POSIX applications.

Signed-off-by: Jordan Yates <[email protected]>
When `CONFIG_INFUSE_DNS_ASYNC` is available, use it instead of the
synchronous functions to avoid blocking the system workqueue while
querying the current time.

Signed-off-by: Jordan Yates <[email protected]>
Switch the defaults DNS servers over to Cloudflare.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

sonarqubecloud bot commented Oct 13, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

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

See analysis details on SonarQube Cloud

@JordanYates JordanYates merged commit 09836f5 into main Oct 13, 2025
17 checks passed
@JordanYates JordanYates deleted the feature/async_dns branch October 13, 2025 02:57
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.

1 participant