docs: clarify that AWS Bedrock requires the optional AWS SDK plugin#211
Merged
Merged
Conversation
The AWS Bedrock provider descriptor is gated on the aws-java-sdk2-core plugin (@OptionalExtension requirePlugins). That dependency is optional by design so installations that don't use Bedrock are not forced to carry the AWS SDK. The trade-off is that Bedrock is absent from the AI Provider list until the AWS SDK plugin is installed, which was not documented. Document the requirement and the enable steps in the README, and add a registration test asserting the Bedrock descriptor is discoverable when the AWS SDK dependency is present.
shenxianpeng
force-pushed
the
fix/bedrock-provider-missing-from-list
branch
from
July 9, 2026 16:46
d2c5751 to
c9b3c2e
Compare
shenxianpeng
marked this pull request as ready for review
July 9, 2026 16:48
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
Closes #210
User report that AWS Bedrock is missing from the AI Provider list (Manage Jenkins → System) after installing/upgrading the plugin.
This is intended behavior, not a defect. AWS Bedrock depends on the AWS SDK v2, which is large, so the
aws-java-sdk2-coredependency is deliberately kept optional — otherwise every Explain Error user would carry the AWS SDK even if they never use Bedrock. The Bedrock descriptor is gated on that plugin via@OptionalExtension(requirePlugins="aws-java-sdk2-core"), so it only registers when the AWS SDK plugin is installed. On an instance without it, Bedrock simply doesn't appear (and nothing is logged, because nothing fails).The gap is that this requirement was not documented, so the provider appears to "vanish" with no guidance. This PR fixes the discoverability rather than forcing the dependency on everyone.
Changes
README.md: document that AWS Bedrock requires the optional AWS SDK 2.x plugin (aws-java-sdk2-core), explain why it is optional, and give the install/enable steps.BedrockProviderRegistrationTest: assert the Bedrock descriptor is discoverable via the same mechanism the provider dropdown uses, guarding the descriptor wiring when the AWS SDK dependency is present.The
aws-java-sdk2-coredependency stays optional — no change to what every installation is required to carry.Related Issues
Testing done
BedrockProviderRegistrationTestverifyinggetDescriptorList(BaseAIProvider.class)containsBedrockProvider.DescriptorImpl.aws-java-sdk2-corepre-installed is recommended.Submitter checklist
Was generative AI tooling used to co-author this PR?