Skip to content

feat(observability): correlate startup sessions across exports#437

Merged
rapids-bot[bot] merged 4 commits into
NVIDIA:mainfrom
bbednarski9:feat/startup-session-trace-correlation
Jul 15, 2026
Merged

feat(observability): correlate startup sessions across exports#437
rapids-bot[bot] merged 4 commits into
NVIDIA:mainfrom
bbednarski9:feat/startup-session-trace-correlation

Conversation

@bbednarski9

@bbednarski9 bbednarski9 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Overview

Adds a single lifecycle-level session.start ATOF Mark and stable root-only session correlation across OpenTelemetry, OpenInference, and ATIF.

Today, Relay can carry logical session metadata such as session_id and user_id, but downstream trace tables do not have a stable Relay-owned value that correlates multiple exporter-native traces created during one CLI session lifecycle. This change reuses the existing ScopeStack.root_uuid as that instance identifier instead of introducing a new session context, cache, or generated ID.

The resulting identity model is:

  • session.id: harness-provided logical session ID.
  • user.id: optional top-level string user_id.
  • nemo_relay.session.instance_id: Relay's existing root scope UUID for one CLI session lifecycle.
  • trace_id: exporter-native trace identity used to join child rows after locating trace roots.
  • nemo_relay.uuid: existing Relay event/scope identity, unchanged.

Contribution Confirmation

  • I confirm this contribution is my own work, or I have the right to submit it under this project's license.
  • I searched existing issues and open pull requests, and this does not duplicate existing work.

Details

CLI session lifecycle

  • Merges configured and hook-provided session metadata through the existing session metadata path.
  • Adds a non-overridable session_instance_id whose value is the session's existing ScopeStack.root_uuid.
  • Preserves session_id as the harness-provided logical ID and accepts optional top-level string user_id.
  • Stamps the merged identity onto session Agent scopes and root turn scopes.
  • Emits exactly one session.start Mark when the first AgentStarted begins a lifecycle.
  • Parents the Mark to the session Agent scope when available; turn-root-only harnesses retain the existing orphan zero-duration representation without forcing a turn scope open.
  • Allows repeated start hooks to merge later metadata without emitting duplicate startup Marks.

OpenTelemetry and OpenInference

  • Adds shared canonical identity projection for session.id, user.id, and nemo_relay.session.instance_id.
  • Projects those fields only onto spans without a valid exported parent context, yielding one canonical copy per trace root.
  • Keeps session.start correlated whether it is exported as an active-parent span event or a standalone Mark span.
  • Preserves raw metadata and existing custom attribute_mappings; custom mappings cannot replace canonical projected fields.
  • Ignores non-string session_id and user_id for canonical aliases while retaining the raw metadata.
  • Leaves OpenTelemetry and OpenInference trace/span ID generation independent while sharing Relay UUID and session instance identity.

ATIF compatibility

  • Leaves AtifTrajectory.session_id, trajectory_id, {session_id} filename expansion, and the remote session header unchanged.
  • Merges correlation into existing trajectory extra instead of overwriting it.
  • Adds extra.nemo_relay.session_id, extra.nemo_relay.session_instance_id, and optional extra.nemo_relay.user_id.
  • Records the full startup Mark once in extra.observed_events without creating an ATIF step or duplicating the complete metadata object.

Documentation

  • Documents --session-metadata '{"user_id":"alice"}'.
  • Explains logical session ID, Relay instance ID, exporter trace ID, and Relay UUID.
  • Documents root-only filtering and downstream child-row correlation by trace_id.
  • Documents ATIF's compatibility-preserving fields under extra.nemo_relay.

Validation

Focused lifecycle and exporter tests cover duplicate starts, Agent-backed and turn-root-only parentage, UUIDv7 instance IDs, recreated and concurrent sessions, multiple trace roots, root-only canonical projection, orphan and active-parent Marks, custom mapping precedence, ATIF compatibility, and cross-exporter identity parity.

Post-rebase validation:

  • just test-rust
  • just test-python — 528 passed
  • just test-node — 264 passed
  • just test-go
  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • just docs — passed with the expected unauthenticated Fern redirect warning
  • uv run pre-commit run --all-files — every hook passed except attributions-rust, which rewrites the unchanged md-5 0.10.6 entry from dual MIT/Apache licensing to Apache-only under local cargo-about 0.9.0; that unrelated generated diff was reverted

No public binding API or configuration type changes are introduced. No breaking changes are expected.

