Commit graph

5538 commits

Author SHA1 Message Date
Jade Ellis
fad3c223fd fix: Use to_str methods on room IDs 2025-09-07 18:40:01 -07:00
Jade Ellis
5c5add30ec chore: cleanup 2025-09-07 18:40:01 -07:00
Jade Ellis
94193611d5 chore: Fix more complicated clippy warnings 2025-09-07 18:40:01 -07:00
Jade Ellis
087f3f3dd1 feat: Add command to purge sync tokens for empty rooms 2025-09-07 18:40:01 -07:00
Jade Ellis
45822d9f9e feat: Add admin command to delete sync tokens from a room 2025-09-07 18:40:01 -07:00
Jacob Taylor
eb37e0de77 collect room lock timing ??? 2025-09-07 18:36:30 -07:00
Jacob Taylor
cd97d77ebc process edus before pdus here, too 2025-09-07 18:36:30 -07:00
Jacob Taylor
066be5b38f pass and use transaction id to collect timing info 2025-09-07 18:36:30 -07:00
Jacob Taylor
641184dfc5 turns out we need debug_warn 2025-09-07 18:36:30 -07:00
Jacob Taylor
f48c27e34f add event_id to log entry 2025-09-07 18:36:30 -07:00
Jacob Taylor
753f8aabae reduce log volume (keeps 2 infos)
adjust log volume

demote a bunch of logs
2025-09-07 18:36:30 -07:00
Jacob Taylor
25b0d43b9c fix warn by removing unused debug imports
delete more imports to quiet cargo
2025-09-07 18:36:30 -07:00
Jacob Taylor
78ade5aa68 fix warn by removing unused debug imports 2025-09-07 18:36:30 -07:00
Jacob Taylor
abe234537f exponential backoff is now just bees. did you want bees? no? well you have them now. congrats 2025-09-07 18:36:30 -07:00
Jacob Taylor
f02e890292 fix too many infos 2025-09-07 18:36:30 -07:00
Jacob Taylor
64fb278133 more funny settings (part 3 of 12) 2025-09-07 18:36:30 -07:00
Jacob Taylor
785ba4eaad sender_workers scaling. this time, with feeling! 2025-09-07 18:36:30 -07:00
Jacob Taylor
dc9776bc1b vehicle loan documentation now available at window 7 2025-09-07 18:36:30 -07:00
nexy7574
f9af07fb9d log which room struggled to get mainline depth 2025-09-07 18:23:07 -07:00
nexy7574
182a2d5ed4 more logs 2025-09-07 18:23:07 -07:00
nexy7574
e3b632529b Fix room ID check 2025-09-07 18:23:07 -07:00
nexy7574
5dcd825132 Kick up a fuss when m.room.create is unfindable 2025-09-07 18:23:07 -07:00
nexy7574
b157c02fec Note about ruma#2064 in TODO 2025-09-07 18:23:07 -07:00
nexy7574
ffac6d8155 fix an auth rule not applying correctly 2025-09-07 18:23:07 -07:00
Jacob Taylor
60d403f3d7 upgrade some settings to enable 5g in continuwuity
enable converged 6g at the edge in continuwuity

better stateinfo_cache_capacity default

better roomid_spacehierarchy_cache_capacity

make sender workers default better and clamp value to core count

update sender workers documentation

add more parallelism_scaled and make them public

