Skip to content

Fork main to upstream main#168

Closed
thestumonkey wants to merge 73 commits into
SimpleOpenSoftware:mainfrom
Ushadow-io:main
Closed

Fork main to upstream main#168
thestumonkey wants to merge 73 commits into
SimpleOpenSoftware:mainfrom
Ushadow-io:main

Conversation

@thestumonkey

Copy link
Copy Markdown
Contributor

No description provided.

test framework streams faster than realtime and so we need this to wait
- Runs Robot Framework test suite on all branch pushes
- Triggers on changes to test files and backend source code
- Publishes test results and HTML reports as artifacts
- Includes test summary in workflow output
- Create fresh .env file instead of appending to template
- Eliminates duplicate key issues with ADMIN_EMAIL, OPENAI_API_KEY, etc.
- Add TRANSCRIPTION_PROVIDER configuration
- Improve readability with comments
- Create .env.test in tests/setup/ instead of tests/
- Matches what test_env.py expects (Path(__file__).parent / '.env.test')
- This was causing test setup failures in CI
- Use docker-compose-test.yml explicitly in all commands
- Add better health check loops with progress indicators
- Show container status and logs on failures
- Increase timeout attempts with clearer error messages
- Fix cleanup to use correct compose file
- Remove push trigger (PR-only workflow)
- Fix TEST_AUDIO_FILE path: remove duplicate 'tests/' prefix
- Add clear instructions for downloading HTML reports from artifacts
- Improve summary output formatting
- Update .gitignore to allow tests/test_assets/*.wav files
- Add DIY_Experts_Glass_Blowing test audio files (1min and 4min)
- Install websockets package for audio_stream_library.py
- Add OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL to test step
- Required for backend imports when loading test libraries
thestumonkey and others added 29 commits November 29, 2025 16:04
Updates robot-tests.yml to post test results as PR comments while
maintaining GitHub Pages deployment:
- Parse test results from output.xml
- Post formatted comment with pass/fail summary table
- Include direct links to GitHub Pages reports (report.html, log.html)
- Include links to downloadable artifacts
- Keep existing GitHub Pages deployment for live reports

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit simplifies the robot-tests GitHub workflow by following the
same pattern as integration-tests.yml - delegating all logic to a local
test runner script.

Changes:
- Add tests/run-robot-tests.sh (mirrors backends/advanced/run-test.sh)
  - Handles environment setup and service orchestration
  - Delegates test execution to Makefile
  - Supports CLEANUP_CONTAINERS and OUTPUTDIR configuration
  - Provides colored output and comprehensive error handling

- Simplify .github/workflows/robot-tests.yml
  - Reduce from 413 to ~150 lines
  - Remove inline Docker setup, service orchestration
  - Just calls ./run-robot-tests.sh with API keys

- Update tests/README.md
  - Add Quick Start section documenting new script
  - Explain configuration options
  - Show local development workflow

Benefits:
- Consistency with integration-tests workflow pattern
- Single source of truth for test logic (script, not YAML)
- Same script works locally and in CI
- Easier debugging with CLEANUP_CONTAINERS=false
- Simpler maintenance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ion creation

- Increase from 200 to 300 chunks to ensure enough speech detected in CI
- Helps ensure open_conversation job is reliably created before checking
The refactored version had several issues:
- Missing Docker build cache management (slower builds)
- Less visibility into worker validation
- Reduced debugging output
- Container cleanup issues

Restoring the original workflow that had all tests passing.
- Escape template literal syntax to prevent YAML parsing errors
- Indent template literal content properly
- Add .secrets to .gitignore
- Add ACT_GUIDE.md with instructions for local GitHub Actions testing

The YAML parser was interpreting ** at start of lines as YAML anchors.
Escaping the backticks and $ symbols fixes this.
This helps create test fixtures so we can omit fixture folder from test clears
# Conflicts:
#	.github/workflows/robot-tests.yml
- env: must come BEFORE run: in GitHub Actions YAML
- Previous commit had them in wrong order causing secrets to be empty
- Removed unnecessary verification and export steps
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