Commit Graph

30 Commits

Author SHA1 Message Date
ddb4f17faa modelgen: recurse through nested generics in list resolvers
_get_list_inner (Pydantic) and _resolve_ts_list (TypeScript) collapsed
nested generics to "str" / "string[]" — so List[List[int]] became
List[str] and List[Dict[str,Any]] became List[str]. Fix recurses on
list-of-list and falls back to Dict[str,Any] / Record<string,unknown>
for list-of-dict.

Regenerated outputs:
- core/gpu/models/models.py: SegmentFieldResponse.boundary now
  List[List[int]], unblocking /segment_field which was 500ing on every
  request with pydantic ValidationError
- core/db/models.py + ui/common/types/generated.ts: Brand.airings now
  matches its source schema (List[Dict[str,Any]] / Record<string,unknown>[])
2026-04-29 08:48:21 -03:00
f66d3a273f migrate to uv + pyproject.toml
- root pyproject.toml replaces requirements.txt and requirements-worker.txt
  (worker = root + ffmpeg-python which root already had); test deps moved
  to [dependency-groups] dev
- core/gpu/pyproject.toml replaces core/gpu/requirements.txt; uses
  [tool.uv.sources] to pin torch/torchvision and paddlepaddle-gpu to their
  CUDA index URLs, replacing the manual reinstall dance from old comments
- Dockerfiles use uv sync --frozen against uv.lock for reproducible builds;
  PATH includes /app/.venv/bin so k8s manifests' bare uvicorn/celery
  commands resolve without wrapping in uv run
- core/gpu/run.sh local mode now does uv sync + uv run python server.py;
  errors out cleanly if uv is missing
2026-04-29 07:32:56 -03:00
020f3540d3 phase 5: edge transforms, soleprint-ui rename, infra fixes
- pipeline edge transforms: stages can declare accepted_transforms,
  edges carry a transform dict, runner injects per-stage and nodes
  apply (e.g. invert_mask before edge detection); editable from UI
  via PUT /config/edge-transform
- rename mpr-ui-framework -> soleprint-ui (now an external package
  synced via .spr from /home/mariano/wdir/spr); add @vue-flow/core
  and uplot to detection-app so linked package resolves them
- Tiltfile guards kubectl context, k8s commands pin --context kind-mpr
- kind-config: gateway on hostPort 30080 (Caddy fronts mpr.local.ar)
- modelgen: pyproject.toml, .spr marker, dict default_factory support
2026-04-29 05:31:08 -03:00
55e83e4203 compare view 2026-03-30 13:05:28 -03:00
aac27b8504 a 2026-03-30 09:53:10 -03:00
4220b0418e phase 4 2026-03-30 07:22:14 -03:00
d0707333fd phase 3 2026-03-28 10:05:59 -03:00
e46bbc419c phase 2 2026-03-28 09:40:07 -03:00
0bd3888155 phase 1 2026-03-28 08:51:25 -03:00
94c7b21ae5 phase 3 2026-03-27 22:54:58 -03:00
a3b51c458d timeline 2026-03-27 07:33:49 -03:00
51ce14a812 major refactor 2026-03-27 06:14:02 -03:00
bcf6f3dc71 use sqlalchemy pattern 2026-03-27 05:19:45 -03:00
291ac8dd40 refactor stage 1 2026-03-27 04:23:21 -03:00
df6bcb01e8 phase 1 2026-03-27 00:41:23 -03:00
65814b5b9e phase cv 0 2026-03-26 22:22:35 -03:00
beb0416280 add heavy loggin 2026-03-26 11:45:31 -03:00
a85722f96a move to postgresql 2026-03-26 10:59:33 -03:00
c9ba9e4f5f refactor storage minio for k8s 2026-03-26 09:20:23 -03:00
e27cb5bcc3 phase 12 2026-03-26 07:40:14 -03:00
731964ca10 phase 11 2026-03-26 05:23:37 -03:00
d58a90157a schema clean up and refactor 2026-03-26 05:14:33 -03:00
08c58a6a9d phase 10 2026-03-26 04:40:00 -03:00
71fd0510de phase 2 2026-03-23 11:13:30 -03:00
8186bb5fe6 phase 1 2026-03-23 09:58:40 -03:00
b40bd68411 chunker ui redo 2026-03-15 16:03:53 -03:00
ccc478fbaa chunker and ui 2026-03-13 14:29:38 -03:00
3eeedebb15 major refactor 2026-03-13 01:07:02 -03:00
e642908abb shoehorning graphql, step functions and lamdas. aws deployment scripts 2026-02-06 18:25:42 -03:00
67573713bd django and fastapi apps 2026-02-03 12:20:40 -03:00