Feature/protocol resp#18
Merged
Merged
Conversation
Chore/dev
[codex] refresh shared docs for parallel tracks
…EEK3_Mini_Redis into feature/protocol-resp
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.
요약
기존 HTTP 계약은 유지한 채, 동일한
dispatcher.dispatch의미론을 재사용하는 RESP subset TCP 경로를 추가했습니다.이번 변경은
feature/protocol-resp범위에 맞춰 RESP 프로토콜 계층과 해당 통합 테스트/스모크 테스트만 포함합니다.main.py는 수정하지 않았고, RESP 서버는 별도 엔트리포인트에서 조립되도록 구성했습니다.변경 사항
array of bulk stringssubset만 지원PING,GET,SET,DEL,EXPIRE,TTL,PERSIST결과를 RESP 형식으로 직렬화dispatcher.dispatch를 주입받아 기존 명령 의미론 재사용Store -> Dispatcher -> RespServer를 별도 조립DEL,EXPIRE <= 0)유지한 계약
main.pyuntouchedapp/core/*untouched검증
자동 테스트
.\.venv\Scripts\python.exe -m pytest tests\integration\test_protocol_resp.py234 passed.\.venv\Scripts\python.exe -m pytest tests\integration\test_protocol_resp.py tests\integration\test_protocol_http.py tests\integration\test_http_stack_integration.py251 passed.\.venv\Scripts\python.exe -m ruff check tests\integration\test_protocol_resp.py.\.venv\Scripts\python.exe -m ruff format --check tests\integration\test_protocol_resp.py수동 smoke
tests/smoke/resp_smoke.py로 확인PINGSET/GETEXPIRE/TTLPERSISTDEL현재 제한 사항
array of bulk strings만 지원합니다.PING,GET,SET,DEL,EXPIRE,TTL,PERSIST로 제한됩니다.