Repository navigation
fix(server): use exact-match session lookup in _session_detail - #124
Open
Saksham1105 wants to merge 1 commit into
Open
Saksham1105 wants to merge 1 commit into
Saksham1105 wants to merge 1 commit into
Conversation
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
mgr.list(limit=500)+s["id"].startswith(...)) in_session_detail()with exact-ID lookup viamgr.get(session_id).WHERE id = ?index lookup matching the design infastapi_app.py.Fixes #120
Testing
test_server_session_detail_exact_match_and_prefix_rejectionintests/test_phase6.pyasserting:200and returns full details, events, and token totals.404when no exact matching ID exists.404.ruff check devagent/ tests/(all passed).tests/test_api.pyandtests/test_phase6.py(all 64 passed).