GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(recall): fall back to recent memories when semantic search fails by Phototonic · Pull Request #482 · tickernelz/opencode-mem

Conversation

@Phototonic

@Phototonic Phototonic commented Nov 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

Semantic recall currently returns no memories when search reports a failure, and thrown search calls bypass recent retrieval. Fall back once to the existing scoped recent-memory listing in relevant and both modes when semantic search returns a failure envelope or throws. If that fallback also fails, recall stays empty and nonfatal.

Successful empty or fully filtered searches remain unchanged, and partial-shard warnings still count as successful searches. Existing scope, session/age eligibility, counts, truthful recent-selection labels, and per-turn caching are preserved. The change adds README documentation and regression coverage for the shared loader, V1 injection, V2 lifecycle, and recovery on the next authored turn. It adds no API, ranking algorithm, or configuration.

Test plan

  • Exercised the change locally (or N/A for docs/meta-only)
  • Noted any follow-up or known limitations

Validation was completed in an isolated Linux cloud checkout with Bun 1.4.4 and frozen-lockfile dependencies, not on the desktop used to publish this PR:

  • 62 focused tests passed.
  • bun test --timeout 30000: 1,119 passed, 4 skipped, 0 failed across 151 files.
  • bun run build, bun run typecheck, and bun run check passed.
  • The final default 5-second test run had 1,118 passes, 4 skips, and one timeout in the existing profile-tool-runtime missing-email case. The untouched base also showed 5-second timeout sensitivity in that file, but in a different case; all seven base cases passed with a 30-second timeout. No repository timeout settings changed.

Tests use synthetic failures and the native database. Live-provider behavior, Windows/macOS execution, and broader real-world recall quality have not been qualified by this change.

Checklist

  • Branch is based on main (do not open PRs from commits already on main)
  • bun test passes (or N/A)
  • bun run typecheck passes (or N/A)
  • bun run check passes (format + lint + typecheck; or N/A)
  • Docs / README updated when behavior or contribution process changes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Phototonic
fix(recall): fall back to recent memories when semantic search fails
fb8a9cf
@Phototonic
Phototonic marked this pull request as ready for review November 2, 2026 12:26
@EyJunge1 EyJunge1 assigned Phototonic Nov 2, 2026
@EyJunge1
EyJunge1 self-requested a review November 2, 2026 14:52
@EyJunge1
EyJunge1 merged commit a66d349 into tickernelz:main Nov 2, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@EyJunge1 EyJunge1 mentioned this pull request Nov 3, 2026
chore(release): release v2.40.1 #484
Merged
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@EyJunge1 EyJunge1 Awaiting requested review from EyJunge1

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@Phototonic Phototonic

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Phototonic @EyJunge1
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.