Skip to content

Conversation

enageshwari
Copy link

@enageshwari enageshwari commented Oct 6, 2025

Handle Amazon Q Agentic Chat artifacts and build improvements

Description

Download Amazon Q Agentic Chat artifacts in SMD image to handle private subnet use case for 'SageMaker Unified Studio'. More details in [1].

Type of Change

  • Image update - Bug fix
  • Image update - New feature
  • Image update - Breaking change
  • SMD image build tool update
  • Documentation update

Release Information

Does this change need to be included in patch version releases? By default, any pull requests will only be added to the next SMD image minor version release once they are merged in template folder. Only critical bug fix or security update should be applied to new patch versions of existed image minor versions.

  • Yes (Critical bug fix or security update)
  • No (New feature or non-critical change)
  • N/A (Not an image update)

If yes, please explain why:
[Explain the criticality of this change and why it should be included in patch releases]
Private subnet use case is broken for SMUS JL users with SMD 2.9. More details in [1]

How Has This Been Tested?

  • Existing unit tests passed
  • New unit tests passed
  • Followed instructions in CONTRIBUTING.md to test in 2.9.5 patch and 3..5.0 releases in local. Verified required artifacts are in right folder with right permissions and SMUS JL can use it. Check test results in [2].

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Test Screenshots (if applicable):

Check test results in [2].

Related Issues

See [1]

References

[1] https://tiny.amazon.com/zmh6meka/tcorpamazP302
[2] https://tiny.amazon.com/2v58bfag/drivcorpamazfoldSMUSFail

@enageshwari enageshwari requested a review from a team as a code owner October 6, 2025 13:46
sudo curl -L "https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js" -o "/etc/amazon-q/artifacts/agentic-chat/jszip.min.js" && \
# Download and extract Amazon Q server and client artifacts
MANIFEST_URL="https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json" && \
FLARE_SERVER_VERSION="1.25.0" && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the version hardcode?

# Download JSZip library
sudo curl -L "https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js" -o "/etc/amazon-q/artifacts/agentic-chat/jszip.min.js" && \
# Download and extract Amazon Q server and client artifacts
MANIFEST_URL="https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json" && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can above dependencies be installed from conda-forge?

@enageshwari
Copy link
Author

New PR - #945

@enageshwari enageshwari closed this Oct 7, 2025
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.

2 participants