Repository navigation
Restrict model endpoints and protect HTTP service routes - #105
Open
arthurianresolve wants to merge 9 commits into
Open
arthurianresolve wants to merge 9 commits into
arthurianresolve wants to merge 9 commits into
Conversation
# Conflicts: # crates/dsrs-cli/src/main.rs # crates/dsrs-cli/src/serve.rs # crates/dsrs-cli/tests/cli.rs
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
arthurianresolve
added a commit
to arthurianresolve/DSRs
that referenced
this pull request
Nov 19, 2026
Integrate krypticmouse#105 — Restrict model endpoints and protect HTTP service routes
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Fix
/run; limit concurrent and per-minute runs; apply per-run model-call, token, and time budgets ([BUG][Medium]- Reachable run endpoint can spend provider quota without caller limits #96). The per-minute limit is global./programand/schemaas well as/run, including traced runs./healthzremains a public health check ([BUG][Medium]- Reachable diagnostic routes reveal program source and prompt traces #98).Fixes #95
Fixes #96
Fixes #98
Fixes #114
Related work
Shared support commit:
f5815bcnormalizes.dsrsfixture line endings for Windows and is present in the companion fix branches.Testing
cargo test -p dspy-rs --test test_model_url_tracing --test test_ir_interp --quiet— 23 tests passed.cargo test -p dsrs-cli --test cli --quiet— 11 tests passed.git diff --check origin/main...HEAD— passed.AI Disclosure