WIP: fix: bound My Work summary pages and parent lookups #46
Draft
KofTwentyTwo wants to merge 4 commits from
fix/mywork-query-bounds-1291 into fix/attachment-transactions-1289
pull from: fix/mywork-query-bounds-1291
merge into: QRun-IO:fix/attachment-transactions-1289
QRun-IO:develop
QRun-IO:fix/read-path-statements-develop
QRun-IO:release/1.2
QRun-IO:fix/read-path-statements-1.2
QRun-IO:fix/aurora-full-page-writes-1.2
QRun-IO:release/1.1
QRun-IO:fix/aurora-full-page-writes-develop
QRun-IO:fix/aurora-full-page-writes-1.1
QRun-IO:feat/custom-field-validation-forge
QRun-IO:fix/custom-field-length-and-help-20261106
QRun-IO:feature/kof22-collab-canonical
QRun-IO:feat/record-files-standalone
QRun-IO:main
QRun-IO:ci-qrun-release-caller-develop-v2
QRun-IO:feat/per-session-presence
QRun-IO:archive/qrun-github-cutover-20261101/1ae65087936e/develop
QRun-IO:fix/presence-empty-viewers
QRun-IO:feature/collab-int-20261029
QRun-IO:integration/redis-collaboration-20261029
QRun-IO:test/presence-capacity-1302
QRun-IO:feature/presence-recovery-1300
QRun-IO:dependabot/maven/develop/maven-minor-and-patch-c55d8d628c
QRun-IO:dependabot/github_actions/develop/github-actions-0fdda1077f
QRun-IO:feature/field-values-1196
QRun-IO:fix/attachment-transactions-1289
QRun-IO:feature/collab
QRun-IO:feature/orb-0.8-track
QRun-IO:feature/orb-0.7.18
QRun-IO:feature/orb-0.7.17
QRun-IO:release/0.1
QRun-IO:feature/orb-standardize-release-0.1
QRun-IO:feature/orb-main-standardization
QRun-IO:feature/shared-codeql
QRun-IO:feature/orb-0712-stable-gate
QRun-IO:feature/orb-rc-worker
QRun-IO:feature/orb-0.7.11
QRun-IO:feature/central-ci
QRun-IO:ci/release-rc-secrets-inherit
QRun-IO:dependabot/maven/develop/com.puppycrawl.tools-checkstyle-14.3.0
QRun-IO:feature/ui-api-1.6
QRun-IO:fix/producer-version-from-build
QRun-IO:fix/help-bundle-version-test
QRun-IO:fix/help-bundle-version
QRun-IO:feature/help-bundle
QRun-IO:feature/tables-populated-defaults
QRun-IO:feature/qqq-rc7
QRun-IO:fix/issues-20-21
QRun-IO:feature/email-api
QRun-IO:feature/orb-0.6.9
QRun-IO:feature/object-storage-rc4
QRun-IO:feature/email-qbit
QRun-IO:fix/live-review
QRun-IO:feature/demo-dev-server
QRun-IO:feature/presence-custom-fields
QRun-IO:feature/ui-api-endpoints
QRun-IO:feature/contingent-fields
QRun-IO:fix/object-storage-api-only
QRun-IO:feature/sharing-tasks
QRun-IO:feature/tags
QRun-IO:feature/comments-follow-timeline
QRun-IO:feature/attachments
QRun-IO:feature/favorites-recents
QRun-IO:feature/scaffold-and-settings
No Reviewers
Labels
Clear labels
architecture
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
secuurity
wontfix
Architecture review: coupling, cohesion, UI API
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Pull requests that update GitHub Actions code
Good for newcomers
Extra attention is needed
This doesn't seem right
Pull requests that update java code
Further information is requested
This will not be worked on
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: QRun-IO/qbit-collaboration#46
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
My Work previously materialized all matching rows and repeated a parent lookup for every row. The new regression fixture measured 601 parent queries for 601 tasks on two parents.
Scan tasks, assignments and mentions in primary-key pages of at most 200 rows, retaining only the ten display tasks. Preserve exact caller-visible counts, due-date ordering and current parent authorization. Cache visibility only within each page; a starting maximum ID prevents new inserts from extending a scan indefinitely.
Validation: full Maven verify passes 193 tests with zero failures/errors/skips, packaging and coverage. New query-budget tests cover repeated parents, cross-page assignment/mention counts, hidden records, other users, undelivered mentions and permission changes between requests. Existing sharing/work tests pass.
Related QRun-IO/qqq#1291; stacked on attachment PR45 to preserve the verified candidate baseline. Draft: PostgreSQL query budgets, browser/N-node sustained load and failure qualification remain outstanding. This bounds row retention, not total work independently of matching data size; unique-parent authorization remains linear. See docs/MY-WORK-QUERY-BOUNDS.md.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.