Commit Graph

1 Commits

Author SHA1 Message Date
Zachary Lowden e33c22d81d test(preview): cover uploading + posting a model (model.upsert -> version -> publish) (#2497)
Covers the model authoring + publish contract via tRPC: model.upsert (draft) ->
modelVersion.upsert (baseModel SD 1.5) -> model.getById read-back -> model.publish
-> assert status Published -> best-effort delete cleanup. Fileless: publishModelById
has no file/scan precondition (scan gate is UI-only), and the binary B2 upload is
already covered by preview-post-upload.spec.ts. No rate limit on these procedures
(unlike article.upsert), so role tester. Mirrors preview-article.spec.ts. Report-only.
2026-06-12 12:08:56 -05:00