Coordination note: open PR #403 also modifies OpenInference Mark projection and some adjacent tests, but it addresses projected Mark payload aliases rather than session lifecycle correlation. This PR keeps the shared exporter changes narrowly scoped to canonical session identity.

Where should the reviewer start?

  1. crates/cli/src/sessions/mod.rs for session metadata enrichment and one-shot session.start emission.
  2. crates/core/src/observability/mod.rs for the shared canonical identity projection.
  3. crates/core/src/observability/otel.rs and openinference.rs for trace-root and Mark handling.
  4. crates/core/src/observability/plugin_component.rs for compatibility-preserving ATIF extra.nemo_relay enrichment.
  5. The CLI lifecycle and exporter parity tests for the intended contract and edge cases.

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

Summary by CodeRabbit

  • New Features
    • Added consistent session, user, and session-instance correlation identifiers across traces and exported trajectories.
    • Added a single session.start event for each session, with stable correlation metadata.
    • Preserved correlation data in ATIF exports and raw event metadata.
  • Documentation
    • Documented session-start events, correlation fields, trace behavior, and session metadata usage across observability integrations.

Summary by CodeRabbit

  • New Features
    • Added a single session.start event for each session, with stable session-instance correlation data.
    • Added session and user identity attributes to relevant trace roots and session markers.
    • Added session correlation details to ATIF exports while preserving observed event data.
  • Documentation
    • Documented session-start markers, identity fields, trace correlation, and export behavior across observability integrations.

Summary by CodeRabbit

  • New Features
    • Added a single session.start event for each session, with stable session-instance correlation metadata.
    • Added session and user identity fields to trace roots and session-start marks across supported observability exports.
    • Added session correlation details to ATIF output while preserving existing trajectory data.
  • Documentation
    • Documented session-start events, correlation fields, and export behavior across observability integrations.

Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The CLI emits one session.start mark with a root-derived instance ID. OTLP, OpenInference, and ATIF exporters carry session correlation fields, while tests and documentation define root-only trace projection and ATIF compatibility behavior.

Changes

Session identity correlation

Layer / File(s) Summary
Session lifecycle identity
crates/cli/src/sessions/mod.rs, crates/cli/tests/coverage/shared/session_tests.rs
Session startup emits one session.start mark, adds a root-scope session_instance_id, and validates mark parentage, turn-root reuse, uniqueness, and poisoned-stack recovery.
Trace-root and mark projection
crates/core/src/observability/{mod,otel,openinference}.rs, crates/core/tests/unit/observability/{otel,openinference,exporter_parity}_tests.rs
OTLP and OpenInference project session, user, and instance identifiers onto trace roots and session marks while keeping child attributes and exporter trace IDs distinct.
ATIF correlation persistence
crates/core/src/observability/plugin_component.rs, crates/core/tests/unit/observability/plugin_component_tests.rs, crates/cli/tests/coverage/shared/session_tests.rs
ATIF carries correlation through normal and shutdown writes, merges it into extra.nemo_relay, preserves existing trajectory fields, and retains startup marks in extra.observed_events.
Documented correlation contract
docs/about-nemo-relay/concepts/events.mdx, docs/configure-plugins/observability/*, docs/nemo-relay-cli/basic-usage.mdx, integrations/coding-agents/README.md
Documentation describes startup mark metadata, root-only trace attributes, exporter trace correlation, ATIF compatibility fields, and CLI session metadata usage.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant CodingAgent
  participant Session
  participant OTLP
  participant OpenInference
  participant ATIF
  CodingAgent->>Session: agent start with session metadata
  Session->>Session: emit session.start with session_instance_id
  Session->>OTLP: root scopes and session mark
  Session->>OpenInference: root scopes and session mark
  Session->>ATIF: trajectory events and correlation metadata
  OTLP-->>CodingAgent: root attributes and exporter trace IDs
  OpenInference-->>CodingAgent: root attributes and exporter trace IDs
  ATIF-->>CodingAgent: extra.nemo_relay and observed_events
Loading
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 41.38% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The changes implement the requested one-shot session.start mark, root-only identity projection, ATIF correlation, docs, and tests for #434.
Out of Scope Changes check ✅ Passed No clear out-of-scope code changes are introduced beyond the requested observability, ATIF, documentation, and test updates.
Title check ✅ Passed The title follows Conventional Commits and concisely matches the PR’s observability session-correlation changes.
Description check ✅ Passed The description includes all required template sections and the key implementation, review, and issue-link details.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size:L PR is large Feature a new feature lang:rust PR changes/introduces Rust code labels Jul 15, 2026
@bbednarski9 bbednarski9 marked this pull request as ready for review July 15, 2026 16:54
@bbednarski9 bbednarski9 requested review from a team and lvojtku as code owners July 15, 2026 16:54
@willkill07

Copy link
Copy Markdown
Member

/ok to test 07e0b57

@github-actions

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@crates/cli/src/sessions/mod.rs`:
- Around line 1059-1065: Update scope_metadata to recover the read guard when
scope_stack.read() encounters a poisoned lock instead of calling expect and
panicking. Follow the existing recovery behavior used by the current-scope-stack
observability path, then continue obtaining root_uuid from the recovered guard.

In `@crates/core/tests/unit/observability/exporter_parity_tests.rs`:
- Around line 866-869: Update the parity test around the exporter attribute
assertions to create or capture a controlled session scope and retain its
root_uuid. Assert both otel_attributes["nemo_relay.session.instance_id"] and
openinference_attributes["nemo_relay.session.instance_id"] directly against that
expected root UUID, while preserving the existing exporter parity coverage.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: b4933e0e-747c-48cb-a4ed-2e61b8fcc55f

📥 Commits

Reviewing files that changed from the base of the PR and between 45831fc and 07e0b57.

📒 Files selected for processing (18)
  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/src/observability/openinference.rs
  • crates/core/src/observability/otel.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
  • docs/about-nemo-relay/concepts/events.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/openinference.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • integrations/coding-agents/README.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (25)
**/*.mdx

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/SKILL.md)

