43 lines
2.4 KiB
Plaintext
43 lines
2.4 KiB
Plaintext
guid 会话一致性验证记录
|
||
|
||
changed branch/field: core/huya/wss_client.py::HuyaWssClient._cookie_with_guid、initialize_activity、send_auth;core/huya/elite_session.py::HuyaEliteWssSession.__init__ 初始化后的会话 guid 回写。
|
||
|
||
MODIFIED_FILE: /Users/yml/codes/live-hub-py/artifacts/guid_session_consistency/MODIFIED_FILE
|
||
DIFF_FILE: /Users/yml/codes/live-hub-py/artifacts/guid_session_consistency/DIFF_FILE
|
||
VERIFICATION.txt: /Users/yml/codes/live-hub-py/artifacts/guid_session_consistency/VERIFICATION.txt
|
||
ROLLBACK.sh: /Users/yml/codes/live-hub-py/artifacts/guid_session_consistency/ROLLBACK.sh (executable)
|
||
|
||
BASELINE
|
||
command: /Users/yml/codes/live-hub-py/.venv/bin/pytest -q
|
||
input: HEAD baseline before guid consistency change
|
||
literal output/result: 151 passed, 1 warning in 1.34s
|
||
exit status: 0
|
||
restored behavior/status: baseline test copy remained unchanged
|
||
|
||
MODIFIED
|
||
command: /Users/yml/codes/live-hub-py/.venv/bin/pytest -q
|
||
input: current worktree with wsLaunch sGuid propagation and regression tests
|
||
literal output/result: 153 passed, 1 warning in 1.34s
|
||
exit status: 0
|
||
additional checks:
|
||
command: /Users/yml/codes/live-hub-py/.venv/bin/ruff check core/huya/wss_client.py core/huya/elite_session.py tests/test_huya_elite_protocol.py
|
||
literal output/result: All checks passed!
|
||
exit status: 0
|
||
command: git diff --check
|
||
literal output/result: no output (clean)
|
||
exit status: 0
|
||
|
||
READ-ONLY ONLINE
|
||
command: DB_HOST=127.0.0.1 DB_PORT=3307 DB_NAME=douyu_login DB_USER=douyu_login /Users/yml/codes/live-hub-py/.venv/bin/python <inline probe>
|
||
input: account id=60; activity WSS; wsLaunch + getUserScore only; no exchange/order/payment calls
|
||
literal output/result: old_guid=0a43b01a366c966a7fe26a281e1d3c88; launch_guid=0a89d51717f5976ab502cf9dd09d03d8; session_cookie_guid=0a89d51717f5976ab502cf9dd09d03d8; guid_consistent=True; score_status=200; score=260; elapsed=0.286s
|
||
exit status: 0
|
||
restored behavior/status: WSS session closed; no write operation invoked
|
||
|
||
ROLLBACK
|
||
command: /Users/yml/codes/live-hub-py/artifacts/guid_session_consistency/ROLLBACK.sh /tmp/live-hub-guid-rollback/wss_client.py
|
||
input: independent copy of MODIFIED_FILE; GUID_SESSION_BASELINE_REF=HEAD
|
||
literal output/result: 已恢复 /tmp/live-hub-guid-rollback/wss_client.py(基线 HEAD)
|
||
exit status: 0
|
||
restored hash/status: independent copy matched git show HEAD:core/huya/wss_client.py; current worktree remains on modified branch
|