78 lines
2.9 KiB
Plaintext
78 lines
2.9 KiB
Plaintext
date: 2026-11-05T23:18:05.005253+00:00 commit: f7bfd1d4731baf70eef18d3f95a4a655128990ba
|
|
Working tree: non-ASCII Basic fix and regression tests.
|
|
|
|
$ .venv/bin/pytest -q student-tests/unit
|
|
........................................................................ [ 50%]
|
|
........................................................................ [100%]
|
|
144 passed in 0.10s
|
|
exit_code: 0
|
|
|
|
$ .venv/bin/pytest --collect-only -q student-tests/api/test_sessions.py -k non_ascii
|
|
student-tests/api/test_sessions.py::test_non_ascii_basic_matches_wrong_password[Basic \x80]
|
|
student-tests/api/test_sessions.py::test_non_ascii_basic_matches_wrong_password[Basic \xff]
|
|
student-tests/api/test_sessions.py::test_non_ascii_basic_matches_wrong_password[Basic \xc3\xa9]
|
|
student-tests/api/test_sessions.py::test_non_ascii_basic_matches_wrong_password[Basic YWxpY2U6c2VjcmV0\xff]
|
|
|
|
4/22 tests collected (18 deselected) in 0.03s
|
|
exit_code: 0
|
|
|
|
$ make check
|
|
python3 scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
exit_code: 0
|
|
|
|
$ make validate
|
|
.venv/bin/python scripts/validate_openapi.py
|
|
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
|
exit_code: 0
|
|
|
|
$ make lint
|
|
.venv/bin/ruff check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
|
|
All checks passed!
|
|
.venv/bin/ruff format --check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
|
|
unformatted: File would be reformatted
|
|
--> student-tests/api/test_sessions.py:94:13
|
|
|
|
|
93 | alice = await register(client, "non_ascii_basic")
|
|
- count = select(func.count()).select_from(SessionRow).where(
|
|
- SessionRow.user_id == UUID(alice["id"])
|
|
94 + count = (
|
|
95 + select(func.count()).select_from(SessionRow).where(SessionRow.user_id == UUID(alice["id"]))
|
|
96 | )
|
|
|
|
|
|
|
1 file would be reformatted, 112 files already formatted
|
|
make: *** [lint] Error 1
|
|
exit_code: 2
|
|
|
|
Formatting-only correction: ruff format student-tests/api/test_sessions.py; 1 file reformatted.
|
|
|
|
$ make lint
|
|
.venv/bin/ruff check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
|
|
All checks passed!
|
|
.venv/bin/ruff format --check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
|
|
113 files already formatted
|
|
.venv/bin/ty check src student-tests alembic
|
|
All checks passed!
|
|
exit_code: 0
|
|
|
|
$ openspec validate --all --strict
|
|
- Validating...
|
|
✓ spec/lab1-event-publication
|
|
✓ spec/lab1-messenger-chats
|
|
✓ spec/lab1-messenger-history
|
|
✓ spec/lab1-messenger-identity
|
|
✓ spec/lab1-service-operability
|
|
✓ spec/lab2-auth-sessions
|
|
✓ spec/lab2-dependency-failures
|
|
✓ spec/lab2-history-index
|
|
✓ spec/lab2-persistent-storage
|
|
✓ spec/lab2-session-cache
|
|
✓ spec/lab3-failover-operations
|
|
✓ spec/lab3-idempotent-messages
|
|
✓ spec/lab3-load-balancing
|
|
✓ spec/lab3-scaling-cost
|
|
✓ change/reject-non-ascii-basic
|
|
Totals: 15 passed, 0 failed (15 items)
|
|
exit_code: 0
|