Repository navigation
Health shows the namespace's memory report and projection failures, and an admin runs repairs there - #395
Merged
Conversation
…s, and an admin runs repairs there Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ailure tabs Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…s own, and a hidden tab falls back Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…t from another namespace, and keep the failures toolbar Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…s only what it wrote Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ror, and its counts say what they cover Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…y by its outcome, and the root ignores node_modules Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… row Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
zlareb1
force-pushed
the
feat/dashboard-health-maintenance
branch
from
November 8, 2026 00:04
f91439a to
b390d31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
Health shows the namespace's memory report, its search gates and its waiting extractions; a namespace admin applies expiry, re-embeds, removes an extractor's facts, rolls back, snapshots and restores there, and an org admin retries or dismisses projection failures.
Why
memory.health,calibration.get,memory.extraction_status,memory.sweep_expired,memory.reindex,facts.expire_by_adapter,namespace.rollback,namespace.snapshot,namespace.restoreandops.projection_failures.list/retry/resolvewere callable only over HTTP, MCP or the SDKs, andserver/operations/dashboard.pylisted them as pending a dashboard control.Scope and risk
memory.health,calibration.getandmemory.extraction_statusare VIEWER): live, recalled and silent memories and those expiring within 7 days; the search gates and the calibration tier that set them; the newest 50 extraction batches in any state, with how many of them wait and how many failed. Each section reads on its own, so one failed read leaves the others and offers its own Retry.100+ open), Retry failures (the newest 50; the toast counts what each came to: fixed, failed again, given up, waiting for a later pass while model calls are held, the row is too new or the org is under erasure, or with no retry; a retry that fixed nothing and failed again toasts as an error; one only given up does not) and a per-row Dismiss; the toolbar stays above the empty and error states, and a namespace switch clears the list before the new one is read..gitignoreignores/node_modules/, where a vitest run started from the repository root writes its cache.Erasures.tsxtofrontend/src/lib/download.ts, which the snapshot download shares.frontend/src/api/maintenance.ts) is imported directly, not throughapi.ts;npm run budgetpasses.DASHBOARD_PENDINGandPENDING_AT_MOST, and the reach manifest is regenerated.Known gap, not changed here
server/memory/app/expiry.py::run_passsays it does. The dashboard reports the failure instead of promising the repair; the server fix is tracked in The expiry sweep never retries a search mirror that failed #399.Compatibility, rollout and rollback
Tests
NamespaceHealth.test.tsx(the report, the gates' tier, recent extractions; one failed section with its Retry while the others stay; no queued transcript),Repairs.test.tsx(dry run before apply; nothing due and a declined confirmation write nothing; an apply whose insert failed and one whose search mirror failed; a full pass and a preview of only locked rows; re-embed with nothing to do and with a full run; rollback preview and apply; remove an extractor's facts; restore behind a dangerous confirmation; a restore that skipped erased memories; a snapshot of another namespace and of another org),ProjectionFailures.test.tsx(retry and dismiss; each retry outcome counted by its reason; a retry held by model calls; empty, with the toolbar; a failed read and its Retry; a namespace switch drops the old rows),Health.workers.test.tsx(a switch that hides the open Repairs tab selects Extraction quality; fails without the fallback);tsc -b, the build andnpm run budgetclean./admin/health.tests/unit/test_op_surfaces.py,tests/unit/test_op_reach_census.py,op_reach_census --check,test_doc_links.py,test_public_copy.py.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code. I checked each tab's gate against its ops' declared roles.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
npm --prefix frontend run build) and its tests pass, iffrontend/changed.git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code