mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 08:33:36 +00:00
- Introduced a new pipeline service to manage custom workflow steps that execute after a feature is marked "In Progress". - Added API endpoints for configuring, saving, adding, updating, deleting, and reordering pipeline steps. - Enhanced the UI to support pipeline settings, including a dialog for managing steps and integration with the Kanban board. - Updated the application state management to handle pipeline configurations per project. - Implemented dynamic column generation in the Kanban board to display pipeline steps between "In Progress" and "Waiting Approval". - Added documentation for the new pipeline feature, including usage instructions and configuration details. This feature allows for a more structured workflow, enabling automated processes such as code reviews and testing after feature implementation.
22 lines
600 B
TypeScript
22 lines
600 B
TypeScript
/**
|
|
* Common utilities for pipeline routes
|
|
*
|
|
* Provides logger and error handling utilities shared across all pipeline endpoints.
|
|
*/
|
|
|
|
import { createLogger } from '@automaker/utils';
|
|
import { getErrorMessage as getErrorMessageShared, createLogError } from '../common.js';
|
|
|
|
/** Logger instance for pipeline-related operations */
|
|
export const logger = createLogger('Pipeline');
|
|
|
|
/**
|
|
* Extract user-friendly error message from error objects
|
|
*/
|
|
export { getErrorMessageShared as getErrorMessage };
|
|
|
|
/**
|
|
* Log error with automatic logger binding
|
|
*/
|
|
export const logError = createLogError(logger);
|