16 Commits

Author SHA1 Message Date
WuYongJie
928a7b37a9 feat(ai): use durable Relay native image tasks
Persist image submissions with fixed idempotency keys, leased execution, provider
identity, reference snapshots and staged results. Integrate DIY, assisted assembly
and non-integrated white-background sessions without holding generation in a
browser request. Recover ambiguous submissions through owner-scoped reads and
stop a new eight-view batch when restoring an earlier request.

Add the NativeImageGenerationJob migration and a dedicated worker to both release
entry points. Protect job inputs/results from storage GC. Existing production
configuration and business data are not changed by this commit.

Validation: 256 focused Jest tests, isolated PostgreSQL migration/lease/transaction
checks (8), deployment guard tests (9), type-check, production build and desktop/
mobile browser component scenarios. Live native 2K reference-image request worked;
reusing its idempotency key returned the same task. Build uses local placeholders
for otherwise absent Drawing System configuration. Three unrelated material tests
also fail with the original mainline test file; they remain outside this change.

Architecture/visual/root-cause review: passed with warnings. Independent review
completed for the integration and shared input/storage paths; worker additionally
reviewed by the primary agent. Production merge/deployment requires authorization.
2026-10-15 14:55:46 +08:00
WuYongJie
e2f211c7ac fix(deploy): verify complete releases before switching production 2026-09-10 18:29:13 +08:00
WuYongJie
115a8b8042 fix(bom): bound worker and model execution time 2026-08-05 10:47:49 +08:00
WuYongJie
adaa1ed8ac fix(deploy): skip unused onnx cuda runtime 2026-08-05 09:58:43 +08:00
WuYongJie
22b02adda9 fix(bom-costing): split network timeouts immediately 2026-08-04 23:44:58 +08:00
WuYongJie
acf3dc8fc2 fix(bom-costing): split stalled synthesis batches 2026-08-04 20:59:00 +08:00
WuYongJie
d5b73444e5 fix(bom-costing): tolerate unknown measures in sku batches 2026-08-04 19:48:22 +08:00
WuYongJie
a36d7ab1a8 fix(bom-costing): recover interrupted worker jobs 2026-08-04 16:24:31 +08:00
WuYongJie
d374470151 fix: stabilize intake navigation requests 2026-06-16 15:08:06 +08:00
WuYongJie
588ed37097 加强非集成上传与分享安全边界 2026-05-24 20:18:14 +08:00
WuYongJie
8fc6d56183 fix(deploy): link shared intake assets after build 2026-04-22 17:10:53 +08:00
WuYongJie
dd1c96dddc fix(deploy): preserve shared intake assets in fallback release 2026-04-22 17:06:23 +08:00
WuYongJie
86c5007c03 fix(deploy): write unix newlines for remote scripts 2026-04-22 12:30:19 +08:00
WuYongJie
d4bc44579e feat: align intake workflow and git-based prod deploy 2026-04-21 19:33:46 +08:00
WuYongJie
69b1daf157 fix: close assisted assembly cad snap and prod deploy 2026-04-15 21:27:09 +08:00
WuYongJie
15d5e6fb89 feat: sync validated admin auth material and exporter updates 2026-04-15 16:36:00 +08:00