update 1 document
2025-09-07 18:23:07 -07:00
Jacob Taylor
bcca10b504 bump the number of allowed immutable memtables by 1, to allow for greater flood protection
this should probably not be applied if you have rocksdb_atomic_flush = false (the default)
2025-09-07 18:23:07 -07:00
nexy7574
6996985a06 feat(fed): Handle EDUs before PDUs
Aranje needs his crypto keys
2025-09-07 18:23:07 -07:00
nexy7574
8584116555 feat(fed): Handle EDUs before PDUs
Aranje needs his crypto keys
2025-09-07 18:23:07 -07:00
nexy7574
b45b630af7 feat(fed): Something about nicer fed errors 2025-09-07 18:23:07 -07:00
nexy7574
e991a10de2 fix(fed): Alter log levels to be less noisy 2025-09-07 18:23:07 -07:00
nexy7574
0abfc192d4 fix(fed): Improve transaction flushing 2025-09-07 18:23:07 -07:00
Ginger
5d3e10a048
fix: Make RA use the full feature 2025-09-07 18:07:03 -04:00
Ginger
1e541875ad
fix: Nuke src/api/client/utils.rs 2025-09-07 18:06:11 -04:00
nexy7574
90fd92977e style: Run clippy 2025-09-07 21:20:26 +00:00
Ginger
e27ef7f5ec feat: Do not persist remote PDUs fetched with admin commands 2025-09-07 21:20:26 +00:00
Ginger
16f4efa708 fix: Fix pagination tokens being corrupted for backfilled PDUs 2025-09-07 21:20:26 +00:00
Ginger
e38dec5864 fix: Put the output of !admin query room-timeline pdus in a codeblock 2025-09-07 21:20:26 +00:00
Ginger
f3824ffc3d fix: Use handle_incoming_pdu directly to keep remote PDUs as outliers 2025-09-07 21:20:26 +00:00
nexy7574
e3fbf7a143 feat: Ask remote servers for individual unknown events 2025-09-07 21:20:26 +00:00
nexy7574
09de586dc7
feat(PR977): Log more things in the join process 2025-09-07 22:01:07 +01:00
nexy7574
d1fff1d09f
perf(pr977): Remove redundant ACL check in send_join 2025-09-07 22:01:07 +01:00
nexy7574
f47474d12a
fix(PR977): Adjust some log levels 2025-09-07 22:01:07 +01:00
nexy7574
53da294e53
fix(PR977): Omitting redundant entries from the auth_chain caused problems 2025-09-07 22:01:07 +01:00
nexy7574
2cdccbf2fe
feat(PR977): Support omitting members in the send_join response 2025-09-07 22:01:07 +01:00
Tom Foster
6cf3c839e4 ci(release-image): Skip digest upload when not pushing images
After #992, builds without registry credentials skip Docker image output
but still extract binary artifacts. However, we were still trying to
upload digests for images that weren't created. Add conditional check
to only upload digests when actually pushing to registry.
2025-09-07 21:27:56 +01:00
Tom Foster
4a1091dd06 ci(release-image): Unify binary extraction using BuildKit local output
Fork PRs currently fail binary extraction with 'invalid reference format'
and 'must specify at least one container source' errors. This replaces the
registry-specific docker create/copy method with BuildKit's local output
feature for all builds.

Uses multiple outputs in single build: image export plus local binary
extraction from /sbin. Speeds up extracting binary artifacts and saves a
couple of extra workflow steps in the process.
2025-09-07 20:46:11 +01:00
Tom Foster
1e9701f379 ci(release-image): Skip setup steps when using persistent BuildKit
When BUILDKIT_ENDPOINT is set, builds run on a persistent BuildKit instance,
making runner setup steps unnecessary. Skip Rust toolchain installation,
QEMU setup, caching steps, and timelord to eliminate ~7 operations per job.

Also adds output to git SHA and timestamp steps for visibility.

Cuts at least a minute off average build time through fewer installs,
cache restores, and cache saves.
2025-09-07 18:59:05 +01:00
Tom Foster
2cedf0d2e1 fix(ci): Use image output instead of docker for fork PRs
Docker exporter doesn't support manifest lists (multi-platform builds).
For fork PRs without registry credentials, use 'type=image,push=false'
instead of 'type=docker' to build multi-platform images locally without pushing.
2025-09-07 18:32:38 +01:00
Tom Foster
84fdcd326a fix(ci): Resolve registry push failures for fork PRs
Fork PRs now fail during Docker image build with 'tag is needed when
pushing to registry' because BUILTIN_REGISTRY_ENABLED evaluates to false
without proper credentials, leaving the images list empty. This appears
to be due to recent Forgejo permission changes affecting fork access to
repository secrets.

Add fallback to official registry when credentials unavailable, skip
registry login and push operations for forks, and make merge job
conditional since no digests exist without push. This allows forks to
test Docker builds whilst avoiding authentication failures.
2025-09-07 17:39:18 +01:00
Tom Foster
d640853f9d ci(docs): Optimise build performance with caching and conditional Node.js
Skip installing Node.js entirely if v20+ is already available, otherwise
install v22. Add npm dependency caching with OS-specific cache keys using
the custom detect-runner-os action for proper cache isolation between
runners. Dependencies normally take just under 10s, so this should more
than halve the doc build time to free up runner slots.
2025-09-07 14:51:10 +01:00