Skip to content
This repository was archived by the owner on Nov 16, 2026. It is now read-only.

perf: reuse search hydration within verified request lifetime - #8

Draft
Daniel-Hong wants to merge 1 commit into
personalfrom
fix/search-request-hydration
Draft

Daniel-Hong wants to merge 1 commit into
personalfrom
fix/search-request-hydration

Conversation

@Daniel-Hong

Copy link
Copy Markdown
Owner

Summary

  • Reuse unchanged hydration within a single expanding search request, with bounded mutation/index observers and cleanup on every exit.
  • Preserve exact pinned State/engine admission checks before and after cached asynchronous reads. Missing admission support uses the uncached path.
  • Invalidate associated request filtering caches on detected changes; failed or missing reads are not cached.
  • Fix the compatibility-hook CI fixture lifecycle by awaiting real child writers, without changing production hook behavior or hiding cleanup races with retries.
  • Synchronize .76 version metadata and generated artifacts.

Validation

  • Final host CI-equivalent npm test with isolated HOME: 7,110 passed across 593 passing files, 14 skipped.
  • Earlier sandbox execution encountered denied Chrome/socket permissions and injected proxy stderr; the unchanged source passed in the supported host environment.
  • An initial earlier run had one graph-snapshot timeout; subsequent affected-suite and final full runs passed.
  • Final focused verification: 12 suites, 170 tests passed.
  • Hook fixture: 20 tests passed in each of ten repeated runs.
  • Build, skills, documentation and exact installed-package smoke checks passed.
  • CI uses npm test, which excludes service-dependent test/integration.test.ts; no separate live-service integration-suite pass is claimed.

Scope

No private operating records, figures, paths or raw evidence are included. Synthetic RPC-count reductions do not establish an end-to-end latency guarantee. Bounded operating verification confirmed new capture acknowledgement and persisted content, retrieval of a preserved earlier observation by identifier, and healthy continued processing. No production latency improvement is claimed.

Draft PR targeting personal. No direct changes to main. Temporary branch cleanup is intended only after an approved merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant