chore(submodule): bump aw-server-rust to 05c7b38 — stream export headers - #305
TimeToBuildBob wants to merge 5 commits into
Conversation
Picks up ActivityWatch/aw-server-rust#721: send HTTP headers before serializing large exports, so "Export all buckets as JSON" on ~500k events opens the connection during processing instead of waiting for the full body. Native Android fetch (ActivityWatch#304) already streams the body to a cache file; without this bump it still blocks on headers until serialization finishes. Also picks up: - ActivityWatch/aw-server-rust#718 — aw-sync dedupe CLI (JNI path unused) - ActivityWatch/aw-server-rust#719 — aw-sync v2 writer, feature-flagged - ActivityWatch/aw-server-rust#720 — install-ndk.sh macOS readlink - aw-webui bump to #988 (not #993) ActivityWatch#228 Git-Session-Id: ba128b8a-fc85-51b5-90c0-4c7a4beaed85
Review guide (auto-posted)Structured warm-up for reviewers — what changed, what to run, where to look. Key files
Suggested verification
Known risks / watch points
Suggested review focus
Generated by |
|
The test already set hasMigratedHostname, but startup uses the distinct sanitizedHostnameMigratedTo flag. Without it, Java opens the 17MB seeded sqlite.db while the rust worker switches journal_mode to WAL, hits SQLITE_BUSY, panics, and leaves events/count returning 500. Git-Session-Id: 523c0c0e-38a3-5992-bcb3-bf6bf0d76080
|
E2E Logcat from run 35826089151: rust worker panics at Cause: the fixture set Pushed |
Git-Session-Id: 7e8e
|
CI-green and mergeable (Greptile 5/5) — waiting only on a maintainer click. This PR is ready to merge, but the bot has pull-only access to this repo and can't self-merge — surfacing it here so it isn't lost. The monitoring loop will stop re-flagging it now that this note is posted. |
|
E2E This PR only bumps |
UpgradeWithHistoryTest left the compiled INSERT statement open. SQLiteStatement holds a SQLiteClosable ref, so db.close() did not drop the last reference and the Java connection stayed alive. rust then panicked on the v6 exclusive index migration (`database is locked`) and events/count stayed 500 for the rest of the 60s wait. Also delete leftover -wal/-shm after close. Git-Session-Id: 858a0c7e-764d-5961-a03a-156ec4922b8d
|
E2E
Cause: the 17MB seed left its compiled Pushed |
…ealTap Git-Session-Id: 702c
|
E2E |
|
E2E The previous failure on Waiting on a maintainer merge (pull-only on this repo). Does not close #228 until a device confirms the large JSON export. |
Bumps the
aw-server-rustsubmodule from70ba50dto05c7b38.This is the remaining carrier for #228 after
#304 (native stream-to-cache-file, already on
master). Erik reproduced on 0.14.2b4: small-bucket JSON/CSV works, but
"Export all buckets as JSON" on ~500k events crawls then no-ops, and the
largest bucket fails as JSON or CSV.
ActivityWatch/aw-server-rust#721 sends HTTP headers before serializing,
so the native fetch (
connect+readTimeout=120sin #304) does notblock on
getResponseCode()until the whole JSON is written.Also picks up along the way:
aw-sync dedupeCLI; JNI path unusedsync-v2install-ndk.shmacOSreadlinkaw-webuibump to fix(multidevice): include Android hosts that lack an afkstatus bucket aw-webui#988 (not #993)Not in this pin:
exports already bypass that path via the fix(export): stream large JSON downloads to a cache file #304 XHR intercept. Desktop
still needs a rust-side webui carrier bump.
this merges before device confirmation.
Does not close #228 until a device confirms
"Export all buckets as JSON" on ~500k events.