Skip to content

Bump starlette, fastapi, opentelemetry, add additional test coverage - #5032

Merged
Jack Morris (rudolphjacksonm) merged 8 commits into
mainfrom
dependabot/pip/e2e_tests/pip-ea269f03c1
Aug 12, 2026
Merged

Bump starlette, fastapi, opentelemetry, add additional test coverage#5032
Jack Morris (rudolphjacksonm) merged 8 commits into
mainfrom
dependabot/pip/e2e_tests/pip-ea269f03c1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor

Bumps the pip group with 1 update in the /e2e_tests directory: starlette.

Updates starlette from 0.50.0 to 1.3.1

Release notes

Sourced from starlette's releases.

Version 1.3.1

What's Changed

Full Changelog: Kludex/starlette@1.3.0...1.3.1

Version 1.3.0

What's Changed

New Contributors

Full Changelog: Kludex/starlette@1.2.1...1.3.0

Version 1.2.1

What's Changed

New Contributors

Full Changelog: Kludex/starlette@1.2.0...1.2.1

Version 1.2.0

What's Changed

Full Changelog: Kludex/starlette@1.1.0...1.2.0

Version 1.1.0

... (truncated)

Changelog

Sourced from starlette's changelog.

1.3.1 (June 12, 2026)

Fixed

  • Enforce max_fields and max_part_size in FormParser #3329.
  • Enforce FormParser limits in parser callbacks #3331.

1.3.0 (June 11, 2026)

Added

  • Add httpx2 to the full extra #3323.
  • Annotate the URLPath protocol parameter with Literal #3285.

Fixed

  • Build request.url from structured components #3326.
  • Clamp oversized suffix ranges in FileResponse #3307.
  • Catch OSError alongside MultiPartException when closing temp files #3191.
  • Avoid collapsing exception groups raised from user code #2830.
  • Use removeprefix to strip the weak ETag indicator in is_not_modified #3193.
  • Fix IndexError in URL.replace() on a URL with no authority #3317.
  • Adjust testclient typing and warnings #3322.

1.2.1 (May 31, 2026)

Fixed

  • Use httpx2 for type checking in the testclient module #3304.
  • Add assert error for requires() when the request parameter is not a Request type #3298.

1.2.0 (May 28, 2026)

Added

  • Support httpx2 in the test client #3291.

1.1.0 (May 23, 2026)

Added

  • Use "application/octet-stream" as the FileResponse media type fallback #3283.

Fixed

  • Only dispatch standard HTTP verbs in HTTPEndpoint #3286.
  • Reject absolute paths in StaticFiles.lookup_path #3287.

1.0.1 (May 21, 2026)

... (truncated)

