Port final lab 5 validation, session and PNG recovery fixes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
date: 2026-11-06T23:35:28Z commit: 97feb04b3f2a6008f636e1fdbdf284b1c97282a1
|
||||
environment: {"COMPOSE_PROJECT_NAME": "mtusi2026lab6", "LB_HTTP_PORT": "18086", "LB_STATS_PORT": "26085", "BASE_URL": "http://127.0.0.1:18086", "NO_PROXY": "localhost,127.0.0.1,::1"}
|
||||
$ make check validate lint
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
.venv/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
.venv/bin/ruff check src student-tests scripts/obs_cost_summary.py scripts/obs_cost.py scripts/obs_incidents.py scripts/obs_recovery.py scripts/capture_evidence.py alembic scripts/scaling.py tools scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py scripts/reconcile_check.py scripts/reconcile_track.py scripts/make_images.py scripts/pipeline_suite.py scripts/pipeline_evidence.py
|
||||
All checks passed!
|
||||
.venv/bin/ruff format --check src student-tests scripts/obs_cost_summary.py scripts/obs_cost.py scripts/obs_incidents.py scripts/obs_recovery.py scripts/capture_evidence.py alembic scripts/scaling.py tools scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py scripts/lab4_seed.py scripts/upload_memory.py scripts/reconcile_check.py scripts/reconcile_track.py scripts/make_images.py scripts/pipeline_suite.py scripts/pipeline_evidence.py
|
||||
216 files already formatted
|
||||
.venv/bin/ty check src student-tests alembic
|
||||
All checks passed!
|
||||
exit_code: 0 elapsed_seconds: 0.590
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,78 @@
|
||||
date: 2026-11-06T23:32:01Z commit: 97feb04b3f2a6008f636e1fdbdf284b1c97282a1
|
||||
environment: {"COMPOSE_PROJECT_NAME": "mtusi2026lab6", "LB_HTTP_PORT": "18086", "LB_STATS_PORT": "26085", "BASE_URL": "http://127.0.0.1:18086", "NO_PROXY": "localhost,127.0.0.1,::1"}
|
||||
$ make student-test
|
||||
.venv/bin/pytest
|
||||
============================= test session starts ==============================
|
||||
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0
|
||||
rootdir: <repo>
|
||||
configfile: pyproject.toml
|
||||
testpaths: student-tests
|
||||
plugins: asyncio-1.4.0, anyio-4.15.1
|
||||
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
|
||||
collected 1016 items / 19 deselected / 997 selected
|
||||
|
||||
student-tests/adapters/test_rabbitmq.py ..... [ 0%]
|
||||
student-tests/adapters/test_s3_storage.py ... [ 0%]
|
||||
student-tests/api/test_access.py ......... [ 1%]
|
||||
student-tests/api/test_attachments.py .................................. [ 5%]
|
||||
...... [ 5%]
|
||||
student-tests/api/test_bounded_contexts.py .................... [ 7%]
|
||||
student-tests/api/test_cache.py ............ [ 8%]
|
||||
student-tests/api/test_concurrency.py .... [ 9%]
|
||||
student-tests/api/test_consistency.py ........ [ 10%]
|
||||
student-tests/api/test_cost_experiment.py ... [ 10%]
|
||||
student-tests/api/test_drain.py .. [ 10%]
|
||||
student-tests/api/test_events.py ...... [ 11%]
|
||||
student-tests/api/test_http_telemetry.py . [ 11%]
|
||||
student-tests/api/test_idempotency.py ............... [ 12%]
|
||||
student-tests/api/test_instance.py .... [ 13%]
|
||||
student-tests/api/test_job_returning.py . [ 13%]
|
||||
student-tests/api/test_message_attachments.py ............. [ 14%]
|
||||
student-tests/api/test_migrations.py ................................... [ 18%]
|
||||
. [ 18%]
|
||||
student-tests/api/test_negative.py ..................................... [ 21%]
|
||||
[ 21%]
|
||||
student-tests/api/test_nul_validation.py ................. [ 23%]
|
||||
student-tests/api/test_operability.py .............. [ 25%]
|
||||
student-tests/api/test_pagination.py .................. [ 26%]
|
||||
student-tests/api/test_pipeline.py ............. [ 28%]
|
||||
student-tests/api/test_pool.py ............ [ 29%]
|
||||
student-tests/api/test_reconciler.py ........... [ 30%]
|
||||
student-tests/api/test_recovery.py ............ [ 31%]
|
||||
student-tests/api/test_sessions.py ...................... [ 33%]
|
||||
student-tests/api/test_timeout.py ........ [ 34%]
|
||||
student-tests/api/test_trace_context.py . [ 34%]
|
||||
student-tests/api/test_upload_consistency.py ......... [ 35%]
|
||||
student-tests/api/test_versioned_pipeline.py ........... [ 36%]
|
||||
student-tests/api/test_wire_format.py .. [ 37%]
|
||||
student-tests/unit/test_attachments_domain.py .......................... [ 39%]
|
||||
. [ 39%]
|
||||
student-tests/unit/test_authentication.py ............................. [ 42%]
|
||||
student-tests/unit/test_cursor.py ........... [ 43%]
|
||||
student-tests/unit/test_domain.py ...................................... [ 47%]
|
||||
.. [ 47%]
|
||||
student-tests/unit/test_haproxy_errors.py ............... [ 49%]
|
||||
student-tests/unit/test_image_inspection.py ............................ [ 52%]
|
||||
........................................................................ [ 59%]
|
||||
........................................................................ [ 66%]
|
||||
..................................................... [ 71%]
|
||||
student-tests/unit/test_job_observer.py . [ 71%]
|
||||
student-tests/unit/test_nul_inputs.py ...................... [ 74%]
|
||||
student-tests/unit/test_pipeline_domain.py ....................... [ 76%]
|
||||
student-tests/unit/test_png_memory.py ....s [ 76%]
|
||||
student-tests/unit/test_png_transparency.py ............................ [ 79%]
|
||||
........................................................................ [ 86%]
|
||||
.............................................. [ 91%]
|
||||
student-tests/unit/test_png_upload.py .. [ 91%]
|
||||
student-tests/unit/test_probe.py .............. [ 93%]
|
||||
student-tests/unit/test_reconcile_measurements.py ...... [ 93%]
|
||||
student-tests/unit/test_render_pool.py .....s. [ 94%]
|
||||
student-tests/unit/test_renderer.py .............................. [ 97%]
|
||||
student-tests/unit/test_scaling.py ..... [ 97%]
|
||||
student-tests/unit/test_session_cache.py .......... [ 98%]
|
||||
student-tests/unit/test_telemetry_platform.py ..... [ 99%]
|
||||
student-tests/unit/test_timeouts.py . [ 99%]
|
||||
student-tests/unit/test_worker_delivery.py .... [100%]
|
||||
|
||||
========== 995 passed, 2 skipped, 19 deselected in 176.45s (0:02:56) ===========
|
||||
exit_code: 0 elapsed_seconds: 179.184
|
||||
Reference in New Issue
Block a user