Forward the lab 5 foundation while preserving lab 6 telemetry
Source: immutable lab5 snapshot f88e9ba43cdfd7eb6a5a7ae5feb4247b4e820071; forward the allowed diff from 64d5c67. Carry SQLAlchemy, Alembic, reliability fixes, versioned jobs, infrastructure and student tests without changing protected coursework files. Validation: make check, validate, lint; 515 student tests passed with one Linux-only skip; public smoke with telemetry enabled and repeat migration passed. Stop the owned stack and retain volumes. Preserve the existing OTel work in progress; grade implementation remains a separate phase.
This commit is contained in:
+10
-3
@@ -13,6 +13,8 @@ dependencies = [
|
||||
"gunicorn>=26.2.0",
|
||||
"orjson>=3.12.0",
|
||||
"asyncpg>=0.32.0",
|
||||
"sqlalchemy[asyncio]==2.0.45",
|
||||
"alembic==1.16.5",
|
||||
"argon2-cffi>=25.1.0",
|
||||
"uvicorn-worker>=0.4.0",
|
||||
"redis>=8.1.0",
|
||||
@@ -34,6 +36,7 @@ dev = [
|
||||
"httpx>=0.28.0",
|
||||
"ruff>=0.14.0",
|
||||
"ty>=0.0.1a21",
|
||||
"openapi-spec-validator==0.7.2",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
@@ -87,6 +90,7 @@ ignore = [
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"student-tests/**" = ["S101", "S105", "S106", "S603", "S607", "PLR2004", "ARG001", "ARG002", "T20", "TID251"]
|
||||
"tools/*.py" = ["T20"]
|
||||
"scripts/*.py" = ["T20", "S603", "S607", "S310", "PLR2004", "TID251"]
|
||||
"scripts/pipeline_suite.py" = ["T20", "S603", "S607", "S310", "PLR2004", "TID251", "E402", "S608"]
|
||||
"scripts/pipeline_evidence.py" = ["T20", "S603", "S607", "S310", "PLR2004", "TID251", "E402"]
|
||||
@@ -96,10 +100,10 @@ ignore = [
|
||||
"src/messenger/*/entrypoints/**" = ["TID251", "N818", "PLR0917", "S105"]
|
||||
"src/messenger/shared/config.py" = ["ARG002", "ARG003"]
|
||||
"src/messenger/main.py" = ["TID251"]
|
||||
"src/messenger/migrate.py" = ["TID251"]
|
||||
"src/messenger/relay.py" = ["TID251"]
|
||||
"src/messenger/worker.py" = ["TID251"]
|
||||
"src/messenger/admin.py" = ["TID251"]
|
||||
"alembic/**" = ["TID251"]
|
||||
"src/messenger/gunicorn_conf.py" = ["TID251", "ARG002", "RUF012"]
|
||||
|
||||
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
||||
@@ -112,7 +116,10 @@ ignore = [
|
||||
known-first-party = ["messenger"]
|
||||
|
||||
[tool.ty.src]
|
||||
include = ["src", "student-tests"]
|
||||
include = ["src", "student-tests", "alembic"]
|
||||
|
||||
[tool.ty.environment]
|
||||
extra-paths = ["alembic"]
|
||||
|
||||
[tool.ty.rules]
|
||||
unresolved-import = "error"
|
||||
@@ -123,7 +130,7 @@ possibly-missing-attribute = "warn"
|
||||
testpaths = ["student-tests"]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
addopts = "-q --strict-markers -m 'not stack'"
|
||||
addopts = "--strict-markers -m 'not stack'"
|
||||
markers = [
|
||||
"stack: black-box проверки против поднятого compose-стенда (make test-faults)",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user