refactor(discovery): backfill face bbox into occurrence_ref for generic pipeline #664

Merged
chris merged 1 commit from fix/generic-discovery-thumbnail into main 2026-07-20 23:26:27 +02:00
Owner

Summary

PR 1 of fully generic discovery thumbnail pipeline.

Changes

  • V119 migration: Backfills occurrence_ref.scope from discovery_results.scope for accepted face annotations
  • Scope enrichment: On upsertCandidateOccurrence, enriches occurrence_ref with scope from discovery_results when missing
  • Cleanup: Removes .opencode/agent/ directory
  • Version bump: 1.21.15 → 1.21.16

Verification

  • ✅ compileJava passes
  • ✅ ClassInstanceDiscoveryServiceTest passes
  • ✅ No remaining 1.21.15 references
## Summary PR 1 of fully generic discovery thumbnail pipeline. ### Changes - **V119 migration**: Backfills `occurrence_ref.scope` from `discovery_results.scope` for accepted face annotations - **Scope enrichment**: On `upsertCandidateOccurrence`, enriches `occurrence_ref` with scope from `discovery_results` when missing - **Cleanup**: Removes `.opencode/agent/` directory - **Version bump**: 1.21.15 → 1.21.16 ### Verification - ✅ `compileJava` passes - ✅ `ClassInstanceDiscoveryServiceTest` passes - ✅ No remaining `1.21.15` references
refactor(discovery): backfill face bbox into occurrence_ref for generic pipeline
All checks were successful
Build and Deploy / Detect changed services and test scopes (push) Successful in 3s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 2m27s
79c0dbfbab
- Add V119 migration to backfill occurrence_ref.scope from discovery_results
- Enrich occurrence_ref with scope on upsert for face annotations
- Remove .opencode/agent/ directory (cleanup)
- Bump version to 1.21.16
chris merged commit 648f60c05c into main 2026-07-20 23:26:27 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!664
No description provided.