Fix gitea_assess_conflict_fix_push HTTP 500 "issue does not exist" on valid conflict-fix push #519

Closed
opened 2026-07-08 03:22:17 -05:00 by jcwalker3 · 3 comments
Owner

Problem:
During PR #508 conflict resolution, the author pushed a valid fast-forward conflict-fix commit to prgs/feat/issue-503-reviewer-active-worktree. The push succeeded, but gitea_assess_conflict_fix_push returned HTTP 500 with error text "issue does not exist".

This makes the conflict-resolution workflow unreliable because the tool fails instead of producing a clear assessment of the pushed fix.

Observed context:

Required behavior:

  • gitea_assess_conflict_fix_push should correctly resolve the PR and linked issue for a valid conflict-fix branch.
  • It should not throw HTTP 500 for ordinary missing/ambiguous issue resolution.
  • If the linked issue cannot be found, it should fail closed with a structured, actionable error explaining which identifier failed.
  • It should distinguish tool failure from invalid author behavior.
  • Add regression tests using a PR branch with a valid conflict-fix push.

Acceptance criteria:

  1. Reproduce the failing lookup path with a test.
  2. Fix issue/PR resolution inside gitea_assess_conflict_fix_push.
  3. Return structured fail-closed output instead of HTTP 500 when issue resolution fails.
  4. Confirm valid conflict-fix pushes return an assessment result.
  5. Add/update documentation or handoff guidance for conflict-fix assessment failures.
Problem: During PR #508 conflict resolution, the author pushed a valid fast-forward conflict-fix commit to prgs/feat/issue-503-reviewer-active-worktree. The push succeeded, but gitea_assess_conflict_fix_push returned HTTP 500 with error text "issue does not exist". This makes the conflict-resolution workflow unreliable because the tool fails instead of producing a clear assessment of the pushed fix. Observed context: - PR: #508 - Branch: feat/issue-503-reviewer-active-worktree - Push: dad1dc8 → 3f3d6cb - Push was fast-forward; no force-push - MCP/Gitea mutations from the assessment tool: none - Error: HTTP 500, "issue does not exist" Required behavior: - gitea_assess_conflict_fix_push should correctly resolve the PR and linked issue for a valid conflict-fix branch. - It should not throw HTTP 500 for ordinary missing/ambiguous issue resolution. - If the linked issue cannot be found, it should fail closed with a structured, actionable error explaining which identifier failed. - It should distinguish tool failure from invalid author behavior. - Add regression tests using a PR branch with a valid conflict-fix push. Acceptance criteria: 1. Reproduce the failing lookup path with a test. 2. Fix issue/PR resolution inside gitea_assess_conflict_fix_push. 3. Return structured fail-closed output instead of HTTP 500 when issue resolution fails. 4. Confirm valid conflict-fix pushes return an assessment result. 5. Add/update documentation or handoff guidance for conflict-fix assessment failures.
jcwalker3 added the status:in-progress label 2026-07-08 03:31:21 -05:00
Author
Owner

Issue claim heartbeat

<!-- gitea-issue-claim-heartbeat:v1 --> **Issue claim heartbeat** - kind: claim - issue: #519 - branch: pending - phase: claimed - profile: prgs-author - pr: none - blocker: none - next_action: create worktree and begin implementation
Author
Owner

Issue claim heartbeat

<!-- gitea-issue-claim-heartbeat:v1 --> **Issue claim heartbeat** - kind: progress - issue: #519 - branch: feat/issue-519-conflict-fix-push-assessment - phase: create_pr - profile: prgs-author - pr: none - blocker: none - next_action: open pull request
Author
Owner

Issue claim heartbeat

<!-- gitea-issue-claim-heartbeat:v1 --> **Issue claim heartbeat** - kind: progress - issue: #519 - branch: feat/issue-519-conflict-fix-push-assessment - phase: pr_open - profile: prgs-author - pr: 520 - blocker: none - next_action: await reviewer
sysadmin removed the status:in-progress label 2026-07-08 21:11:31 -05:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#519