Skip to content

fix(api): pause memory uploads#460

Merged
daniellam258 merged 1 commit into
stagingfrom
fix/pause-write
Jul 14, 2026
Merged

fix(api): pause memory uploads#460
daniellam258 merged 1 commit into
stagingfrom
fix/pause-write

Conversation

@daniellam258

Copy link
Copy Markdown
Collaborator

Summary

  • pause all four client-facing memory write endpoints at the routing boundary
  • return HTTP 404 with the security-upgrade message in the standard JSON error shape
  • keep recall, status polling, and restore endpoints available

Why

New Walrus Memory uploads need to be suspended while a security upgrade is conducted. Routing write requests directly to the pause handler prevents validation, extraction, database inserts, and background upload jobs from starting.

Impact

The following endpoints now return 404 with {"error":"New uploads to Walrus Memory are paused while we conduct a security upgrade"}:

  • POST /api/remember
  • POST /api/remember/bulk
  • POST /api/remember/manual
  • POST /api/analyze

Validation

  • cargo fmt --manifest-path services/server/Cargo.toml -- --check
  • cargo test --manifest-path services/server/Cargo.toml uploads_paused_tests
  • git diff --check

@daniellam258
daniellam258 marked this pull request as ready for review July 14, 2026 20:14
@daniellam258
daniellam258 merged commit 5dc42a3 into staging Jul 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants