fix(memory-integ): address capacity cap and update failures in tests - #604
Merged
Conversation
Hweinstock
had a problem deploying
to
auto-approve
July 28, 2026 14:16 — with
GitHub Actions
Failure
Contributor
✅ No Breaking Changes DetectedNo public API breaking changes found in this PR. |
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Contributor
Author
evaluator failure is likely a flaky test, can track as a follow-up. |
notgitika
approved these changes
Jul 28, 2026
nborges-aws
approved these changes
Jul 28, 2026
Hweinstock
had a problem deploying
to
auto-approve
July 28, 2026 15:02 — with
GitHub Actions
Failure
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Failing integ tests on main: https://github.com/aws/bedrock-agentcore-sdk-python/actions/runs/30303039785/job/90288106089.
Problem
Failing integ tests on main: https://github.com/aws/bedrock-agentcore-sdk-python/actions/runs/30303039785/job/90288106089 with two root causes:
add_strategy(wait_for_active=True)only waited for the strategy to reach ACTIVE, but the memory itself could still be inUPDATINGstate. Consecutiveadd_strategycalls (as intest_add_strategy_immediately_after_another) would hitValidationException: Memory is in transitional state UPDATING.Solution
After the strategy is confirmed
ACTIVE,add_strategynow also checks the memory status and waits for it to return toACTIVEusing the existing_wait_for_memory_activeutility.Testing
Notes
there appears to be an issue with PRs from forks: #603 so make this from origin branch.