Skip to content

Bug fix for Optional Provider Probe test - #33349

Closed
sfatimar wants to merge 1 commit into
microsoft:mainfrom
sfatimar:bug_fix_optional_provider
Closed

sfatimar wants to merge 1 commit into
microsoft:mainfrom
sfatimar:bug_fix_optional_provider

Conversation

@sfatimar

Copy link
Copy Markdown
Contributor

Description

#33112 introduced bug in Legacy Build of OpenVINO

Motivation and Context

This changes is required because the PR added a struct which was just needed for the test.

  • If it fixes an open issue, please link to the issue here. -->

Copilot AI balanced review requested due to automatic review settings October 13, 2026 17:26
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@sfatimar

Copy link
Copy Markdown
Contributor Author

Sushanth Rajasankar (@sushraja-msft) Please review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The declarations now use the correct global OpenVINO type without changing production behavior.

0 open findings

What changed in this PR

Fixes the OpenVINO legacy build by keeping test-only declarations out of the provider bridge header.

Changes:

  • Moves the OpenVINO probe forward declarations into the relevant test.
  • Restores the provider bridge header to production declarations only.
File Description
onnxruntime/​test/​shared_lib/​optional_provider_probe_test.cc Adds test-local probe declarations.
onnxruntime/​core/​session/​provider_bridge_ort.h Removes conflicting test-only declarations.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jambayk
Jambay Kinley (jambayk) enabled auto-merge (squash) October 13, 2026 19:55
@sfatimar

Copy link
Copy Markdown
Contributor Author

#33327 Duplicate PR , please merge this instead.

@sfatimar sfatimar closed this Oct 14, 2026
auto-merge was automatically disabled October 14, 2026 16:28

Pull request was closed

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.

3 participants