WIP: feat: Add bundled aggregations support #847

Draft
Jade wants to merge 3 commits from jade/relations into main
Owner

It should be good to merge.

It should be good to merge.
Jade added the
Enhancement
Matrix/Client
labels 2025-06-03 23:15:59 +00:00
Jade added 2 commits 2025-06-03 23:16:00 +00:00
Also fixes:
- Transaction IDs leaking in event route
- Age not being set for event relations or threads
- Both of the above for search results

Notes down concern with relations table
feat: Add bundled aggregations support
All checks were successful
Release Docker Image / define-variables (push) Successful in 2s
Rust Checks / Format (push) Successful in 40s
Documentation / Build and Deploy Documentation (pull_request) Successful in 42s
Rust Checks / Clippy (push) Successful in 7m9s
Rust Checks / Cargo Test (push) Successful in 7m40s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 11m57s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 28m30s
Release Docker Image / merge (push) Successful in 42s
980e2bb8d5
Add support for the m.replace and m.reference bundled
aggregations.
This should fix plenty of subtle client issues.
Threads are not included in the new code as they have
historically been written to the database. Replacing the
old system would result in issues when switching away from
continuwuity, so saved for later.
Some TODOs have been left re event visibility and ignored users.
These should be OK for now, though.
Jade added 1 commit 2025-06-05 18:34:09 +00:00
fix: Filter out invalid replacements from bundled aggregations
Some checks failed
Release Docker Image / define-variables (push) Successful in 12s
Rust Checks / Format (push) Successful in 1m1s
Documentation / Build and Deploy Documentation (pull_request) Successful in 49s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 2m3s
Rust Checks / Clippy (push) Successful in 4m46s
Rust Checks / Cargo Test (push) Successful in 5m15s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 14m2s
Release Docker Image / merge (push) Has been skipped
74cf5445cc
Jade added 1 commit 2025-06-13 13:29:19 +00:00
ci: Fix extra bracket in commit shorthash
All checks were successful
Release Docker Image / define-variables (push) Successful in 2s
Rust Checks / Format (push) Successful in 55s
Documentation / Build and Deploy Documentation (pull_request) Successful in 58s
Rust Checks / Clippy (push) Successful in 4m30s
Rust Checks / Cargo Test (push) Successful in 5m3s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 13m23s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 16m10s
Release Docker Image / merge (push) Successful in 23s
e4a0337e56
Jade force-pushed jade/relations from e4a0337e56 to 5a861d406a 2025-06-14 18:40:33 +00:00 Compare
Jade changed title from feat: Add bundled aggregations support to WIP: feat: Add bundled aggregations support 2025-06-25 23:41:17 +00:00
Some checks are pending
Release Docker Image / define-variables (push) Successful in 4s
Rust Checks / Format (push) Successful in 1m3s
Rust Checks / Clippy (push) Successful in 4m57s
Rust Checks / Cargo Test (push) Successful in 5m12s
Documentation / Build and Deploy Documentation (pull_request) Successful in 45s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 17m54s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 17m27s
Release Docker Image / merge (push) Successful in 24s
Checks / *
Required
This pull request has changes conflicting with the target branch.
  • src/api/client/relations.rs
  • src/api/client/room/initial_sync.rs
  • src/api/client/search.rs
  • src/api/client/threads.rs
  • src/core/matrix/pdu/unsigned.rs
  • src/service/rooms/pdu_metadata/data.rs
  • src/service/rooms/threads/mod.rs
  • src/service/rooms/timeline/mod.rs
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin jade/relations:jade/relations
git checkout jade/relations
Sign in to join this conversation.
No reviewers
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: continuwuation/continuwuity#847
No description provided.