-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
Objective
Complete the migration by updating the bundler and script registry systems to work with custom actions, and migrate all remaining JavaScript modules.
Context
This is the final integration step that connects all the pieces and completes the migration from embedded JavaScript to custom actions.
Approach
- Update
bundler.goto support custom action mode:- Skip inline bundling when using custom actions
- Validate action references instead
- Refactor
script_registry.go:- Map script names to action paths
- Support both inline (backward compat) and custom action modes
- Migrate remaining JavaScript modules (all 200+):
- Generate action.yml for all modules
- Bundle JavaScript for each action
- Update all references in compiler
- Update
make recompileto rebuild workflows with custom actions - Run full test suite and fix any issues
- Update documentation and examples
Files to Modify
pkg/workflow/bundler.gopkg/workflow/script_registry.gopkg/workflow/js.go(update all script references)- All test files that reference inline scripts
Makefile(update recompile target)AGENTS.md(update developer guide)
Acceptance Criteria
- All 200+ JavaScript modules are converted to custom actions
- Bundler works with custom action mode
- Script registry correctly maps names to action paths
- All tests pass (
make test) - All workflows recompile successfully (
make recompile) - Compiled workflow files are significantly smaller
- Documentation reflects new architecture
- Backward compatibility maintained for existing workflows
Related to [plan] Refactor compiler to use custom actions for JavaScript code #5947
AI generated by Plan Command for #5946