[go: up one dir, main page]

Skip to content

Improve Error Messages for Fork Failures Related to Instance Runners

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Improve fork error messages when instance runners cause failures.

Current State

Fork failures return generic "409 Conflict" error without letting users know instance runner config are the problem

Problem Statement

When forking fails due to instance runner configuration, the error message doesn't explain why or how to fix it

Proposed Solution

Add details to the error when this occurs:

  • Show: "Fork failed due to conflicting instance runners configuration. Try temporarily disabling runners on the source project."

Technical Details

  • API endpoint: POST /api/v4/projects/{id}/fork
  • Current error: HTTP 409 with no helpful details

Benefits

  1. Users can fix the issue themselves

Acceptance Criteria

  • Fork API detects runner configuration issues
  • Error message explains the problem and solution
Edited by 🤖 GitLab Bot 🤖