Skip to content

Make adding more NodeEvent variants backwards-compatible (take 2)#1278

Open
phil-opp wants to merge 18 commits intomainfrom
ignore-unknown-node-events
Open

Make adding more NodeEvent variants backwards-compatible (take 2)#1278
phil-opp wants to merge 18 commits intomainfrom
ignore-unknown-node-events

Conversation

@phil-opp
Copy link
Copy Markdown
Collaborator

Ignore unknown event types during deserialization.

New version of #1273

Ignore unknown event types during deserialization.
Instead of providing it via the Python node API.

This approach has the advantage that it works consistently across languages. For example, the Rust node API was not setting these fields, leading to log messages without a node_id. This commit fixes that.
Also: Fall back to fields when `target` is the empty string
phil-opp and others added 2 commits March 27, 2026 11:30
Conflicts resolved:
- .github/workflows/ci.yml: took main's restructured CI steps with
  --stop-after flags and new test steps, preserved PR's RUST_LOG: debug
  on Python node example step
- apis/python/node/src/lib.rs: took main's async zenoh-based logging
  rewrite, preserved PR's error handling (PyResult return types,
  closed-stream checks on recv/try_recv/recv_async_timeout)
- binaries/daemon/src/lib.rs: took main's FinishDataflowWhen return type,
  preserved PR's tracing::info and grace-period warning messages
- binaries/daemon/src/spawn.rs: accepted main's deletion (file was split
  into spawn/ module); PR's log metadata changes are obsolete with the
  new zenoh logging architecture

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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