Skip to content

test(client): add ValidFrom regression tests for StoreMemory (DAK-7424) - #148

Merged
ferhimedamine merged 1 commit into
mainfrom
test/store-memory-valid-from
Jul 29, 2026
Merged

test(client): add ValidFrom regression tests for StoreMemory (DAK-7424)#148
ferhimedamine merged 1 commit into
mainfrom
test/store-memory-valid-from

Conversation

@ferhimedamine

Copy link
Copy Markdown
Contributor

Summary

PR#145 added ValidFrom *int64 to StoreMemoryRequest but did not include dedicated regression tests. Adds 2 httptest-based unit tests:

  • TestStoreMemory_ValidFrom — verifies valid_from is included in the JSON request body when ValidFrom is set
  • TestStoreMemory_ValidFrom_Omitted — verifies valid_from is absent from the JSON request body when ValidFrom is nil (omitempty behaviour)

Parity PR: dakera-py Dakera-AI/dakera-py#187

🤖 Generated with Claude Code

Adds 2 unit tests (httptest-based) verifying that StoreMemory correctly
forwards valid_from in the JSON request body when ValidFrom is set, and
correctly omits it (omitempty) when ValidFrom is nil. These cover the
field added in PR#145 which merged without dedicated test coverage.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@ferhimedamine ferhimedamine added the auto-merge Auto-merge when CI passes label Jul 29, 2026
@ferhimedamine
ferhimedamine merged commit dd50593 into main Jul 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Auto-merge when CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant