Skip to content

Conversation

batdevis
Copy link
Collaborator

List of Changes

  • Remove Localstack because we don't have a licence
  • Local tests now use motoserver for all AWS services: cognito, S3, SSm.
  • remove AWS_ACCESS_KEY and SECRET environment variables.
  • Refactor settings.py

Motivation and Context

We want to test locally without use real AWS environment.

How Has This Been Tested?

from apps/chatbot run

./docker/docker-compose-run-tests.sh

Screenshots (if appropriate):

Types of changes

  • Chore (nothing changes by a user perspective)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • Open another PR to refator settings.py of chatbot-evaluate

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 76a2b2b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
chatbot-evaluate Patch
chatbot Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@batdevis batdevis changed the title [CI-608] Chatbot test refactor [CAI-608] Chatbot test refactor Oct 10, 2025


@mock_aws
def test_get_healthz():
Copy link
Collaborator

Choose a reason for hiding this comment

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

def test_get_healthz() -> None:
    ....

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Branch is not up to date with base branch

@batdevis it seems this Pull Request is not updated with base branch.
Please proceed with a merge or rebase to solve this.

@mdciri mdciri self-requested a review October 14, 2025 07:19
* settings

* changeset

* use AWS_SESSION from settings

* chatbot-evaluate settings
Copy link
Contributor

github-actions bot commented Oct 15, 2025

Jira Pull Request Link

This Pull Request refers to the following Jira issue CAI-608

Copy link
Contributor

This PR exceeds the recommended size of 800 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants