Skip to content

fix: remove http endpoint for clearing kv blocks - #1629

Merged
grahamking merged 3 commits into
mainfrom
rjain/clear-kv-blocks
Jun 25, 2025
Merged

fix: remove http endpoint for clearing kv blocks#1629
grahamking merged 3 commits into
mainfrom
rjain/clear-kv-blocks

Conversation

@jain-ria

Copy link
Copy Markdown
Contributor

Overview:

Details:

Where should the reviewer start?

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • closes GitHub issue: #xxx

@jain-ria
jain-ria requested a review from a team June 25, 2025 15:37

@grahamking grahamking 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.

Thank you!

@grahamking
grahamking merged commit 2d3fb39 into main Jun 25, 2025
@grahamking
grahamking deleted the rjain/clear-kv-blocks branch June 25, 2025 19:11
yao531441 pushed a commit to yao531441/dynamo that referenced this pull request May 13, 2026
nnshah1 added a commit that referenced this pull request Jun 10, 2026
- Drop POST /clear_kv_blocks from env-var docs (it's not a registered
  route) and delete the orphaned lib/llm/src/http/service/clear_kv_blocks.rs
  source file (dead since PR #1629 removed the route registration; no
  mod declaration, so it wasn't even compiled).

- Rename State::new_with_flags -> State::new_with_nvext_enabled (only
  one flag for now).

- Collapse the 6-line copy-pasted comment block at the 3 openai.rs
  handler call sites to a one-liner; rewrite the if/else as an
  expression assignment.

- Trim const docs in environment_names.rs to behavior + default; the
  EPP/GAIE/Prime-RL compatibility paragraph is design rationale and
  lives in the PR description, not the public env-var reference.

- Trim the env-mirror comment, the field/accessor doc duplication, and
  switch the admin-API-disabled log to structured fields.

- Add two tests: enable_nvext propagates through the builder onto
  State.nvext_enabled (default + on + off), and enable_admin_api=false
  causes GET /busy_threshold to 404 while /live still serves 200.

Signed-off-by: nnshah1 <neelays@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants