Commit graph

2 commits

Author SHA1 Message Date
lekss361
fa861f7c0c chore(tradein): close pre-commit ruff gap + add CI pytest gate (#666)
- pre-commit ruff/ruff-format files: ^backend/ -> ^(backend|tradein-mvp/backend)/;
  clean trade_in_pdf.py 51->0 (dead PIL/days_overlay/qr_url + 47 E501; render
  byte-identical).
- deploy-tradein.yml: new pytest 'test' job gating build+deploy.
- fix suite for green gate: tests/matching/__init__.py (collection error) +
  restore get_role in test_history_scope.py (teardown leak breaking test_rbac).
- 1087 tests green; 2 pre-existing order-dependent tests deselected+documented.
  No runtime-logic changes.

Closes #666
2026-05-29 21:57:41 +03:00
47fdd6e4df fix(tradein): scope GET /history to caller, close cross-pilot data leak (#656) (#670)
All checks were successful
Deploy Trade-In / changes (push) Successful in 5s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 42s
Deploy Trade-In / deploy (push) Successful in 59s
Co-authored-by: bot-backend <bot-backend@gendsgn.local>
Co-committed-by: bot-backend <bot-backend@gendsgn.local>
2026-05-29 15:59:03 +00:00