edsger 0.6.4 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,12 +89,14 @@ export function getAvailableExecutionModes() {
89
89
  'only_technical_design',
90
90
  'only_code_implementation',
91
91
  'only_functional_testing',
92
+ 'only_pull_request',
92
93
  'only_code_refine',
93
94
  'only_code_review',
94
95
  'from_feature_analysis',
95
96
  'from_technical_design',
96
97
  'from_code_implementation',
97
98
  'from_functional_testing',
99
+ 'from_pull_request',
98
100
  'from_code_review',
99
101
  ];
100
102
  }
@@ -332,12 +332,23 @@ const runOnlyPullRequest = async (options, config) => {
332
332
  data: {},
333
333
  };
334
334
  // Create pull request only
335
- await handlePullRequestCreation({
335
+ const prCreated = await handlePullRequestCreation({
336
336
  featureId,
337
337
  results,
338
338
  testingResult: mockTestingResult,
339
339
  verbose,
340
340
  });
341
+ // Add PR creation result to results array
342
+ const prResult = {
343
+ featureId,
344
+ phase: 'pull-request',
345
+ status: prCreated ? 'success' : 'error',
346
+ message: prCreated
347
+ ? 'Pull request created successfully'
348
+ : 'Pull request creation failed',
349
+ data: {},
350
+ };
351
+ results.push(logPhaseResult(prResult, verbose));
341
352
  return logPipelineComplete(results, verbose);
342
353
  };
343
354
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edsger",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "edsger": "dist/index.js"