Skip to content

test: add ATIF trace correlation coverage#126

Merged
rapids-bot[bot] merged 3 commits into
NVIDIA:mainfrom
willkill07:wkk_test-atif-observability-correlation
May 19, 2026
Merged

test: add ATIF trace correlation coverage#126
rapids-bot[bot] merged 3 commits into
NVIDIA:mainfrom
willkill07:wkk_test-atif-observability-correlation

Conversation

@willkill07
Copy link
Copy Markdown
Member

@willkill07 willkill07 commented May 18, 2026

Overview

Adds regression coverage and plugin documentation proving ATIF lineage can be correlated with exported OpenTelemetry and OpenInference spans through the shared NeMo Flow UUID attributes.

  • 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

  • Adds an OpenTelemetry unit test that feeds the same agent and LLM lifecycle events to the OTel processor and ATIF exporter, then verifies nemo_flow.uuid and nemo_flow.parent_uuid match ATIF session_id and step.extra.ancestry.
  • Adds the equivalent OpenInference unit test so the same correlation contract is covered for OpenInference export.
  • Documents the cross-format join fields in the Observability plugin overview and in the ATIF, OpenTelemetry, and OpenInference plugin pages.
  • Clarifies that tracing backend trace_id and span_id values are not written into ATIF; the supported join keys are NeMo Flow UUID attributes.

Validation run:

  • cargo test -p nemo-flow atif_lineage_correlates_with_otel_span_attributes
  • cargo test -p nemo-flow observability::otel::tests
  • cargo test -p nemo-flow atif_lineage_correlates_with_openinference_span_attributes
  • cargo test -p nemo-flow observability::openinference::tests
  • cargo fmt --all
  • just test-rust
  • cargo clippy --workspace --all-targets -- -D warnings
  • just docs
  • Commit hooks also ran targeted pre-commit checks, including docs markdown linkcheck and, for the test commit, cargo fmt, clippy, check, and deny.

Where should the reviewer start?

Start with docs/plugins/observability/about.md for the documented correlation contract, then compare the assertions in crates/core/tests/unit/observability/otel_tests.rs and crates/core/tests/unit/observability/openinference_tests.rs.

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

  • Closes: NMF-147

Summary by CodeRabbit

  • New Features

    • Added lineage correlation between ATIF trajectories and distributed traces (OpenTelemetry/OpenInference), enabling end-to-end observability across tracing backends.
  • Documentation

    • Added guidance on correlating ATIF artifacts with trace spans using shared identifiers, clarifying the relationship between trajectory data and trace exporters.

Review Change Stack

Signed-off-by: Will Killian <wkillian@nvidia.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Walkthrough

New unit tests verify lineage correlation between ATIF trajectory data and OpenInference/OpenTelemetry span attributes through shared nemo_flow UUIDs. Updated documentation explains the mapping between ATIF session/ancestry fields and trace span attributes across both exporters.

Changes

ATIF Lineage Correlation with Tracing Exporters

