feat: Update device last active timestamp #1210

Merged
nex merged 4 commits from nex/feat/session-activity into main 2025-12-09 03:37:53 +00:00
Owner

This PR updates the "device last active" timestamp when /messages, /send, PUT /state, /redact, /typing, or either sync or sliding sync starts processing. For the sake of simplicity only endpoints that are typically hit quite frequently during normal usage will perform this update, I didn't bother adding it to the more exotic endpoints.

This PR updates the "device last active" timestamp when `/messages`, `/send`, `PUT /state`, `/redact`, `/typing`, or either sync or sliding sync starts processing. For the sake of simplicity only endpoints that are typically hit quite frequently during normal usage will perform this update, I didn't bother adding it to the more exotic endpoints.
nex added this to the 0.5.0 milestone 2025-12-02 13:43:21 +00:00
nex requested review from Owners 2025-12-02 13:43:27 +00:00
Jade left a comment
Owner

feels like it should be factored into a function. also needs some kind of throttle I think?

feels like it should be factored into a function. also needs some kind of throttle I think?
Author
Owner

How's that @Jade?

How's that @Jade?
Jade approved these changes 2025-12-02 16:01:45 +00:00
ginger force-pushed nex/feat/session-activity from 6c4b78a432
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 51s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m26s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 8m25s
to 51c9828c0a
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 52s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 10m15s
2025-12-07 20:13:59 +00:00
Compare
nex force-pushed nex/feat/session-activity from 51c9828c0a
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 52s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 10m15s
to cf8d8e4ea6
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m7s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m37s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 9m32s
Documentation / Build and Deploy Documentation (push) Successful in 50s
Checks / Prek / Pre-commit & Formatting (push) Successful in 2m33s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 6m49s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 7m18s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 24s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 17m56s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 17m51s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 17m52s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 23s
2025-12-09 03:25:09 +00:00
Compare
Author
Owner

image yay

![image](/attachments/23d02aa2-38df-4511-8240-a3c6ff3efa54) yay
nex merged commit cf8d8e4ea6 into main 2025-12-09 03:37:53 +00:00
nex deleted branch nex/feat/session-activity 2025-12-09 03:37:53 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 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!1210
No description provided.