MDX top-of-file SPDX comments must use {/* ... */} delimiters instead of HTML comment delimiters (Must-Fix)

In MDX files, top-of-file comments must use JSX comment delimiters ({/* to open and */} to close); do not use HTML comments for MDX SPDX headers

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • docs/configure-plugins/observability/openinference.mdx
**/*.{md,mdx}

📄 CodeRabbit inference engine (AGENTS.md)

Update README.md, fern/, package READMEs, and binding-support notes when public behavior, package names, examples, or supported bindings change.

**/*.{md,mdx}: Prefer the documented public API, not internal shortcuts
Keep package names, repo references, and build commands current
Keep release-process and release-notes guidance in repo-maintainer docs such as RELEASING.md, not as user-facing docs pages or CHANGELOG.md
Keep stable user-facing wrappers at scripts/ root in docs and examples; only point at namespaced helper paths when documenting internal maintenance work
When detailed dynamic plugin guides exist, keep Rust native plugin examples, Python worker plugin examples, and grpc-v1 protocol details on separate pages

If links in documentation change, run just docs-linkcheck.

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • integrations/coding-agents/README.md
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • docs/configure-plugins/observability/openinference.mdx
**/*.{md,markdown,mdx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Add the SPDX license header to all Markdown/MDX documentation files using the HTML comment block form.

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • integrations/coding-agents/README.md
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • docs/configure-plugins/observability/openinference.mdx
{docs,examples}/**/*

📄 CodeRabbit inference engine (.agents/skills/rename-surfaces/SKILL.md)

Update docs and examples.

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • docs/configure-plugins/observability/openinference.mdx
**/*

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

**/*: Format changed files with the language-native formatter before the final lint/test pass.
If dynamic plugin behavior changed, use maintain-dynamic-plugins and include the native SDK, worker protocol, Python SDK, docs, packaging, and Codecov surfaces in the validation plan.
If code changes alter APIs, bindings, commands, paths, packaging behavior, observability/adaptive semantics, or documented best practices, update any dependent maintainer or consumer skills in the same branch.
During iteration, prefer uv run pre-commit run --files <changed files...>.
Before review or handoff, run uv run pre-commit run --all-files.

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • integrations/coding-agents/README.md
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • docs/configure-plugins/observability/opentelemetry.mdx
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • docs/nemo-relay-cli/basic-usage.mdx
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • docs/configure-plugins/observability/openinference.mdx
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
docs/**/*

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If documentation examples or commands under docs/ change, run the targeted docs checks appropriate to the change.

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • docs/configure-plugins/observability/openinference.mdx
{docs/**,README.md,CONTRIBUTING.md,RELEASING.md,SECURITY.md}

⚙️ CodeRabbit configuration file

{docs/**,README.md,CONTRIBUTING.md,RELEASING.md,SECURITY.md}: Review documentation for technical accuracy against the current API, command correctness, and consistency across language bindings.
Flag stale examples, missing SPDX headers where required, and instructions that no longer match CI or pre-commit behavior.

Files:

  • docs/about-nemo-relay/concepts/events.mdx
  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/nemo-relay-cli/basic-usage.mdx
  • docs/configure-plugins/observability/openinference.mdx
**/*.{md,rst,html,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

**/*.{md,rst,html,txt}: Always spell NVIDIA in all caps. Do not use Nvidia, nvidia, nVidia, nVIDIA, or NV.
Use an NVIDIA before a noun because the name starts with an 'en' sound.
Do not add a registered trademark symbol after NVIDIA when referring to the company.
Use trademark symbols with product names only when the document type or legal guidance requires them.
Verify official capitalization, spacing, and hyphenation for product names.
Precede NVIDIA product names with NVIDIA on first mention when it is natural and accurate.
Do not rewrite product names for grammar or title-case rules.
Preserve third-party product names according to the owner's spelling.
Include the company name and full model qualifier on first use when it helps identify the model.
Preserve the official capitalization and punctuation of model names.
Use shorter family names only after the full name is established.
Spell out a term on first use and put the acronym in parentheses unless the acronym is widely understood by the intended audience.
Use the acronym on later mentions after it has been defined.
For long documents, reintroduce the full term if readers might lose context.
Form plurals of acronyms with s, not an apostrophe, such as GPUs.
In headings, common acronyms can remain abbreviated. Spell out the term in the first or second sentence of the body.
Common terms such as CPU, GPU, PC, API, and UI usually do not need to be spelled out for developer audiences.

Files:

  • integrations/coding-agents/README.md
**/*.{md,rst,html}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-brand-terminology.md)

Link the first mention of a product name when the destination helps the reader.

Files:

  • integrations/coding-agents/README.md
**/*.{md,rst,txt}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-guide.md)

Spell NVIDIA in all caps. Do not use Nvidia, nvidia, or NV.

Files:

  • integrations/coding-agents/README.md
**/*.{md,rst}

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-guide.md)

**/*.{md,rst}: Format commands, code elements, expressions, package names, file names, and paths as inline code.
Use descriptive link text. Avoid raw URLs and weak anchors such as "here" or "read more."
Use title case consistently for technical documentation headings.
Introduce code blocks, lists, tables, and images with complete sentences.
Write procedures as imperative steps. Keep steps parallel and split long procedures into smaller tasks.
Prefer active voice, present tense, short sentences, contractions, and plain English.
Use can for possibility and reserve may for permission.
Use after for temporal relationships instead of once.
Prefer refer to over see when the wording points readers to another resource.
Avoid culture-specific idioms, unnecessary Latinisms, jokes, and marketing exaggeration in technical docs.
Spell out months in body text, avoid ordinal dates, and use clear time zones.
Spell out whole numbers from zero through nine unless they are technical values, parameters, versions, or UI values.
Use numerals for 10 or greater and include commas in thousands.
Do not add trademark symbols to learning-oriented docs unless the source, platform, or legal guidance explicitly requires them.

Files:

  • integrations/coding-agents/README.md
**/*.md

📄 CodeRabbit inference engine (.agents/skills/review-doc-style/assets/nvidia-style-technical-docs.md)

**/*.md: Use title case consistently in technical documentation headings
Avoid quotation marks, ampersands, and exclamation marks in headings
Keep product, event, research, and whitepaper names in their official title case
Use title case for table headers
Do not force social-media sentence case into technical docs
Format code elements, commands, parameters, package names, and expressions in monospace
Format directories, file names, and paths in monospace using backticks
Use angle brackets inside monospace for variables inside paths, such as /home/<username>/.login
Format error messages and strings in quotation marks, keeping literal code strings in code formatting when clearer
Format UI buttons, menus, fields, and labels in bold
Use angle brackets between UI labels for menu paths, such as File > Save As
Use italics for new terms on first use, sparingly and only when introducing the term
Use italics for publication titles
Format keyboard shortcuts in plain text, such as Press Ctrl+Alt+Delete
Use owner/repo link text for GitHub repositories, preferring [NVIDIA/NeMo](link) over prose references like 'the GitHub repo'
Introduce every code block with a complete sentence
Do not make a code block complete the grammar of the previous sentence
Do not continue a sentence after a code block
Use syntax highlighting when the format supports it for code blocks
Avoid the word 'snippet' unless the surrounding docs already use it as a term of art
Keep inline method, function, and class references consistent with nearby docs, omitting empty parentheses for prose readability when no call is shown
Use descriptive anchor text that matches the destination title when possible for links
Avoid raw URLs in running text
Avoid generic anchor text such as 'here,' 'this page,' and 'read more'
Include acronyms in link text when a linked term includes an acronym
Do not link long sentences or multiple sentences
Avoid links that pull readers away from a procedure unless the link is a p...

Files:

  • integrations/coding-agents/README.md
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/prepare-pr/SKILL.md)

**/*.rs: Any Rust change must run just test-rust
Any Rust change must run cargo fmt --all
Any Rust change must run cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all for all FFI work since it is Rust work
Run just test-rust to validate FFI changes
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting on FFI work

