Skip to content

[https://nvbugs/6930053][test] Cherry-pick #20384 from release/1.3: Remove test_starlette_constraint_floor - #21948

Open
SimengLiu-nv wants to merge 1 commit into
NVIDIA:mainfrom
SimengLiu-nv:port/release-1.3-pr20384-to-main
Open

SimengLiu-nv wants to merge 1 commit into
NVIDIA:mainfrom
SimengLiu-nv:port/release-1.3-pr20384-to-main

Conversation

@SimengLiu-nv

@SimengLiu-nv SimengLiu-nv commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Forward-port of release/1.3 PR #20384 (Emma Qiao) to main. It deletes tests/unittest/others/test_web_dependency_security.py, matching release/1.3.

Adapted to main: tests/integration/test_lists/waives.txt also drops its entry for test_web_framework_security_floors (https://nvbugs/6930053), because that test is deleted with the file.

Notes for reviewers:

  • On release/1.3, constraints.txt no longer carries the starlette workaround. On main, constraints.txt still has starlette>=1.3.1 (GHSA-82w8-qh3p-5jfq). After this PR, main keeps that pin, and the starlette>=1.3.1 floor in requirements.txt, but no unit test checks either of them.
  • The deleted file also contains test_web_framework_security_floors (the fastapi, prometheus_fastapi_instrumentator and starlette floors in requirements.txt). That test was already waived on main.

Test Coverage

  • Test-only removal; no new code paths.
  • No other test list or file references test_web_dependency_security.py on main.

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
  • Test cases are provided for new code paths (see test instructions)
  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.
  • Any new dependencies have been scanned for license and vulnerabilities
  • CODEOWNERS updated if ownership changes
  • Documentation updated as needed
  • Update tava architecture diagram if there is a significant design change in PR.
  • The reviewers assigned automatically/manually are appropriate for the PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

🤖 Generated with Claude Code

Dev Engineer Review

This change removes the web dependency security-floor tests and their waiver. It does not change application code or dependency manifests. No other references to the removed test or test ID were found in the searched test directories. The removal also removes automated checks for the FastAPI, prometheus_fastapi_instrumentator, and Starlette version constraints.

QA Engineer Review

The change deletes tests/unittest/others/test_web_dependency_security.py, including test_web_framework_security_floors and test_starlette_constraint_floor. It also removes the test_web_framework_security_floors waiver from tests/integration/test_lists/waives.txt. The removed tests checked dependency version floors and exclusions in requirements.txt and constraints.txt. No replacement coverage is shown. Coverage verdict: needs follow-up.

Per-File QA Perspective

  • tests/unittest/others/test_web_dependency_security.py — Deleted tests checked web dependency security version constraints. The file was not listed in the changed test-list entries; CI or manual-QA listing status is not available.
  • tests/integration/test_lists/waives.txt — Removes the waiver for test_web_framework_security_floors. This changes waiver tracking; it does not add or modify test coverage.

…tarlette_constraint_floor

Forward-port of release/1.3 PR NVIDIA#20384
(release/1.3 commit 7c2f938) to main.

Adapted to main: also drop the waives.txt entry for
test_web_framework_security_floors, which is deleted with the file.

Signed-off-by: EmmaQiaoCh <qqiao@nvidia.com>
Signed-off-by: Simeng Liu <simengl@nvidia.com>
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request deletes the web dependency security test module and removes its skip-list entry.

Changes

Web dependency security test removal

Layer / File(s) Summary
Remove dependency security test and waiver
tests/unittest/others/test_web_dependency_security.py, tests/integration/test_lists/waives.txt
The test module, which checked dependency version floors and exclusions, was deleted. Its skip-list entry was also removed.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to a360e

This is a test-only removal with no production behavior change. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description check Passed The description explains why the test file and waiver entry are removed, notes the Starlette pins that will remain unchecked, and describes test coverage. It includes the required sections and checkli…
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.
Title check Passed The title identifies removal of the Starlette constraint-floor test, which is part of the change, but it does not cover the broader deletion of web dependency security tests.
Full details: Description check

Explanation

The description explains why the test file and waiver entry are removed, notes the Starlette pins that will remain unchecked, and describes test coverage. It includes the required sections and checklist.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6fc7f47 and a360e1d.

Files selected for processing: 2

  • tests/integration/test_lists/waives.txt
  • tests/unittest/others/test_web_dependency_security.py
Files with no reviewable changes: 2

  • tests/integration/test_lists/waives.txt
  • tests/unittest/others/test_web_dependency_security.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@SimengLiu-nv SimengLiu-nv changed the title [None][test] Cherry-pick #20384 from release/1.3: Remove test_starlette_constraint_floor [https://nvbugs/6930053][test] Cherry-pick #20384 from release/1.3: Remove test_starlette_constraint_floor Nov 10, 2026
@SimengLiu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83836 [ run ] triggered by Bot. Commit: a360e1d Link to invocation

This branch has not been deployed

No deployments
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