Layer / File(s) Summary
OpenInference lineage correlation test
crates/core/tests/unit/observability/openinference_tests.rs
New test imports ATIF types (AtifAgentInfo, AtifExporter, AtifStepExtra) and validates that OpenInference span attributes (nemo_flow.uuid, nemo_flow.parent_uuid) match the ATIF trajectory session ID and ancestry chain, including deserialization of step extra into ancestry data.
OTEL lineage correlation test
crates/core/tests/unit/observability/otel_tests.rs
New test imports ATIF types and drives OtelEventProcessor with agent and LLM scope events while subscribing to ATIF, then validates OTEL span nemo_flow attributes correlate with exported ATIF trajectory ancestry and session identifiers.
Correlation documentation
docs/plugins/observability/about.md, docs/plugins/observability/atif.md, docs/plugins/observability/openinference.md, docs/plugins/observability/opentelemetry.md
New and expanded documentation sections explaining how ATIF session and extra.ancestry fields map to nemo_flow.uuid and nemo_flow.parent_uuid in trace spans, and clarifying that backend-native trace_id/span_id values are excluded from ATIF export.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • NVIDIA/NeMo-Flow#101: Both PRs address ATIF trajectory lineage metadata; the related PR changes how AtifStepExtra ancestry fields are constructed from Hermes marks, while this PR adds tests and docs validating that the exported ancestry data correlates with OTEL/OpenInference span attributes.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Title follows Conventional Commits format with 'test' type and concise imperative summary under 72 characters.
Description check ✅ Passed Description includes all required template sections with sufficient detail on changes, test coverage, validation steps, and reviewer guidance.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@github-actions github-actions Bot added size:M PR is medium Test Test related lang:rust PR changes/introduces Rust code labels May 18, 2026
Signed-off-by: Will Killian <wkillian@nvidia.com>
@willkill07 willkill07 self-assigned this May 19, 2026
@willkill07 willkill07 added this to the 0.3 milestone May 19, 2026
@willkill07 willkill07 marked this pull request as ready for review May 19, 2026 00:02
@willkill07 willkill07 requested a review from a team as a code owner May 19, 2026 00:02
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

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/core/tests/unit/observability/openinference_tests.rs`:
- Around line 881-887: The test currently picks the first agent-sourced step
with trajectory.steps.iter().find(|step| step.source == "agent"), which is
brittle; instead iterate the steps, parse each step.extra into AtifStepExtra and
select the step whose extra.ancestry.function_id equals llm_uuid. Concretely,
replace the find by attempting serde_json::from_value on each step.extra (handle
the Option), match the parsed AtifStepExtra.ancestry.function_id against
llm_uuid, and unwrap the found step into agent_step and then parse extra as
AtifStepExtra as before.

In `@crates/core/tests/unit/observability/otel_tests.rs`:
- Around line 626-632: Replace the brittle source == "agent" selection with a
UUID-driven match: iterate trajectory.steps, parse each step.extra into
AtifStepExtra (using serde_json::from_value) and select the step whose
AtifStepExtra.ancestry.function_id equals llm_uuid; update the variable formerly
named agent_step to be found by this ancestry check (and keep existing
unwraps/asserts as needed) so the test reliably targets the agent step by its
ancestry UUID rather than its source string.
🪄 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: 08d0614e-fab7-44b2-a9cb-7df36d37da7f

📥 Commits

Reviewing files that changed from the base of the PR and between 91ca10c and 03e6d50.

📒 Files selected for processing (6)
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
  • docs/plugins/observability/about.md
  • docs/plugins/observability/atif.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/opentelemetry.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (29)
**/*.{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:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.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:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{md,rst,txt}

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

**/*.{md,rst,txt}: Spell NVIDIA in all caps. Do not use Nvidia, nvidia, or NV.
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 documentation.
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 documentation unless the source, platform, or legal guidance explicitly requires them.
Do not add trademark symbols to NeMo Flow learning documentation by default.
Do not rewrite API names, package names, command flags, or code literals for style reasons.

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{md,markdown,rst}

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

**/*.{md,markdown,rst}: 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
Use monospace formatting for code elements, commands, parameters, package names, and expressions
Use monospace formatting for directories, file names, and paths
Use angle brackets inside monospace for variables inside paths, such as /home/<username>/.login
Use quotation marks for error messages and strings in documentation
Use bold formatting for UI buttons, menus, fields, and labels in documentation
Use angle brackets between UI labels for menu paths, such as File > Save As
Use italics for new terms on first use in documentation
Use italics for publication titles in documentation
Use plain text formatting for keyboard shortcuts in documentation
Prefer [NVIDIA/NeMo](link) format for GitHub repository references over generic phrases 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 in documentation
Avoid generic link anchors such as 'here,' 'this page,' and 'read more' in documentation
Include the acronym in link text if a linked term includes an acronym
Do not link long sentences or multiple sentences in documentation
Avoid links that pull readers away from a procedure unles...

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{html,md}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in HTML and Markdown files using HTML comment syntax

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
docs/**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run ./scripts/build-docs.sh for documentation site changes

docs/**/*.md: Relevant getting-started or reference docs must be updated when examples change
Release-policy docs must point to GitHub Releases as the only release-history source of truth

docs/**/*.md: Use title case for headings in technical documentation
Introduce code blocks, tables, and lists with complete lead-in sentences in documentation

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.md

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Run Markdown link checking via lychee for README.md, CONTRIBUTING.md, and docs/ through pre-commit hooks

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{md,markdown,py,sh,bash,js,ts,java,cpp,go,rust}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep package names, repo references, and build commands current in documentation

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
{RELEASING.md,CHANGELOG.md,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep release-process and release-notes guidance in repo-maintainer docs such as RELEASING.md, not as user-facing docs pages or CHANGELOG.md

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{md,markdown,py,sh,bash}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Keep stable user-facing wrappers at scripts/ root in docs and examples; only point at namespaced helper paths when documenting internal maintenance work

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{md,markdown,py,sh,bash,js,ts,example}

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Example commands must match current package names and paths

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
{scripts/*.sh,docs/**/*.md}

📄 CodeRabbit inference engine (.agents/skills/contribute-integration/SKILL.md)

Use root ./scripts/*.sh commands in docs and contributor guidance as documented, with implementations under scripts/third-party/

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
{docs/**,examples/**,crates/adaptive/**,python/nemo_flow/**,go/nemo_flow/**,**/{example,component}.{ts,tsx,js,rs,py,go}}

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

Any new adaptive component kind must have documentation, examples, and binding coverage across all supported languages

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
{README*,CHANGELOG*,docs/**/*.{md,rst,txt},examples/**/*,*.md}

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

Update documentation, examples, and getting-started guides with new package/module/crate names after rename operations

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{md,txt,rst}

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

**/*.{md,txt,rst}: Ensure commands, package names, file paths, and APIs in documentation are correct and not stale; flag incorrect or outdated information as blocking issues
Ensure examples and procedures in documentation will execute successfully with current APIs and commands
Use consistent user-facing terminology throughout documentation that matches current repo terminology
Capitalize NVIDIA correctly in all documentation and public-facing text
Format code, commands, paths, and filenames as inline code (monospace) in documentation
Use descriptive anchor text for links instead of bare URLs or weak labels like 'here' in documentation
Prefer active voice, present tense, short sentences, and plain English in documentation
Structure documentation procedures as imperative steps that are easy to scan and not too long for a single sequence
Prefer 'after' instead of 'once' for temporal references in documentation
Use 'can' instead of 'may' when describing possibility (rather than permission) in documentation
Avoid ambiguous numeric dates and ordinal dates in documentation body text

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
{README.md,docs/**/*.md,examples/**/*.{js,ts,py,go,rs}}

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

Keep documentation and examples synchronized with current install, import, and build commands

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.{py,js,ts,tsx,go,rs,md}

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

Format changed files with the language-native formatter before the final lint/test pass

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
{README.md,CONTRIBUTING.md,docs/**/*.md}

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

For docs-only changes, run targeted checks only if commands, package names, or examples changed. Use just docs for docs-site builds and just docs-linkcheck when links changed

Files:

  • docs/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
{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/plugins/observability/atif.md
  • docs/plugins/observability/opentelemetry.md
  • docs/plugins/observability/openinference.md
  • docs/plugins/observability/about.md
**/*.rs

📄 CodeRabbit inference engine (.agents/skills/test-ffi-surface/SKILL.md)

**/*.rs: Run cargo fmt --all for FFI work as it is Rust work
Run just test-rust for FFI validation
Run cargo clippy --workspace --all-targets -- -D warnings to enforce warnings-as-errors linting

**/*.rs: Run cargo fmt --all for Rust code formatting
Run cargo clippy --workspace --all-targets -- -D warnings to enforce Rust linting with no warnings
Run just test-rust as the shared-runtime build/test wrapper for Rust changes

Use Rust snake_case naming convention for Rust code

**/*.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 Rust code formatting when Node changes touch Rust files
Run cargo clippy --workspace --all-targets -- -D warnings to enforce strict linting when Rust files changed as part of Node work

**/*.rs: Always run just test-rust when any Rust code changes
Always run cargo fmt --all when any Rust code changes
Always run cargo clippy --workspace --all-targets -- -D warnings when any Rust code changes

If any Rust files changed as part of the Python work, also run cargo fmt --all, just test-rust, and cargo clippy --workspace --all-targets -- -D warnings

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
**/*.{rs,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Include SPDX license headers in all Rust, Go, JavaScript, and TypeScript source files using C-style comment syntax

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
**/*.{rs,py,go,js,ts,tsx}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Use SONAR_IGNORE_START / SONAR_IGNORE_END markers only for documented false positives that cannot be resolved in code; keep ignored blocks small, add explanatory comments, and require reviewer sign-off

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
**/*.{js,ts,tsx,jsx,py,rs,go,java,c,cpp,h,cc,cxx,cs,rb,php,swift,kt}

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

Changed files must be formatted with the language-native formatter

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
crates/{core,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/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
{crates/core,crates/adaptive}/**/*.rs

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

If the change touched shared runtime semantics in crates/core or crates/adaptive, also use validate-change

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
crates/core/**/*.rs

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

When crates/core changes, run the full validation matrix across Rust, Python, Go, Node.js, and WebAssembly

crates/core/**/*.rs: 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. Keep errors explicit and binding-appropriate at the wrapper layer.

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
**/*.{rs,py,js,ts,tsx,go}

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

During iteration, prefer uv run pre-commit run --files <changed files...> for targeted validation

Files:

  • crates/core/tests/unit/observability/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_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/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_test.go}

⚙️ CodeRabbit configuration file

{crates/**/tests/**,python/tests/**,go/nemo_flow/**/*_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/openinference_tests.rs
  • crates/core/tests/unit/observability/otel_tests.rs
🔇 Additional comments (6)
crates/core/tests/unit/observability/openinference_tests.rs (1)

18-18: LGTM!

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

17-17: LGTM!

docs/plugins/observability/about.md (1)

63-75: LGTM!

docs/plugins/observability/atif.md (1)

63-67: LGTM!

docs/plugins/observability/openinference.md (1)

69-76: LGTM!

docs/plugins/observability/opentelemetry.md (1)

68-72: LGTM!

Comment thread crates/core/tests/unit/observability/openinference_tests.rs
Comment thread crates/core/tests/unit/observability/otel_tests.rs
@willkill07
Copy link
Copy Markdown
Member Author

/merge

@rapids-bot rapids-bot Bot merged commit 3a821b9 into NVIDIA:main May 19, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:rust PR changes/introduces Rust code size:M PR is medium Test Test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants