Repository navigation
fix(runtime): leave s3BucketMount V2 rule to the service - #2915
Merged
Merged
Conversation
jariy17
approved these changes
Nov 25, 2026
3 tasks done
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.
Description
Bug bash finding F-sashaxm-C35 (§7 of the 2026-11-25 bug bash doc).
The CLI no longer requires
platformVersion: V2for ans3BucketMountentry. The service already enforces that rule at deploy, so keeping a copy in the CLI meant two places to change if the CP rule changes. The copy was also stricter than the service: it blocked an update that leavesplatformVersionunset, which the service keeps as V2 (C35). The CLI still checks the entry's shape (lengths,mountPathpattern, owner and Region formats, strict keys). The--filesystem-configurationshelp still says an S3 mount needs V2.This also restores the
s3BucketMountschema tests insrc/projectSchemas/runtime.test.ts, which the merge of #2897 into this branch dropped.Pairs with the matching aws/agentcore-l3-cdk-constructs PR against
release/2026-11-25.Related Issue
Part of #2898
Documentation PR
Not applicable.
Type of Change
Testing
How have you tested the change?
bun test(5147 pass; the one failure,CodeZipDevRunner > starts tsx directly when Node dependencies exist, also fails without this change)bun run test:e2e, or explained why they are not applicable(CI does not run them for you): not run; bug bash cases C23, C24 and C35 cover the deploy-time behavior
bun run typecheckbun run lint:checkbun run format:checkbun run auditbun run secrets:checkbun run buildsrc/assets/, I updated affected snapshots withbun test <test-file> --update-snapshotsand committed themby this PR
command.md(the release workflow regenerates it)Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.