feat: allow overriding the "most recent event" when forcing a state download #853

Merged
Jade merged 2 commits from nex/force-time-travel into main 2025-06-19 21:27:50 +00:00
Owner

this allows us to work around issues where the latest PDU is one that remote servers don't know about (i.e. failed federation for whatever reason)

Closes #852

this allows us to work around issues where the latest PDU is one that remote servers don't know about (i.e. failed federation for whatever reason) Closes #852
nex added the
Enhancement
Matrix/Administration
Matrix/Federation
labels 2025-06-16 15:37:09 +00:00
nex self-assigned this 2025-06-16 15:37:09 +00:00
nex added 1 commit 2025-06-16 15:37:09 +00:00
Add option to select which event to set the state at to
All checks were successful
Release Docker Image / define-variables (push) Successful in 2s
Rust Checks / Format (push) Successful in 43s
Rust Checks / Clippy (push) Successful in 4m27s
Rust Checks / Cargo Test (push) Successful in 5m5s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 14m31s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 15m22s
Release Docker Image / merge (push) Successful in 36s
Documentation / Build and Deploy Documentation (pull_request) Successful in 35s
9fcda9649c
nex reviewed 2025-06-16 15:37:34 +00:00
@ -428,3 +431,3 @@
let string = self.body[1..self.body.len().checked_sub(1).unwrap()].join("\n");
match serde_json::from_str(&string) {
| Err(e) => return Err!("Invalid json: {e}"),
| Err(e) => return Err!("Infirst_pdu.event_id.clone()valid json: {e}"),
Author
Owner

tf happened here (todo)

tf happened here (todo)
nex marked this conversation as resolved
nex added 1 commit 2025-06-17 13:08:29 +00:00
remove typo
Some checks failed
Release Docker Image / define-variables (push) Successful in 2s
Rust Checks / Format (push) Successful in 1m6s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m4s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 2m30s
Rust Checks / Clippy (push) Successful in 5m0s
Rust Checks / Cargo Test (push) Successful in 5m34s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 10m44s
Release Docker Image / merge (push) Has been skipped
1b162c206b
nex changed title from WIP: feat: allow overriding the "most recent event" when forcing a state download to feat: allow overriding the "most recent event" when forcing a state download 2025-06-17 13:08:41 +00:00
requested review from Owners 2025-06-19 13:10:52 +00:00
Jade approved these changes 2025-06-19 21:25:14 +00:00
@ -240,3 +240,3 @@
.await
{
| Err(e) =>
| Err(e) => {
Owner

are these additional blocks around the errors necessary?

are these additional blocks around the errors necessary?
Jade merged commit e508b1197f into main 2025-06-19 21:27:50 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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#853
No description provided.