Skip to content

Deps: nerves_discovery 0.1.4 + toolchains 15.3.1 - #186

Merged
bbangert merged 1 commit into
mainfrom
chore/deps-patches-2026-08-29
Aug 29, 2026
Merged

Deps: nerves_discovery 0.1.4 + toolchains 15.3.1#186
bbangert merged 1 commit into
mainfrom
chore/deps-patches-2026-08-29

Conversation

@bbangert

Copy link
Copy Markdown
Owner

Summary

Patch-level dependency freshness bump. mix.lock only — mix.exs
constraints already admit both new versions (no mix.exs edit needed).

nerves_discovery 0.1.3 -> 0.1.4

Changelog (CHANGELOG.md v0.1.4):

* Fixes
  * Fix wait calculation on macOS. Previously waits <1 second would result in
    timeout of 0 which was infinite.

Code diff — lib/nerves_discovery/macos.ex:

-    timeout_secs = min(div(timeout, 1000), 1)
+    timeout_secs = max(div(timeout, 1000), 1)

min(..., 1) clamped every timeout to at most 1s and, for any sub-second
timeout, produced 0 — which macOS timeout(1) treats as "no limit"
(infinite wait). max(..., 1) floors it to 1s instead. Scoped to
NervesDiscovery.MacOS.discover_service/2 (macOS-only dev-host mix discover tooling) — no effect on device runtime or non-macOS hosts.
Low risk.

nerves_toolchain_{aarch64,armv6,armv7,riscv64}_nerves_linux_gnu 15.3.0 -> 15.3.1

No meaningful Hex-package code/binary diff (prebuilt GCC toolchain
wrappers). Upstream release notes
(gh api repos/nerves-project/toolchains/releases/tags/v15.3.1):

This release only affects toolchain metadata. It has the same GCC
versions as v15.3.0.

  • Changes
    • Allow Nerves 2 to be used
    • Remove old unused Elixir code that created compile-time dependencies
      with Nerves tooling.

Confirmed in the lock diff: each toolchain's embedded {:nerves, ...}
requirement widened from "~> 1.13" to "~> 1.13 or ~> 2.0-dev",
consistent with "Allow Nerves 2 to be used." No GCC version change. Low
risk — metadata-only republish.

Lock diff

Exactly five rows moved in mix.lock (verified via git diff mix.lock,
no stray rows, no deps.unlock --all used):

nerves_discovery 0.1.3 -> 0.1.4
nerves_toolchain_aarch64_nerves_linux_gnu 15.3.0 -> 15.3.1
nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.0 -> 15.3.1
nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.0 -> 15.3.1
nerves_toolchain_riscv64_nerves_linux_gnu 15.3.0 -> 15.3.1

Verification

  • MIX_TARGET=host mix compile --warnings-as-errors — pass (exit 0)
  • mise run test (full suite) — 1607 passed (2 doctests, 1605 tests), 3 excluded, 0 failures
  • MIX_TARGET=host MIX_ENV=dev mix dialyzer — pass ("done (passed successfully)", 7 known pre-existing errors skipped via .dialyzer_ignore.exs)

Not merging — for review.

🤖 Generated with Claude Code

Patch-level freshness: nerves_discovery 0.1.3 -> 0.1.4 and the four
Nerves GCC toolchains 15.3.0 -> 15.3.1. Lock-only; constraints already
admit both.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bbangert
bbangert merged commit 3d52536 into main Aug 29, 2026
6 checks passed
@bbangert
bbangert deleted the chore/deps-patches-2026-08-29 branch August 29, 2026 22:59
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