Skip to content

zenoh: bump to 1.10.1 - #83

Merged
rosterloh merged 3 commits into
mainfrom
zenoh-1.10.1
Sep 7, 2026
Merged

zenoh: bump to 1.10.1#83
rosterloh merged 3 commits into
mainfrom
zenoh-1.10.1

Conversation

@rosterloh

Copy link
Copy Markdown
Owner

Summary

zenoh-pico 1.10.1 is a bugfix release with nothing new in the API. Two of the four fixes matter for this workspace:

  • #1304 adds "../src/runtime/*.c" to zephyr/CMakeLists.txt upstream — byte-identical to the workaround patch-zenoh injected for zenoh-pico#1232. Ours is deleted.
  • #1122 replaces the monotonic thread_index++ in the Zephyr pthread stack pool with slot release on join, and adds CONFIG_ZENOH_PICO_THREADS_NUM. Latent for us — rasprover opens one session and never reconnects — but the third reconnect would have indexed past thread_stack_area[].

Not applicable: #1307 (scout on all interfaces — we use an explicit TCP locator, no scouting; the interface enumeration is posix/LwIP only) and #1306 (inverted fragment reliability flag — payloads are tens of bytes against a 2048 batch size).

The one thing that would have broken the build

#1307 added Z_MAX_NUM_SCOUT_INTERFACES to config.h.in, and scout.c:33,38 uses it to size two static vectors. The Zephyr glob compiles src/session/*.c unconditionally, so scout.c builds even with scouting off — and our hand-synthesised config.h doesn't inherit from config.h.in. Added it in upstream's #if Z_FEATURE_SCOUTING form rather than hard-coding, so it stays correct if scouting is ever enabled.

west-update fix

patch-zenoh edits tracked files in place, so every zenoh revision bump aborted with local changes would be overwritten by checkout. west-update now restores → updates → re-patches. It restores only the three files that task rewrites, so unrelated PR work in the checkout still stops the update, and it's guarded on the checkout existing so a fresh-clone setup doesn't die under set -e. setup no longer needs its trailing patch-zenoh.

Verification

  • west-update run against a deliberately dirty (patched) zenoh checkout: updates clean, patches re-applied.
  • mise run app rasprover --sysbuild builds green.
  • mise run check-skills: all 758 cited CONFIG_* symbols resolve, no stale stamps.

Skill restamp is a separate commit — stamps only, no symbol drift.

🤖 Generated with Claude Code

rosterloh and others added 3 commits September 7, 2026 15:54
1.10.1 is a bugfix release. Two fixes matter here: #1304 adds the
src/runtime/*.c glob to zephyr/CMakeLists.txt upstream, which is exactly
the workaround patch-zenoh injected for zenoh-pico#1232, and #1122
replaces the monotonic thread_index++ in the Zephyr pthread stack pool
with slot release on join. The latter is latent for us today - rasprover
opens one session and never reconnects - but the third reconnect would
have indexed past thread_stack_area[].

PR #1307 also added Z_MAX_NUM_SCOUT_INTERFACES to config.h.in, and
scout.c uses it to size two static vectors. The Zephyr glob compiles
src/session/*.c unconditionally, so the generated config.h has to define
it or the build breaks; mirror upstream's Z_FEATURE_SCOUTING conditional
rather than hard-coding 10.

Drop the now-redundant CMake patch, and fold the restore/repatch cycle
into west-update: patch-zenoh edits tracked files in place, so every
revision bump aborted with "local changes would be overwritten by
checkout". Only the three files that task rewrites are restored, so
unrelated PR work in the checkout still stops the update. setup no
longer needs its trailing patch-zenoh.

Verified: west-update succeeds against a dirty zenoh checkout and
re-applies the patches, and rasprover --sysbuild builds green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
west-update advanced deps/zephyr to 558fdf2ce48b. check-skills reports
no symbol drift - all 758 cited CONFIG_* symbols still resolve - so this
is a stamp refresh only.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CI restores a cached deps/, and that cache was written by the older
patch-zenoh which injected the src/runtime glob into
zephyr/CMakeLists.txt. The restore list only covered files the current
task writes, so that stale edit survived and still aborted the checkout
with "local changes would be overwritten" - every build job failed, not
just the zenoh ones.

Restore that file too. Reproduced locally by rewinding zenoh to 1.10.0
with a stale CMakeLists edit: bare west update aborts, west-update now
advances to 1.10.1 and re-patches.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rosterloh
rosterloh merged commit 536a4a2 into main Sep 7, 2026
8 checks passed
@rosterloh
rosterloh deleted the zenoh-1.10.1 branch September 7, 2026 15:17
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