Skip to content

Conversation

@jnarowski
Copy link
Owner

Implements Docker-based preview environments with full lifecycle management.

Summary

  • Added Container model and preview_config to database
  • Implemented complete container orchestration services (create/stop/query)
  • Integrated step.preview() into workflow SDK
  • Built REST API routes for container management
  • Created frontend UI for viewing/managing previews
  • Full test coverage (60+ tests passing)

Key Features

  • Docker Compose and Dockerfile support
  • Named port allocation (5000-5999 range)
  • Project-level preview configuration
  • Real-time WebSocket updates
  • Multiple concurrent previews per project
  • Cascade cleanup on project/workflow deletion

Testing

All phases completed with comprehensive test coverage:

  • Phase 1: Database schema and types (migration applied)
  • Phase 2: Core services with 60+ passing tests
  • Phase 3: Workflow SDK integration
  • Phase 4: API routes with validation
  • Phase 5: Frontend UI components

See spec: .agent/specs/done/2511271430-preview-containers/spec.md

@vercel
Copy link
Contributor

vercel bot commented Nov 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
agentcmd-website Ready Ready Preview Comment Nov 28, 2025 4:59pm

@jnarowski jnarowski merged commit 2faf9c3 into main Nov 28, 2025
1 of 3 checks passed
@jnarowski jnarowski deleted the feature/preview-containers branch December 1, 2025 15:57
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.

3 participants