329 Commits

Author SHA1 Message Date
d-robotics
da446d13b5 ⚡ Fix slow page loading: static gzip, list pagination, auth cache, dashboard aggregation, video direct link
- C1/S3: build-time precompressed .gz served by spaHandler (writeBundle plugin), motion-vendor chunk rule fix
- C3/S1: /api/runs default cursor pagination (byte-compatible), /api/human-items limit/cursor + Mongo projection + filter pushdown
- C2/S5: in-process principal TTL cache (45s) with full invalidation paths; /api/users limit+q with org isolation
- C4/S2: dashboard counter pushdown ($group/CountDocuments), 45s response/snapshot caches, production stats snapshot cache
- C5: BOS presigned direct-link video preview (307) with background pre-transcode, /tmp cache TTL+LRU, gzip bypass, sync=1 rollback
- S4/S6: POC readiness point queries, human-batches GET no longer writes (60s sweeper), admin ops page N+1 fan-out removed
- Fixes found en route: BSON cursor self-reference recursion, backfill loop cursor advance, supplier cascade session flush
- Frontend: nextCursor passthrough (human-loop/users), acceptance pool no longer truncated at 500

Co-authored-by: AgentTeams slow-page-fix
2026-10-09 17:45:27 -07:00
d-robotics
0c5f34f79a 🐛 Fix part-index delivery: unbounded payload peek, no pose frames, explicit re-delivery for migrated parts 2026-10-09 02:23:20 -07:00
d-robotics
0acbe4dcd2 🧾 Migrate delivered directories to a part index additively
Add scripts/part_index_migration.py, which produces the missing part.json for a
part that was delivered in the directory form. It reuses the package operator's
own builder by loading the operator source the way the runner does, so a
migrated index is structurally identical to an online package and
byte-identical to what the same evidence would have produced, apart from a
lineage.migratedFrom marker. A test compares both routes on one evidence set to
keep the two from forking.

The tool never writes object storage: publication has to go through the
API/Worker path so the owner marker, conditional create and no-overwrite
guarantees stay in effect. It refuses to run when the delivery directory lacks a
completion manifest, when a slice has an unknown disposition, when the revision
has no per-slice disposition evidence, and when the part already has a part.json
with different bytes.

Also fix a leak found while building this: the index wrote the operator's
absolute workspace path into calibration[].path. It now records the logical
delivery-relative path, matching the directory form's packages-manifest, and
keeps the local location out of customer-facing output.

Verification: 19 operator and migration tests pass. tests/backend failure set is
identical to the HEAD baseline (25 failed, 829 subtests passed, 516 vs 525
passing), so no regression.
2026-10-09 00:39:30 -07:00
d-robotics
7a98233bf0 🛠️ Add capture reprocess batch helper script 2026-10-08 03:30:38 -07:00
d-robotics
7099eefd33 🛠️ Reconcile release records and clean up review test leases 2026-09-29 18:41:21 -07:00
d-robotics
322edf0c2e 🛡️ Harden test lane isolation and verify synthetic review workflows 2026-09-27 02:45:58 -07:00
d-robotics
642ba1decf 🧪 Add isolated internal test lane preparation and seed tooling 2026-09-27 02:33:28 -07:00
d-robotics
a2aad99de2 🛡️ Add resumable Fanyu release workflow and deployment guards 2026-09-26 07:30:35 -07:00
d-robotics
c5cdd6c1da 🔀 Sync production video playback fixes into local workspace
# Conflicts:
#	scripts/deploy-envs/fanyu.env
2026-09-26 05:28:14 -07:00
d-robotics
1a7eb3bfb3 🩹 Keep Fanyu slice processing in a bounded external worker 2026-09-24 12:43:29 +08:00
d-robotics
6728d0febb 🩹 Stabilize Fanyu frame source fingerprints 2026-09-23 11:49:56 +08:00
d-robotics
ff03fa8c14 🔐 Enable session auth for Fanyu web access 2026-09-23 10:56:40 +08:00
d-robotics
f34e372fe9 🛠️ Point Fanyu deployments to the live Mongo database 2026-09-23 10:39:12 +08:00
eust-w
6bc3127228 🔧 Route dev deployments to Fanyu 2026-09-22 01:26:15 +08:00
d-robotics
024dfd0133 🛡️ Verify snapshot chunks before restore and isolate temporary cleanup 2026-09-18 10:49:30 +08:00
d-robotics
54a35afad9 🔒 Require environment credentials for remote acceptance scripts 2026-09-18 01:25:30 +08:00
d-robotics
9947631b32 🧪 Record persisted annotation history acceptance 2026-09-17 22:43:20 +08:00
d-robotics
c895712124 🧪 Record continuous slicing acceptance and stereo fixtures 2026-09-17 21:17:00 +08:00
d-robotics
9b0fdd419f 🧪 Record authoritative edit acceptance and local fixtures 2026-09-17 21:00:09 +08:00
d-robotics
3d581f0b4a 🛡️ Make repo self-contained: AGENTS.md rewrite, local-data migration, credential externalization 2026-09-17 19:33:15 +08:00
d-robotics
839883ff89 🛡️ Remove hardcoded BOS credentials from download script (read from env/csv instead) 2026-09-17 19:21:34 +08:00
d-robotics
f7d8e550ba fix(local): wire artifacts+inputBindings to local workspace for frame timeline and dual-eye video 2026-09-17 19:17:54 +08:00
d-robotics
fa5ddf58aa Add capture download + local wiring scripts for real-data annotation testing 2026-09-17 19:17:54 +08:00
d-robotics
55bc79c31c fix(local): enforce session auth in snapshot env so login panel works (align with cluster) 2026-09-17 19:17:54 +08:00
d-robotics
671ac7adce Add mongo snapshot fetch/restore toolkit (chunked pull, sha256-verified) 2026-09-17 19:17:54 +08:00
d-robotics
8369b7e951 Restore local dev toolkit (recovered after working copy loss)
- scripts/local/env-local.sh + run-operator.sh (verified working again)
- local-samples for json_to_csv + video_slice
- docs/local-dev-guide.zh-CN.md + docs/release-checklist.zh-CN.md
2026-09-17 19:17:54 +08:00
eust-w
cc0202d40d ⚡ Persist frame indices and isolate resumable annotation processing 2026-09-17 18:40:06 +08:00
eust-w
7f688a3bc1 🐛 Backfill missing employee suppliers before automatic project enrollment 2026-09-14 20:55:16 +08:00
eust-w
add1b0e7ac 🔒 Fix employee supplier ownership at creation and simplify membership routing 2026-09-14 15:47:44 +08:00
eust-w
d2e43bd60c ✅ fix(acceptance): enhance transport retries and ensure segment description in full e2e test 2026-09-03 10:28:10 +08:00
eust-w
11d90fce19 🚀 configure default AI settings in poc deployment preset 2026-09-03 07:28:41 +08:00
eust-w
779e7e9e98 🔒 Enforce supplier scope in bulk member updates 2026-09-02 11:58:38 +08:00
eust-w
864f748bd6 🐛 Finish Capture-first UI and resilient acceptance 2026-09-01 04:40:58 +08:00
eust-w
03f9419f8c 🚀 Run Fanyu pose services on demand 2026-09-01 04:02:18 +08:00
eust-w
95fb898407 🧪 Align Fanyu acceptance with Capture sampling 2026-09-01 00:56:54 +08:00
eust-w
48398fc040 🐛 Reuse uploaded Kaniko contexts safely 2026-08-31 21:59:06 +08:00
eust-w
1eb1eb754a ✨ Upgrade Fanyu Capture production flow 2026-08-31 21:25:47 +08:00
eust-w
566802093e 🐛 Wait for Fanyu Capture selector options 2026-08-31 16:47:46 +08:00
eust-w
b7eb013782 🐛 Stabilize Fanyu browser acceptance selectors 2026-08-31 14:42:10 +08:00
eust-w
1c008f68d5 ✨ Complete Fanyu production acceptance flows 2026-08-31 13:27:18 +08:00
eust-w
629676e1d6 🐛 Make Capture metadata cleanup conflict-free 2026-08-31 06:26:07 +08:00
eust-w
fa283c96f6 🐛 Clear stale Capture lifecycle metadata 2026-08-31 05:55:38 +08:00
eust-w
43129f2d38 ✨ Complete Fanyu acceptance control paths 2026-08-31 04:02:54 +08:00
eust-w
1785697e46 ✨ Replace workgroups with project members and resilient uploads 2026-08-29 07:47:18 +08:00
eust-w
b43dbc1edb ✨ Move Fanyu WiLoR runtime to L20 2026-08-26 20:51:01 +08:00
eust-w
217e424caa ⚡ Reuse verified head-pose runtime 2026-08-25 01:25:31 +08:00
eust-w
7555fb748b 📦 Pin OpenCV and YuNet operator images 2026-08-24 11:29:56 +08:00
eust-w
83a36bd58f ✨ Materialize OpenCV rectification and YuNet anonymization 2026-08-24 11:05:56 +08:00
eust-w
29d58c7764 ⏱️ Mark Qwen3-VL operators as long-running 2026-08-23 20:57:10 +08:00
eust-w
b61d8f4ce8 ✨ Add left-camera undistortion stage and v5.5 delivery template
- New orbbec_left_undistort operator: parses real per-collection
  camera calibrations (YAML/JSON), pairs them with left videos,
  emits verifiable rectify specs, and fails closed on missing or
  malformed calibrations; pixel rectification stays deferred to
  packaging materialization.
- fanyu_template v5.5 wires the undistort node between Orbbec
  normalization and face blurring with explicit multiport edges;
  release stays fail-closed until the operator image is published.
- Annotation workspace gains three role workbenches (cutter /
  annotator / review reviewer) with self-claim pools; annotator
  route guard now allows the cut-review workbench.
- Refresh generated operator repositories, catalog, and image
  manifests for the new builtin operator.
2026-08-23 03:56:56 +08:00