Skip to content

ci: let's try running (real) redis - #301

Open
ketiltrout wants to merge 1 commit into
chime-upgradefrom
use_redis_for_tests
Open

ci: let's try running (real) redis#301
ketiltrout wants to merge 1 commit into
chime-upgradefrom
use_redis_for_tests

Conversation

@ketiltrout

Copy link
Copy Markdown
Member

Test to see if fake redis is the cause of the race conditions....

@ketiltrout

Copy link
Copy Markdown
Member Author

No, it's behaving the same way. Dah....

@ketiltrout
ketiltrout force-pushed the use_redis_for_tests branch 2 times, most recently from d44e185 to cc94ecb Compare July 23, 2026 00:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the test harness and CI workflow to use a real Redis instance during unit tests (instead of the in-process fakeredis server) to help determine whether fakeredis is contributing to observed race conditions.

Changes:

  • Allow tests/coco_runner.py to use an externally provided Redis port via COCO_TEST_REDIS_PORT.
  • Start Redis in GitHub Actions and set COCO_TEST_REDIS_PORT=6379 for the test job.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
tests/coco_runner.py Adds an env-var override path so tests can target an external Redis instance.
.github/workflows/main.yaml Starts Redis in CI and wires its port into the test environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/coco_runner.py
Comment thread tests/coco_runner.py
Comment thread .github/workflows/main.yaml
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