Skip to content

Return entity edge reference time#1667

Open
sakshichitnis27 wants to merge 1 commit into
getzep:mainfrom
sakshichitnis27:Issue/1661-return-entity-edge-reference-time
Open

Return entity edge reference time#1667
sakshichitnis27 wants to merge 1 commit into
getzep:mainfrom
sakshichitnis27:Issue/1661-return-entity-edge-reference-time

Conversation

@sakshichitnis27

@sakshichitnis27 sakshichitnis27 commented Jul 18, 2026

Copy link
Copy Markdown

Summary

Fixes EntityEdge.reference_time being lost when edges are read from the database.

Although reference_time is persisted on entity edges, it was omitted from the
Cypher return projections. As a result, edge hydration always received a missing
value and set reference_time to None.

This PR:

  • Adds reference_time to the shared entity-edge return projection.
  • Adds it to the standalone Neptune full-text, similarity, and BFS search
    projections.
  • Adds regression tests for query projection and edge hydration.

Type of Change

  • Bug fix
  • New feature
  • Performance improvement
  • Documentation/Tests

Objective

Ensure persisted EntityEdge.reference_time values are preserved across standard
edge reads and search results.

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • All existing tests pass

Regression tests verify that:

  • Entity-edge return queries select reference_time for every graph provider.
  • Both entity-edge hydration paths preserve the returned timestamp.

The full test suite was not run locally due to environment limitations.

Breaking Changes

  • This PR contains breaking changes

No breaking changes.

Checklist

  • Code follows project style guidelines (make lint passes)
  • Self-review completed
  • Documentation updated where necessary
  • No secrets or sensitive information committed

No documentation changes were necessary because this restores the existing model
field’s expected read behavior.

Related Issues

Closes #1661

@zep-cla-assistant

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. For privacy information, see our Privacy Notice. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA behalf on myself, e-mail: example@example.com

or

I have read the CLA Document and I hereby sign the CLA behalf of my company, e-mail: example@example.com

Signature is valid for 6 months.


This bot will be retriggered when the Contributor License Agreement comment has been provided. Posted by the CLA Assistant Lite bot.

@sakshichitnis27

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA behalf on myself, e-mail: sakshigchitnis27@gmail.com

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.

EntityEdge.reference_time is write-only: persisted on every edge, never returned by any read path

1 participant