When Rust files changed as part of Go work, also run cargo fmt --all, just test-rust, and cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all when Rust files are changed as part of Node work
Run cargo clippy --workspace --all-targets -- -D warnings when Rust files are changed as part of Node work
Run just test-rust when Rust files are changed as part of Node work

When changing the core Rust runtime or Rust-facing API surface, format Rust code with cargo fmt (rustfmt defaults), keep cargo clippy -- -D warnings clean, and satisfy cargo deny check per deny.toml.

**/*.rs: If any Rust code changed, always run just test-rust.
If any Rust code changed, also run cargo fmt --all.
If any Rust code changed, also run cargo clippy --workspace --all-targets -- -D warnings.
For Rust changes headed for review, run cargo fmt --all and cargo clippy --workspace --all-targets -- -D warnings even if relying on pre-commit.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
{crates/core,crates/adaptive}/**/*

📄 CodeRabbit inference engine (.agents/skills/prepare-pr/SKILL.md)

Changes to crates/core or crates/adaptive must run the full language matrix

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
crates/core/**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-go-binding/SKILL.md)

If the change touched crates/core or shared runtime semantics, also use validate-change for broader validation

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
**/*.{rs,py}

📄 CodeRabbit inference engine (AGENTS.md)

Follow binding naming conventions in Rust and Python: use snake_case.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
**/*.{rs,py,js,mjs,cjs,ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{rs,py,js,mjs,cjs,ts,tsx}: Use Json = serde_json::Value in Rust-facing runtime APIs where the existing code expects JSON payloads.
Use Result<T> with FlowError in core runtime paths, and keep errors explicit and binding-appropriate at the wrapper layer.
Keep async behavior on the existing tokio-based model; bindings should preserve callback and future lifetimes rather than blocking or hiding async work unexpectedly.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
**/*.{rs,py,go,js,ts,c,h}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use language-appropriate naming conventions: Rust snake_case, C FFI exports prefixed nemo_relay_, Go PascalCase, Node.js camelCase, and Python snake_case.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
**/*.{rs,go,js,ts}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Add the SPDX license header to all Rust, Go, JavaScript, and TypeScript source files using the corresponding // comment form.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
crates/{core,adaptive}/**/*

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If crates/core or crates/adaptive changed, run the full validation matrix across Rust, Python, Go, and Node.js.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
**/*.{rs,py,go,js,ts}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If a language surface changed, always run that language's test target even when Rust core did not change.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
crates/{core,adaptive}/**/*.rs

⚙️ CodeRabbit configuration file

crates/{core,adaptive}/**/*.rs: Review the Rust runtime for async correctness, scope isolation, middleware ordering, and event lifecycle regressions.
Pay close attention to task-local/thread-local scope propagation, callback lifetimes, stream finalization, and root_uuid isolation.
Public API changes should preserve existing behavior unless tests and docs show the intended migration path.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/src/observability/mod.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/core/src/observability/openinference.rs
  • crates/core/src/observability/otel.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/src/observability/plugin_component.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
{crates/**/tests/**,python/tests/**,go/nemo_relay/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_relay/**/*_test.go}: Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.
Prefer assertions on lifecycle events, scope stacks, middleware ordering, and binding parity over shallow smoke tests.

Files:

  • crates/core/tests/unit/observability/exporter_parity_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/plugin_component_tests.rs
{crates/**/src/**/*.rs,python/**/*.py}

📄 CodeRabbit inference engine (.agents/skills/maintain-dynamic-plugins/SKILL.md)

Do not add tests under src; Rust tests belong in crate tests/ trees, and Python SDK tests belong under python/tests.

Files:

  • crates/core/src/observability/mod.rs
  • crates/core/src/observability/openinference.rs
  • crates/cli/src/sessions/mod.rs
  • crates/core/src/observability/otel.rs
  • crates/core/src/observability/plugin_component.rs
crates/core/src/observability/{atif,otel,openinference}.rs

📄 CodeRabbit inference engine (.agents/skills/maintain-observability/SKILL.md)

When changing the core event model, emitted fields, exporter behavior, subscriber config, or lifecycle, keep the ATIF, OpenTelemetry, and OpenInference implementations in sync.

Files:

  • crates/core/src/observability/openinference.rs
  • crates/core/src/observability/otel.rs
🧠 Learnings (1)
📚 Learning: 2026-07-14T02:53:59.997Z
Learnt from: willkill07
Repo: NVIDIA/NeMo-Relay PR: 415
File: docs/configure-plugins/observability/opentelemetry.mdx:98-113
Timestamp: 2026-07-14T02:53:59.997Z
Learning: In NeMo-Relay’s OpenTelemetry/OpenInference observability projection docs under docs/configure-plugins/observability/, document the projected-attribute contract as follows: (1) emit scalar top-level `data`/`metadata` fields as typed dotted OTLP attributes (for example, `nemo_relay.start.metadata.tenant`); (2) keep nested objects/arrays as JSON strings at their top-level OTLP attribute (rather than expanding them into nested OTLP attributes); and (3) do not reference the legacy `*_json` payload attributes (e.g., `data_json`, `metadata_json`, `input_json`) because they were intentionally removed as a breaking change.

Applied to files:

  • docs/configure-plugins/observability/atof.mdx
  • docs/configure-plugins/observability/about.mdx
  • docs/configure-plugins/observability/atif.mdx
  • docs/configure-plugins/observability/opentelemetry.mdx
  • docs/configure-plugins/observability/openinference.mdx
🔇 Additional comments (19)
crates/cli/src/sessions/mod.rs (2)

925-942: LGTM!


1066-1083: LGTM! Placing session_instance_id last in the merge correctly makes it non-overridable, matching the test's untrusted override check.

crates/cli/tests/coverage/shared/session_tests.rs (2)

268-433: LGTM! Solid coverage of dedupe, non-overridable identity, UUIDv7 versioning, and turn-root parentage. As per path instructions, these assertions target lifecycle events, scope stacks, and cross-request isolation as expected.


2153-2153: LGTM! Matches the AtifCorrelation/persistence contract in crates/core/src/observability/plugin_component.rs.

Also applies to: 2198-2209

crates/core/tests/unit/observability/otel_tests.rs (1)

