Skip to content

Add Python integration tests to CI#449

Merged
nitrobass24 merged 2 commits into
developfrom
ci/python-integration-tests
May 1, 2026
Merged

Add Python integration tests to CI#449
nitrobass24 merged 2 commits into
developfrom
ci/python-integration-tests

Conversation

@nitrobass24
Copy link
Copy Markdown
Owner

Summary

  • Add new CI job Python Integration Tests that runs tests/integration/test_web (web handler integration tests using webtest.TestApp)
  • These tests were previously only runnable locally via make test — now they run on every PR
  • Gate the publish job on this new job passing
  • Excludes heavier integration tests (test_lftp, test_controller) that require real lftp/SSH

Test plan

  • New Python Integration Tests job appears in CI and passes
  • Existing jobs unaffected
  • Publish job correctly depends on the new job

🤖 Generated with Claude Code

Add a new CI job that runs the web handler integration tests
(tests/integration/test_web). These use webtest.TestApp with mocks
and don't require external dependencies (lftp, SSH).

The heavier integration tests (test_lftp, test_controller) that
require real lftp/SSH are excluded — they need the Docker test
container which is a separate concern.

Gate the publish job on this new job passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

Warning

Rate limit exceeded

@nitrobass24 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 2 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: f56fd085-4147-43bf-ad3f-f07807808b7f

📥 Commits

Reviewing files that changed from the base of the PR and between 750f94d and 7c61c28.

📒 Files selected for processing (5)
  • .github/workflows/ci.yml
  • src/python/tests/integration/test_web/test_handler/test_auto_queue.py
  • src/python/tests/integration/test_web/test_handler/test_stream_log.py
  • src/python/tests/integration/test_web/test_handler/test_stream_model.py
  • src/python/tests/integration/test_web/test_handler/test_stream_status.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/python-integration-tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 57 minutes and 2 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

- test_auto_queue: use resp.text/resp.json instead of resp.html
  (handlers now return text/plain and application/json, not text/html)
- test_stream_*: increase Timer delays from 0.5s to 2.0s to prevent
  race conditions where the stop timer fires before update timers
  on slow CI runners

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nitrobass24 nitrobass24 merged commit eff4a4b into develop May 1, 2026
18 checks passed
@nitrobass24 nitrobass24 deleted the ci/python-integration-tests branch May 1, 2026 17:39
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.

1 participant