Skip to content

FEAT: Add AutomationWorkflow high-level API for Design Automation - #9

Merged
LeonardNoh merged 1 commit into
voidbox-ai:mainfrom
LeonardNoh:main
Oct 30, 2025
Merged

FEAT: Add AutomationWorkflow high-level API for Design Automation#9
LeonardNoh merged 1 commit into
voidbox-ai:mainfrom
LeonardNoh:main

Conversation

@LeonardNoh

Copy link
Copy Markdown
Contributor

Add comprehensive workflow abstraction for Design Automation WorkItem execution:

  • New AutomationWorkflow class for unified workflow management

    • OSS bucket/object preparation
    • File upload/download with automatic URL generation
    • WorkItem execution and status monitoring
    • Batch processing support
    • Optional input/output files support
  • Webhook callback support (onComplete/onProgress)

    • Add callback URL parameters to WorkItemSpec
    • Support async notifications via webhooks
    • No polling required when using webhooks
  • Comprehensive documentation

    • WORKFLOW.md: Complete user guide with examples
    • workflow_example.py: 8+ runnable examples
    • Webhook server implementation examples (Flask)
    • Security best practices
  • Flexible file handling

    • Optional input_files and output_files parameters
    • Support Activities without input/output files
    • Smart bucket validation (only when files are present)
  • API improvements

    • Selective download control
    • Custom timeout settings
    • Progress monitoring callbacks
    • Error handling and retry patterns

Add comprehensive workflow abstraction for Design Automation WorkItem execution:

- New AutomationWorkflow class for unified workflow management
  * OSS bucket/object preparation
  * File upload/download with automatic URL generation
  * WorkItem execution and status monitoring
  * Batch processing support
  * Optional input/output files support

- Webhook callback support (onComplete/onProgress)
  * Add callback URL parameters to WorkItemSpec
  * Support async notifications via webhooks
  * No polling required when using webhooks

- Comprehensive documentation
  * WORKFLOW.md: Complete user guide with examples
  * workflow_example.py: 8+ runnable examples
  * Webhook server implementation examples (Flask)
  * Security best practices

- Flexible file handling
  * Optional input_files and output_files parameters
  * Support Activities without input/output files
  * Smart bucket validation (only when files are present)

- API improvements
  * Selective download control
  * Custom timeout settings
  * Progress monitoring callbacks
  * Error handling and retry patterns

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

Co-Authored-By: Claude <noreply@anthropic.com>
@LeonardNoh
LeonardNoh merged commit 37159e1 into voidbox-ai:main Oct 30, 2025
12 checks passed
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