Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Jun 4, 2025

Description

Update the Dockerfile to reflect the new monorepo structure, and use a docker-compose.yml to manage multiple images.


Important

Enhance Docker setup and task management for evals with improved isolation, real-time monitoring, and streamlined configuration.

  • Docker Setup:
    • Updated Dockerfile.runner and Dockerfile.web to install necessary packages and configure environments for evals.
    • Added docker-compose.yml to manage services like db, redis, web, and runner.
    • Introduced entrypoint scripts runner.sh and web.sh for container initialization.
  • Task Management:
    • Implemented processTask and runTask functions in processTask.ts and runTask.ts for task execution and management.
    • Utilized Redis for task event publishing and runner registration in redis.ts.
    • Added runEvals.ts to orchestrate task execution using p-queue for concurrency control.
  • Real-time Monitoring:
    • Integrated Server-Sent Events (SSE) using SSEStream in sse-stream.ts for real-time task updates.
    • Added use-event-source.ts and use-runners.ts hooks for client-side event handling and runner status tracking.
  • Configuration and Scripts:
    • Updated .dockerignore and package.json files to reflect new dependencies and scripts.
    • Added check-services.sh to verify required services are running before starting the application.
    • Modified setup.sh to automate environment setup and Docker service checks.
  • Testing and Documentation:
    • Added sse-stream.spec.ts for testing SSE stream functionality.
    • Updated README.md and added ARCHITECTURE.md to document system architecture and setup instructions.

This description was created by Ellipsis for 6d8dba3. You can customize this summary. It will automatically update as commits are pushed.

@cte cte requested a review from mrubens as a code owner June 4, 2025 07:21
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jun 4, 2025

try {
const logFile = fs.openSync(`/tmp/roo-code-evals-${run.id}.log`, "a")
// try {
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove large blocks of commented-out code if no longer needed for clarity.

@daniel-lxs daniel-lxs moved this from Triage to PR [Draft / In Progress] in Roo Code Roadmap Jun 4, 2025
@daniel-lxs daniel-lxs marked this pull request as draft June 4, 2025 19:52
@daniel-lxs daniel-lxs added Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. PR - Draft / In Progress and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jun 4, 2025
@cte cte marked this pull request as ready for review June 5, 2025 18:07
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jun 5, 2025
@cte cte requested a review from jr as a code owner June 5, 2025 19:15
@cte cte merged commit cb5b9c3 into main Jun 5, 2025
8 checks passed
@cte cte deleted the cte/docker-evals branch June 5, 2025 19:16
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jun 5, 2025
@github-project-automation github-project-automation bot moved this from PR [Draft / In Progress] to Done in Roo Code Roadmap Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request PR - Draft / In Progress size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants