Skip to content

perf: query generating 3D summaries for activity polls - #6692

Merged
atomantic merged 1 commit into
mainfrom
claim/issue-6690
Sep 9, 2026
Merged

perf: query generating 3D summaries for activity polls#6692
atomantic merged 1 commit into
mainfrom
claim/issue-6690

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

Activity polls now query only id/name columns for non-deleted generating image-to-3D models, avoiding full gallery JSONB hydration on every refresh. Update ordering, the name-or-id fallback, empty/error degradation, and the full gallery listing remain unchanged.

Test plan

  • 138 focused service, generation-lifecycle, route, and database-guard tests passed.
  • A PostgreSQL test on portos_test passed with 1,005 synthetic records: exactly two generating summaries returned in update order, with completed/draft/failed/deleted models excluded and full gallery records preserved.
  • SQL assertion pins projection at the database boundary so SELECT * followed by JavaScript filtering cannot regress the optimization.

Closes #6690

@atomantic
atomantic merged commit 6de5f75 into main Sep 9, 2026
12 checks passed
@atomantic
atomantic deleted the claim/issue-6690 branch September 9, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[perf-processing-3d-projection] Query only generating 3D summaries for the live activity poll

1 participant