Skip to content

feat: add missing data plane passthroughs and integration tests#352

Merged
Hweinstock merged 2 commits intoaws:mainfrom
Hweinstock:feat/memory-passthrough-coverage
Mar 17, 2026
Merged

feat: add missing data plane passthroughs and integration tests#352
Hweinstock merged 2 commits intoaws:mainfrom
Hweinstock:feat/memory-passthrough-coverage

Conversation

@Hweinstock
Copy link
Contributor

@Hweinstock Hweinstock commented Mar 17, 2026

Issue #, if available: N/A

Description of changes:

Problem

MemoryClient exposes a subset of bedrock-agentcore data plane APIs via its passthrough mechanism, but 7 memory-related APIs are missing:

  • batch_create_memory_records
  • batch_delete_memory_records
  • batch_update_memory_records
  • start_memory_extraction_job
  • list_memory_extraction_jobs
  • list_sessions
  • list_actors

Additionally, there is list_memory_strategies in the passthrough list, but it doesn't exist on the underlying client. So if a client calls this, it will fail at runtime.

Testing

Add integration tests covering some of the methods, all would be redundant as they are simple passthroughs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@cd2f2a0). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #352   +/-   ##
=======================================
  Coverage        ?   90.92%           
=======================================
  Files           ?       43           
  Lines           ?     4112           
  Branches        ?      634           
=======================================
  Hits            ?     3739           
  Misses          ?      204           
  Partials        ?      169           
Flag Coverage Δ
unittests 90.92% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hweinstock Hweinstock marked this pull request as ready for review March 17, 2026 20:12
@Hweinstock Hweinstock requested a review from a team March 17, 2026 20:12
@Hweinstock Hweinstock merged commit 530f203 into aws:main Mar 17, 2026
21 checks passed
@Hweinstock Hweinstock deleted the feat/memory-passthrough-coverage branch March 17, 2026 21:55
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.

3 participants