What problem does it solve?
The post-merge setup skill ensures that repository maintenance tasks configured to run after merges—such as dependency installation, database migrations, and rebuilds—are executed reliably and that running workflows are reconciled with the current configuration, reducing broken deployments and manual fixes.
Core Features & Use Cases
- Automated Setup Execution: Runs a configured post-merge script from the project root in a controlled environment with a configurable timeout.
- Workflow Reconciliation: Stops workflows removed from .replit and restarts or syncs currently running workflows to match the repository configuration.
- Diagnostics & Recovery: Returns detailed results including stdout/stderr log paths, runtime duration, and explicit setup or reconciliation errors to guide repairs.
- Use Case: After merging a feature branch that changes dependencies or database schema, run the post-merge setup to install packages, apply migrations, and ensure background workflows reflect the new configuration.
Quick Start
Run the post-merge setup with runPostMergeSetup() and inspect the opened log tails to diagnose and fix any script or reconciliation failures.