332-351: LGTM! Coverage matches the documented root-only projection contract (roots get session.id/user.id/nemo_relay.session.instance_id, children don't, non-string user_id is excluded, marks mirror the root).

Also applies to: 449-460, 705-837

docs/configure-plugins/observability/opentelemetry.mdx (1)

97-111: LGTM! Accurately documents root-only projection, string-only user.id, and mark propagation, consistent with the exporter tests and the prior learning on this doc's attribute-projection contract.

Based on learnings, this stays consistent with the projected-attribute contract (scalar fields as dotted attributes, no *_json legacy references) previously established for this file.

docs/nemo-relay-cli/basic-usage.mdx (2)

244-255: LGTM! Matches the start_agent/scope_metadata behavior in crates/cli/src/sessions/mod.rs (single mark, non-overridable session_instance_id, string-only user_id for OTLP export).


273-275: 📐 Maintainability & Code Quality

ScopeStackHandle matches the session stack type here.

			> Likely an incorrect or invalid review comment.
integrations/coding-agents/README.md (1)

194-196: LGTM! Consistent with the root-only user.id projection contract validated elsewhere in this PR.

crates/core/src/observability/mod.rs (2)

120-148: 📐 Maintainability & Code Quality

Confirm Required Core Runtime Validation

Confirm the changed core runtime passes cargo fmt --all, cargo clippy --workspace --all-targets -- -D warnings, just test-rust, cargo deny check, the full Rust/Python/Go/Node validation matrix, and uv run pre-commit run --all-files. As per coding guidelines, changes under crates/core require the full language matrix and Rust validation commands.

Source: Coding guidelines


142-146: 🗄️ Data Integrity & Integration

Keep nemo_relay.session.instance_id scope-derived
This field is intentionally read from current_scope_stack().root_uuid(), and the observability tests assert it matches the active scope and stays absent on child events.

			> Likely an incorrect or invalid review comment.
docs/about-nemo-relay/concepts/events.mdx (1)

35-39: LGTM!

crates/core/tests/unit/observability/openinference_tests.rs (1)

430-449: LGTM!

Also applies to: 547-558, 808-937

crates/core/src/observability/plugin_component.rs (2)

1008-1008: LGTM!

Also applies to: 1131-1139, 1257-1257, 1401-1401, 1425-1425, 1435-1458


1046-1064: 🩺 Stability & Availability

Verify dispatcher scope propagation for session_instance_id. current_scope_stack() falls back to task-local, then thread-local storage, so AtifCorrelation::from_event() can pick up the worker’s root UUID unless the dispatcher explicitly preserves the emitting session’s scope.

crates/core/tests/unit/observability/plugin_component_tests.rs (1)

1088-1136: LGTM!

Also applies to: 1222-1237, 1544-1601

docs/configure-plugins/observability/atif.mdx (1)

46-56: LGTM!

docs/configure-plugins/observability/atof.mdx (1)

102-107: LGTM!

docs/configure-plugins/observability/openinference.mdx (1)

109-118: LGTM!

Based on learnings, the general metadata-projection convention documented for opentelemetry.mdx ("emit scalar top-level data/metadata fields as typed dotted OTLP attributes") is not violated here — this describes a distinct, explicitly-scoped canonical identity contract that the tests confirm coexists with generic metadata projection.

Source: Learnings

Comment thread crates/cli/src/sessions/mod.rs
Comment thread crates/core/tests/unit/observability/exporter_parity_tests.rs
@willkill07 willkill07 added this to the 0.6 milestone Jul 15, 2026
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
crates/cli/tests/coverage/shared/session_tests.rs (1)

268-350: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Add startup failure/retry coverage.

These tests cover duplicate starts and poisoned-lock recovery, but not failure during ensure_agent_started or emit_mark_event. Add a regression test that retries AgentStarted after such a failure and asserts exactly one session.start mark with no stale lifecycle state.

As per path instructions, tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@crates/cli/tests/coverage/shared/session_tests.rs` around lines 268 - 350,
Add a regression test alongside
session_start_mark_carries_stable_non_overridable_identity_once that injects a
failure from ensure_agent_started or emit_mark_event, retries the same
AgentStarted event, and verifies the retry succeeds with exactly one
session.start mark and no stale lifecycle state. Exercise a fresh request or
equivalent cross-request boundary where applicable, and clean up the subscriber
consistently with the existing test.

Source: Path instructions

crates/cli/src/sessions/mod.rs (1)

925-940: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Make startup lifecycle state transactional and test its retry behavior.

A failed scope or mark emission currently leaves the session marked as started, so retries can permanently omit session.start.

  • crates/cli/src/sessions/mod.rs#L925-L940: commit session_started only after successful startup emission, or roll back the scope and metadata on failure.
  • crates/cli/tests/coverage/shared/session_tests.rs#L268-L350: add failure/retry coverage asserting exactly one startup mark and no stale scope state.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@crates/cli/src/sessions/mod.rs` around lines 925 - 940, Update start_agent so
startup state changes are transactional: do not commit session_started, agent
scope, or session metadata until ensure_agent_started and the session.start
emit_mark_event both succeed, or restore all prior state when either fails. In
crates/cli/tests/coverage/shared/session_tests.rs lines 268-350, add
failure-and-retry coverage verifying exactly one session.start mark is emitted
and no stale scope state remains after the failed attempt.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@crates/cli/src/sessions/mod.rs`:
- Around line 925-940: Update start_agent so startup state changes are
transactional: do not commit session_started, agent scope, or session metadata
until ensure_agent_started and the session.start emit_mark_event both succeed,
or restore all prior state when either fails. In
crates/cli/tests/coverage/shared/session_tests.rs lines 268-350, add
failure-and-retry coverage verifying exactly one session.start mark is emitted
and no stale scope state remains after the failed attempt.

In `@crates/cli/tests/coverage/shared/session_tests.rs`:
- Around line 268-350: Add a regression test alongside
session_start_mark_carries_stable_non_overridable_identity_once that injects a
failure from ensure_agent_started or emit_mark_event, retries the same
AgentStarted event, and verifies the retry succeeds with exactly one
session.start mark and no stale lifecycle state. Exercise a fresh request or
equivalent cross-request boundary where applicable, and clean up the subscriber
consistently with the existing test.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: afead5ed-75c6-4f63-9103-38eb3f7fdcf7

📥 Commits

Reviewing files that changed from the base of the PR and between 07e0b57 and 4876408.

📒 Files selected for processing (2)
  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
📜 Review details
🧰 Additional context used
📓 Path-based instructions (9)
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/prepare-pr/SKILL.md)

**/*.rs: Any Rust change must run just test-rust
Any Rust change must run cargo fmt --all
Any Rust change must run cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all for all FFI work since it is Rust work
Run just test-rust to validate FFI changes
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting on FFI work

When Rust files changed as part of Go work, also run cargo fmt --all, just test-rust, and cargo clippy --workspace --all-targets -- -D warnings

**/*.rs: Run cargo fmt --all when Rust files are changed as part of Node work
Run cargo clippy --workspace --all-targets -- -D warnings when Rust files are changed as part of Node work
Run just test-rust when Rust files are changed as part of Node work

When changing the core Rust runtime or Rust-facing API surface, format Rust code with cargo fmt (rustfmt defaults), keep cargo clippy -- -D warnings clean, and satisfy cargo deny check per deny.toml.

**/*.rs: If any Rust code changed, always run just test-rust.
If any Rust code changed, also run cargo fmt --all.
If any Rust code changed, also run cargo clippy --workspace --all-targets -- -D warnings.
For Rust changes headed for review, run cargo fmt --all and cargo clippy --workspace --all-targets -- -D warnings even if relying on pre-commit.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
**/*.{rs,py}

📄 CodeRabbit inference engine (AGENTS.md)

Follow binding naming conventions in Rust and Python: use snake_case.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
**/*.{rs,py,js,mjs,cjs,ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{rs,py,js,mjs,cjs,ts,tsx}: Use Json = serde_json::Value in Rust-facing runtime APIs where the existing code expects JSON payloads.
Use Result<T> with FlowError in core runtime paths, and keep errors explicit and binding-appropriate at the wrapper layer.
Keep async behavior on the existing tokio-based model; bindings should preserve callback and future lifetimes rather than blocking or hiding async work unexpectedly.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
**/*.{rs,py,go,js,ts,c,h}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use language-appropriate naming conventions: Rust snake_case, C FFI exports prefixed nemo_relay_, Go PascalCase, Node.js camelCase, and Python snake_case.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
**/*.{rs,go,js,ts}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Add the SPDX license header to all Rust, Go, JavaScript, and TypeScript source files using the corresponding // comment form.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
{crates/**/src/**/*.rs,python/**/*.py}

📄 CodeRabbit inference engine (.agents/skills/maintain-dynamic-plugins/SKILL.md)

Do not add tests under src; Rust tests belong in crate tests/ trees, and Python SDK tests belong under python/tests.

Files:

  • crates/cli/src/sessions/mod.rs
**/*

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

**/*: Format changed files with the language-native formatter before the final lint/test pass.
If dynamic plugin behavior changed, use maintain-dynamic-plugins and include the native SDK, worker protocol, Python SDK, docs, packaging, and Codecov surfaces in the validation plan.
If code changes alter APIs, bindings, commands, paths, packaging behavior, observability/adaptive semantics, or documented best practices, update any dependent maintainer or consumer skills in the same branch.
During iteration, prefer uv run pre-commit run --files <changed files...>.
Before review or handoff, run uv run pre-commit run --all-files.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
**/*.{rs,py,go,js,ts}

📄 CodeRabbit inference engine (.agents/skills/validate-change/SKILL.md)

If a language surface changed, always run that language's test target even when Rust core did not change.

Files:

  • crates/cli/src/sessions/mod.rs
  • crates/cli/tests/coverage/shared/session_tests.rs
{crates/**/tests/**,python/tests/**,go/nemo_relay/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_relay/**/*_test.go}: Tests should cover the behavior promised by the changed API surface, including error paths and cross-request isolation where relevant.
Prefer assertions on lifecycle events, scope stacks, middleware ordering, and binding parity over shallow smoke tests.

Files:

  • crates/cli/tests/coverage/shared/session_tests.rs
🔇 Additional comments (3)
crates/cli/src/sessions/mod.rs (2)

925-940: 📐 Maintainability & Code Quality

Run the required Rust validation before handoff.

Run cargo fmt --all, just test-rust, cargo clippy --workspace --all-targets -- -D warnings, and uv run pre-commit run --all-files.

As per coding guidelines, Rust changes require formatting, Rust tests, strict Clippy, and the final all-files pre-commit pass.

Source: Coding guidelines


1060-1076: LGTM!

crates/cli/tests/coverage/shared/session_tests.rs (1)

352-415: LGTM!

Also applies to: 417-432, 434-456, 2177-2177, 2222-2233

@bbednarski9

Copy link
Copy Markdown
Contributor Author

/ok to test 87ca1af

@willkill07

Copy link
Copy Markdown
Member

/merge

@rapids-bot rapids-bot Bot merged commit 6e8bbf7 into NVIDIA:main Jul 15, 2026
81 of 84 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature a new feature lang:rust PR changes/introduces Rust code size:L PR is large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Correlate startup sessions across observability exports

2 participants