MCPcopy Create free account
hub / github.com/MigoXLab/coderio / performCommit

Function performCommit

src/nodes/validation/core/validation-loop.ts:154–161  ·  view source on GitHub ↗
(appPath: string, iteration: number | undefined, stage: string)

Source from the content-addressed store, hash-verified

152
153// Helper functions for reducing code duplication
154async function performCommit(appPath: string, iteration: number | undefined, stage: string): Promise<void> {
155 const commitResult = await commit({ appPath, iteration });
156 if (!commitResult.success) {
157 logger.printWarnLog(`Git commit (${stage}) failed: ${commitResult.message}`);
158 } else if (iteration === undefined) {
159 logger.printSuccessLog(`Initial project committed successfully, starting validation loop...`);
160 }
161}
162
163function saveIterationAndProcessedJson(
164 iterations: IterationLog[],

Callers 1

validationLoopFunction · 0.85

Calls 1

commitFunction · 0.90

Tested by

no test coverage detected