Skip to content

Fix code formatting with ruff#126

Merged
nikhilNava merged 2 commits intonikhilc/OpenAIAutoInstrumentation-fixattributesfrom
copilot/sub-pr-122
Jan 21, 2026
Merged

Fix code formatting with ruff#126
nikhilNava merged 2 commits intonikhilc/OpenAIAutoInstrumentation-fixattributesfrom
copilot/sub-pr-122

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

Applied ruff formatter to ensure code complies with project formatting standards.

Changes

  • Fixed function signature formatting in test_trace_processor_bounded.py to use single-line definition
  • Wrapped long assert statements with proper line continuation

All 145 files now pass ruff format --check.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 21, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Fix OpenAI auto instrumentation attributes Fix code formatting with ruff Jan 21, 2026
Copilot AI requested a review from nikhilNava January 21, 2026 19:01
@nikhilNava nikhilNava marked this pull request as ready for review January 21, 2026 19:04
@nikhilNava nikhilNava requested a review from a team as a code owner January 21, 2026 19:04
@nikhilNava nikhilNava merged commit 1f114b4 into nikhilc/OpenAIAutoInstrumentation-fixattributes Jan 21, 2026
1 check passed
@nikhilNava nikhilNava deleted the copilot/sub-pr-122 branch January 21, 2026 19:05
nikhilNava added a commit that referenced this pull request Jan 21, 2026
* fix input and output messages for invoke span and fix tool call messages

* add test for invoke agent auto instrumented

* Add bounded size limit to _pending_tool_calls dictionary (#125)

* Initial plan

* Implement bounded size for _pending_tool_calls to prevent memory growth

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

* Fix trailing empty line in test file

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

* Fix code formatting with ruff (#126)

* Initial plan

* Fix formatting with ruff format

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

---------

Co-authored-by: Nikhil Chitlur Navakiran (from Dev Box) <nikhilc@microsoft.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.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.

2 participants