Skip to content

feat(atlas): make memory staging replay-safe - #14024

Merged
developing-today-fleet[bot] merged 3 commits into
mainfrom
oc-code-04/8622-memory-lancedb-1b
Nov 24, 2026
Merged

developing-today-fleet[bot] merged 3 commits into
mainfrom
oc-code-04/8622-memory-lancedb-1b

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Make memory-export staging idempotent for unchanged rows.
  • Replace staged content and chunks when the same source identity is revised.
  • Add replay and revision regression tests.

Scope

This is a bounded continuation of #8622 (slice 1b). Native LanceDB reading and rebuild-from-sources proof remain follow-up work, so this PR does not close #8622.

Verification

  • Local (lane code-f): cargo test -p atlas-core --test memory — 6 passed, 0 failed (includes the fix commit a46283a for the StagedItem.text compile error that failed remote run developing-today-forks/fleet#45313263885).
  • Remote: Fleet run for cargo test -p atlas-core --test memory (https://github.com/dezren39/fleet/actions/runs/45315188656).
  • cargo fmt -- --check clean.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1a4e749d-d195-432d-b466-2cf111d5e882
Commits

Reviewing files that changed from the base of the PR and between 8b767a0 and a46283a.

Files selected for processing: 3

  • pkgs/atlas-search/crates/atlas-core/src/memory.rs
  • pkgs/atlas-search/crates/atlas-core/src/stage.rs
  • pkgs/atlas-search/crates/atlas-core/tests/memory.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

The memory revision regression test asserts the replaced text via
StagedItem, but the read-back struct omitted the items.text column
the v1 schema already carries. Select it (lane code-f, task 20378).
@developing-today-fleet
developing-today-fleet Bot merged commit 88b7ade into main Nov 24, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-04/8622-memory-lancedb-1b branch November 24, 2026 07:38
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.

atlas memory slice 1: corpus registry + memory-lancedb connector into Atlas staging (#8567)

1 participant