|
|
4205618ee6
|
chore: eliminate all deprecation warnings from tests and linter
Warnings fixed:
- datetime.utcnow() → datetime.now(UTC) across 48+ files (src/ + tests/)
- datetime.utcnow (callback ref) → lambda: datetime.now(UTC) in model fields (18 files)
- Pydantic class Config → model_config = ConfigDict(...) (16 files)
- Pydantic .dict() → .model_dump() (8 files)
- ConfigDict(allow_population_by_field_name=True) → validate_by_name=True
- SQLAlchemy declarative_base() import path updated
- FastAPI on_event → lifespan context manager (app.py)
- Import sorting (ruff I001) auto-fixed across all files
- Fixed broken re-export chains that ruff F401 cleanup broke:
_validate_bcp47: service.py now imports from dictionary_validation directly
job_to_response: _job_routes.py and test imports from service_utils directly
fetch_datasource_metadata: restored re-export in service.py
- Added missing TranslateJobService import in _job_routes.py (was deleted by F401)
- Added ConfigDict(protected_namespaces=()) for DashboardDatasetItem schema field
- pytest.ini: replaced deprecated importmode with asyncio_mode
All 440 tests pass with zero deprecation warnings.
|
2026-05-26 19:18:28 +03:00 |
|
|
|
9ffa8af1dc
|
semantics
|
2026-05-26 09:30:41 +03:00 |
|
|
|
c6189876b3
|
chore(lint): apply ruff --fix (4443 auto-fixes)
Auto-fixed categories:
- F401: unused imports removed
- I001: import blocks sorted
- W293: trailing whitespace stripped
- UP035: deprecated typing imports replaced
- SIM: simplify suggestions applied
- ARG: unused args prefixed with underscore
- T201: print statements removed
- F841: unused variables removed
- RUF059: unpacked variables prefixed
Remaining ~1500 unfixable errors (C901, B904, N806, E402) require manual work.
Backend smoke tests: 13/13 passed.
|
2026-05-14 11:20:17 +03:00 |
|
|
|
a3c7c402b7
|
fix(llm): add fetch-models endpoint, fix SQL Lab INSERT (client_id truncation, sync mode, target_column, timestamp normalization)
- Add POST /api/llm/providers/fetch-models route with LLMClient.fetch_models()
- Add target_column to TranslationJob model/schema/service/orchestrator
- Fix SQL Lab execute: truncate client_id to 11 chars (varchar(11))
- Switch SQL Lab to sync mode (runAsync: false) — no Celery workers
- Fix polling: unwrap nested result from Superset query API
- Fix ClickHouse timestamp: normalize float timestamps to YYYY-MM-DD
|
2026-05-13 20:06:15 +03:00 |
|
|
|
2da548fd71
|
fix: finalize semantic repair and test updates
|
2026-03-21 15:07:06 +03:00 |
|
|
|
81406bc2e2
|
fix: commit semantic repair changes
|
2026-03-21 11:22:25 +03:00 |
|
|
|
67867f8220
|
refactor(semantics): migrate legacy @TIER to @COMPLEXITY annotations
- Replaced @TIER: TRIVIAL with @COMPLEXITY: 1
- Replaced @TIER: STANDARD with @COMPLEXITY: 3
- Replaced @TIER: CRITICAL with @COMPLEXITY: 5
- Manually elevated specific critical/complex components to levels 2 and 4
- Ignored legacy, specs, and node_modules directories
- Updated generated semantic map
|
2026-03-16 10:06:44 +03:00 |
|
|
|
a544a90cc9
|
Commit remaining workspace changes
|
2026-03-13 11:45:06 +03:00 |
|
|
|
a95109da4a
|
feat: add slug-only dashboard profile filter and unify backend imports
|
2026-03-11 12:20:34 +03:00 |
|
|
|
6775c7e3db
|
feat(clean-release): complete compliance redesign phases and polish tasks T047-T052
|
2026-03-10 09:11:26 +03:00 |
|
|
|
787f4e55f2
|
clean ui
|
2026-03-04 19:33:47 +03:00 |
|