feat: Add bundled aggregations support #847

Merged
Jade merged 14 commits from jade/relations into main 2025-12-21 17:14:36 +00:00
Owner

It should be good to merge.

It should be good to merge.
Jade force-pushed jade/relations from e4a0337e56
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
to 5a861d406a
All checks were successful
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
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
Author
Owner

for future ref: this needs refactoring to not make so many database hits and to be in a streaming style via something like github.com/JadedBlueEyes/stream-partition/

for future ref: this needs refactoring to not make so many database hits and to be in a streaming style via something like github.com/JadedBlueEyes/stream-partition/
First-time contributor

Hi hi, I want to offer a 200$CAD bounty for this, because I really want it finished soon for my client :)

Hi hi, I want to offer a 200$CAD bounty for this, because I really want it finished soon for my client :)
Jade force-pushed jade/relations from 5a861d406a
All checks were successful
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
to b7c20b103b
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m26s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2025-12-13 23:40:56 +00:00
Compare
Jade force-pushed jade/relations from b7c20b103b
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m26s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
to 241fe1a029
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m11s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m1s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 11m24s
2025-12-13 23:44:23 +00:00
Compare
Author
Owner

Test image run, still work to do but I've rebased ontop of the ~500 commits that happened since I last worked on this

[Test image run](https://forgejo.ellis.link/continuwuation/continuwuity/actions/runs/8212/jobs/0/attempt/1), still work to do but I've rebased ontop of the ~500 commits that happened since I last worked on this
Jade force-pushed jade/relations from 241fe1a029
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m11s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m1s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 11m24s
to d97ae18f5b
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 50s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 10m5s
2025-12-14 00:04:15 +00:00
Compare
Jade force-pushed jade/relations from d97ae18f5b
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 50s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 10m5s
to 2463acf2bb
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m31s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m13s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 11m3s
2025-12-18 02:39:05 +00:00
Compare
fix: Add aggregations to the search endpoint
Some checks failed
Update flake hashes / update-flake-hashes (pull_request) Successful in 35s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m32s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 13m5s
2b3bbfb88f
refactor: Reduce database lookups in some cases
Some checks failed
Update flake hashes / update-flake-hashes (pull_request) Successful in 18s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m6s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m49s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 7m51s
2ea952456a
fix: Always return the same 404 message in context
Some checks failed
Update flake hashes / update-flake-hashes (pull_request) Successful in 17s
Documentation / Build and Deploy Documentation (pull_request) Successful in 59s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m48s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 8m6s
7ebb4a6134
feat: Run visibility checks on bundled relations
Some checks failed
Update flake hashes / update-flake-hashes (pull_request) Successful in 16s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m1s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m39s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 7m37s
e4a1908603
routes

Mostly fixes !1094

The remaining issue is federation routes
style: Fix clippy
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m10s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m46s
Update flake hashes / update-flake-hashes (pull_request) Successful in 28s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 11m6s
13daa59a9d
Jade changed title from WIP: feat: Add bundled aggregations support to feat: Add bundled aggregations support 2025-12-19 01:07:42 +00:00
Author
Owner

Things here:

  • This scans every relation, even though only a subset will be returned. Optimising this would be difficult (either schema changes or more intertwining with the database code)
  • Doesn't fix the server part of v12 room IDs

but it's in a good enough state

Things here: - This scans every relation, even though only a subset will be returned. Optimising this would be difficult (either schema changes or more intertwining with the database code) - Doesn't fix the server part of v12 room IDs but it's in a good enough state
ginger force-pushed jade/relations from 13daa59a9d
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m10s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m46s
Update flake hashes / update-flake-hashes (pull_request) Successful in 28s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 11m6s
to bb0d4bdaad
Some checks failed
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Documentation / Build and Deploy Documentation (pull_request) Has been cancelled
2025-12-19 01:56:13 +00:00
Compare
Jade force-pushed jade/relations from bb0d4bdaad
Some checks failed
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Documentation / Build and Deploy Documentation (pull_request) Has been cancelled
to b165370560
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m40s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 19m2s
2025-12-19 01:57:03 +00:00
Compare
Jade force-pushed jade/relations from b165370560
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m40s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 19m2s
to 8fd15f26ce
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 57s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m15s
Documentation / Build and Deploy Documentation (push) Successful in 1m40s
Checks / Prek / Pre-commit & Formatting (push) Successful in 2m34s
Checks / Prek / Clippy and Cargo Tests (push) Has been cancelled
Release Docker Image / Build linux-amd64 (release) (push) Has been cancelled
Release Docker Image / Build linux-arm64 (release) (push) Has been cancelled
Release Docker Image / Create Multi-arch Release Manifest (push) Has been cancelled
Release Docker Image / Build linux-amd64 (max-perf) (push) Has been cancelled
Release Docker Image / Build linux-arm64 (max-perf) (push) Has been cancelled
Release Docker Image / Create Max-Perf Manifest (push) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 24m13s
2025-12-21 17:12:46 +00:00
Compare
Jade merged commit 8fd15f26ce into main 2025-12-21 17:14:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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.