Skip to content

Comments

Guard Azure Functions Utilization#1632

Merged
TimPansino merged 3 commits intomainfrom
fix-azure-util-crash
Jan 22, 2026
Merged

Guard Azure Functions Utilization#1632
TimPansino merged 3 commits intomainfrom
fix-azure-util-crash

Conversation

@TimPansino
Copy link
Contributor

Overview

  • Add guard against crashes in Azure Functions Utilization detection.
  • Add regression test.

@TimPansino TimPansino requested a review from a team as a code owner January 22, 2026 19:56
@github-actions
Copy link

github-actions bot commented Jan 22, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.84s
✅ MARKDOWN markdownlint 7 0 0 0 1.18s
✅ PYTHON ruff 961 0 0 0 0.87s
✅ PYTHON ruff-format 961 0 0 0 0.35s
✅ YAML prettier 15 0 0 0 1.33s
✅ YAML v8r 15 0 0 4.54s
✅ YAML yamllint 15 0 0 0.58s

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@codecov-commenter
Copy link

codecov-commenter commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.69%. Comparing base (b2c7cf2) to head (24392cd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1632      +/-   ##
==========================================
+ Coverage   81.68%   81.69%   +0.01%     
==========================================
  Files         209      209              
  Lines       24384    24388       +4     
  Branches     3866     3866              
==========================================
+ Hits        19918    19924       +6     
+ Misses       3160     3157       -3     
- Partials     1306     1307       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TimPansino TimPansino enabled auto-merge (squash) January 22, 2026 20:07
@mergify mergify bot added the tests-failing Tests failing in CI. label Jan 22, 2026
@TimPansino TimPansino merged commit d5bb817 into main Jan 22, 2026
106 of 108 checks passed
@TimPansino TimPansino deleted the fix-azure-util-crash branch January 22, 2026 20:21
@mergify mergify bot removed the tests-failing Tests failing in CI. label Jan 22, 2026
@umaannamalai umaannamalai added this to the v11.3.0 milestone Jan 22, 2026
TimPansino added a commit that referenced this pull request Feb 14, 2026
* Update output message timestamping. (#1627)

* Update output message timestamping.

* Fix LangChain tests.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Guard Azure Functions Utilization (#1632)

* Add guard to azure functions utilization for crashes

* Add regression test

* Improve Strands Tool Error Capturing (#1623)

* Overhaul Strands Agents testing

* Add better error instrumentation to strands tools

* Expand testing for strands tools

* Add better guarding to register_tool instrumentation

* Fix up test logic

* Add tool_id to all strands errors

* Add log message

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Add support for BaseException instances as arguments to notice_error (#1571)

* Update implementation of notice_error

* Clean up test_notice_error file

* Add tests for notice_error with exception instances

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* LangGraph Instrumentation

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* LangChain Agents Instrumentation

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update tox versions for LangChain / LangGraph

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Move GeneratorProxy from Strands to common file

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* More verbose logging in validate_custom_events

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Improve prompt logging for mock openai server

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Tweak langchain test folder structure

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update Chain tests

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* New Agent testing

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* New Tool testing

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Expand Test Matrixing

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Newly recorded responses for LangChain

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Patch incorrect super() call in GeneratorProxy

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Better entry point for agent exception testing

* Update AgentObjectProxy to include transform() methods

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update event counts in RunnableSequence tests

* Reformatting to kwargs

* Formatting

* Remove storage of agent name on transaction

* Instrument RunnableSequence.stream and astream

* Add correct event counts

* Guard metadata additions

* Add alternate source for agent_name

* Pin lower bound of langchain tests

* Implement tee() and __copy__() for GeneratorProxy

* Slight tweaks

* Fixups.

* Fix pyramid by pinning setuptools (#1647)

* Bump the github_actions group across 1 directory with 7 updates (#1657)

Bumps the github_actions group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6.0.1` | `6.0.2` |
| [actions/setup-python](https://github.com/actions/setup-python) | `6.1.0` | `6.2.0` |
| [docker/login-action](https://github.com/docker/login-action) | `3.6.0` | `3.7.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `6.18.0` | `6.19.1` |
| [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) | `3.1.0` | `3.2.0` |
| [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `7.2.0` | `7.3.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.31.10` | `4.32.2` |



Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@8e8c483...de0fac2)

Updates `actions/setup-python` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@83679a8...a309ff8)

Updates `docker/login-action` from 3.6.0 to 3.7.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@5e57cd1...c94ce9f)

Updates `docker/build-push-action` from 6.18.0 to 6.19.1
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@2634353...601a80b)

Updates `actions/attest-build-provenance` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](actions/attest-build-provenance@00014ed...96278af)

Updates `astral-sh/setup-uv` from 7.2.0 to 7.3.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@61cb8a9...eac588a)

Updates `github/codeql-action` from 4.31.10 to 4.32.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdefb33...45cbd0c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_actions
- dependency-name: actions/setup-python
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: docker/login-action
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: docker/build-push-action
  dependency-version: 6.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: actions/attest-build-provenance
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: astral-sh/setup-uv
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: github/codeql-action
  dependency-version: 4.32.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Uma Annamalai <uannamalai@newrelic.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@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.

3 participants