Commits
  • 8ebffd0 Version 1.3.1 (#3330)
  • 25b8e17 Enforce FormParser limits in parser callbacks (#3331)
  • dba1c4b Enforce max_fields and max_part_size in FormParser (#3329)
  • 45e51dc Use StarletteDeprecationWarning instead of DeprecationWarning (#3119)
  • 5f8610c Version 1.3.0 (#3327)
  • 167b585 Build request.url from structured components (#3326)
  • 3730925 Use removeprefix to strip weak ETag indicator in is_not_modified (#3193)
  • e6f7ad1 avoid collapsing exception groups from user code (#2830)
  • 115228f Annotate URLPath protocol parameter with Literal (#3285)
  • 113f193 docs: replace inline ASGI server list with link to canonical implemen… (#3204)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the pip group with 1 update in the /e2e_tests directory: [starlette](https://github.com/Kludex/starlette).


Updates `starlette` from 0.50.0 to 1.3.1
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](Kludex/starlette@0.50.0...1.3.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 1.3.1
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 5, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 5, 2026 01:47
Copilot AI balanced review requested due to automatic review settings August 5, 2026 01:47
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 5, 2026
@github-actions github-actions Bot added the external PR from an external contributor label Aug 5, 2026

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.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the e2e test dependency constraints by changing the pinned Starlette version.

Changes:

  • Bump starlette in e2e_tests/requirements.txt from 0.50.0 to 1.3.1

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Unit Test Results

755 tests   755 ✅  11s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit bc064a4.

♻️ This comment has been updated with latest results.

Copilot AI review requested due to automatic review settings August 9, 2026 22:06

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-extended

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

⚠️ When using /test-extended on external PRs, the SHA of the checked commit must be specified

(in response to this comment from Jack Morris (@rudolphjacksonm))

@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-extended 921a8b6

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/31394956452 (with refid e2de48ff)

(in response to this comment from Jack Morris (@rudolphjacksonm))

fastapi must be bumped to 0.139.2 to be compatible with starlette 1.3.1
Copilot AI review requested due to automatic review settings August 10, 2026 14:43

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (2)

api_app/requirements.txt:14

  • The title and description state that this PR only updates Starlette under /e2e_tests in one directory, but this also upgrades the production API's FastAPI dependency. Update the PR metadata to disclose the API runtime change and explain that it is the compatibility companion to the Starlette upgrade.
fastapi==0.139.2

e2e_tests/requirements.txt:5

  • This major Starlette/FastAPI dependency update is missing from the unreleased changelog. Equivalent updates are explicitly recorded in CHANGELOG.md:189 and CHANGELOG.md:197, and the repository instructions require significant changes to be listed. Add an unreleased entry with the PR reference.
starlette==1.3.1

Copilot AI review requested due to automatic review settings August 10, 2026 14:46

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-extended 74a4c05

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/31400251822 (with refid e2de48ff)

(in response to this comment from Jack Morris (@rudolphjacksonm))

Align Azure Monitor instrumentation with FastAPI's nested router model and add instrumented routing regression coverage.\n\nCo-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 11, 2026 09:40

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.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

Suppressed comments (3)

api_app/requirements.txt:14

  • These production API dependency upgrades (together with the resource-processor changes and new API tests) are outside the PR's stated /e2e_tests-only Starlette update. This materially broadens the release and review risk. Either revert the unrelated production changes or update the title/description to explain the FastAPI/OpenTelemetry upgrade and its validation.
azure-monitor-opentelemetry==1.8.9
azure-servicebus==7.14.3
azure-storage-blob==12.27.1
fastapi==0.139.2

resource_processor/vmss_porter/requirements.txt:6

  • These dependency changes alter the deployable resource processor, but resource_processor/_version.py remains at 0.13.5. The repository's component versioning policy requires a semantic version increment when a component is edited; bump the resource-processor version so this updated runtime can be released and identified correctly.
azure-monitor-opentelemetry==1.8.9
azure-servicebus==7.14.3
opentelemetry-instrumentation-logging==0.64b0

api_app/_version.py:1

  • The API is being released as 0.26.4, but the Unreleased changelog has no entry for this API/FastAPI/OpenTelemetry update. Add an ENHANCEMENTS or BUG FIXES entry with the PR reference, as required by the repository's changelog policy.
__version__ = "0.26.4"

Copilot AI review requested due to automatic review settings August 11, 2026 09:43

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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

Suppressed comments (2)

api_app/requirements.txt:14

  • The title and description say this PR only updates Starlette under e2e_tests, but this line is part of a production API framework upgrade; the diff also changes telemetry instrumentation, API/resource-processor dependencies, tests, and deployable component versions. Please either update the PR title and description to disclose and explain this expanded runtime scope, or split the unrelated production changes into a separate PR so reviewers and release automation are not evaluating a materially misdescribed change.
fastapi==0.139.2

api_app/_version.py:1

  • This releases a new API version (and the PR also increments the resource processor), but the Unreleased section of CHANGELOG.md has no entry for these production dependency and instrumentation changes. Add an ENHANCEMENTS or BUG FIXES entry with the PR/issue reference and the affected component versions, as required for significant changes and component releases.
__version__ = "0.26.4"

@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-extended 84218a4

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/31481550375 (with refid e2de48ff)

(in response to this comment from Jack Morris (@rudolphjacksonm))

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 11, 2026 13:47
@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-extended 32fcb0e

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/31498122739 (with refid e2de48ff)

(in response to this comment from Jack Morris (@rudolphjacksonm))

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.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

Suppressed comments (4)

resource_processor/vmss_porter/requirements.txt:6

  • The resource processor OpenTelemetry upgrades are unrelated to the described Starlette update in e2e_tests and materially alter a production component. Please remove/split them, or expand the PR description to justify and document this additional upgrade scope.
azure-monitor-opentelemetry==1.8.9
azure-servicebus==7.14.3
opentelemetry-instrumentation-logging==0.64b0

api_app/_version.py:1

  • The API component version is bumped without a corresponding entry in the unreleased CHANGELOG section. Add an ENHANCEMENTS or BUG FIXES entry describing the API dependency/instrumentation change and referencing this PR or its issue.
__version__ = "0.26.5"

resource_processor/_version.py:1

  • The resource processor component version is bumped without a corresponding entry in the unreleased CHANGELOG section. Add an ENHANCEMENTS or BUG FIXES entry for its OpenTelemetry dependency update with a PR or issue reference.
__version__ = "0.13.6"

api_app/requirements.txt:14

  • The PR description says the only update is Starlette under e2e_tests, but this also changes the production API's FastAPI and OpenTelemetry dependency set and adds API tests/version changes. Either split these API changes into their own PR or update the description to explain their purpose, compatibility impact, and validation; as written, reviewers cannot assess the actual stated scope.
fastapi==0.139.2

@rudolphjacksonm Jack Morris (rudolphjacksonm) changed the title Bump starlette from 0.50.0 to 1.3.1 in /e2e_tests in the pip group across 1 directory Bump starlette, fastapi, opentelemetry, add additional test coverage Aug 11, 2026

@marrobi Marcus Robinson (marrobi) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changelog needs doing.

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 12, 2026 08:01
@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-force-approve

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit bc064a4)

(in response to this comment from Jack Morris (@rudolphjacksonm))

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.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

Suppressed comments (1)

CHANGELOG.md:9

  • The new changelog entry omits the required issue or PR reference. Add the current PR (or its tracking issue) in the established ([#NNNN](https://github.com/microsoft/AzureTRE/pull/NNNN)) format so the release note remains traceable.
* Upgrade FastAPI to 0.139.2, Starlette to 1.3.1, and compatible OpenTelemetry dependencies, with routing updates for newer FastAPI and Pydantic v2 compatibility.

@rudolphjacksonm
Jack Morris (rudolphjacksonm) merged commit 5cf89f0 into main Aug 12, 2026
15 checks passed
@rudolphjacksonm
Jack Morris (rudolphjacksonm) deleted the dependabot/pip/e2e_tests/pip-ea269f03c1 branch August 12, 2026 08:43
stuart-bass-cgi pushed a commit to stuart-bass-cgi/AzureTRE that referenced this pull request Aug 14, 2026
…icrosoft#5032)

* Bump starlette in /e2e_tests in the pip group across 1 directory

Bumps the pip group with 1 update in the /e2e_tests directory: [starlette](https://github.com/Kludex/starlette).


Updates `starlette` from 0.50.0 to 1.3.1
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](Kludex/starlette@0.50.0...1.3.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 1.3.1
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump fastapi

fastapi must be bumped to 0.139.2 to be compatible with starlette 1.3.1

* Update api version

* Upgrade OpenTelemetry for FastAPI 0.139

Align Azure Monitor instrumentation with FastAPI's nested router model and add instrumented routing regression coverage.\n\nCo-Authored-By: Claude <noreply@anthropic.com>

* bump resource processor version

* Bump API version to 0.26.5

Co-Authored-By: Claude <noreply@anthropic.com>

* Update changelog for FastAPI upgrade

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Morris <13438569+rudolphjacksonm@users.noreply.github.com>
Co-authored-by: Jack Morris <jackmorris@UK-2SZ4CC4.localdomain>
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file external PR from an external contributor python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants