main is broken: dispatcher calls removed this.swapLabels (typecheck error + failing test) #258
Labels
No labels
Agent
Ignore
Agent
In Progress
Agent
Planned
Agent
Planning
Agent
Ready
Agent
Triage
Compat
Breaking
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lucas/omp-deck#258
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
mainat8d03452(merge of #249) does not typecheck and has one failing test:Cause
A semantic merge conflict between the two branches merged into
main:a0f3b07"fix(server): do not report a merged implementation as abandoned" addedclearProgressLabel(), which callsthis.swapLabels(api, { owner, repo, number }, { add: null, remove: progressLabel }).a690585"feat(server): mark planned issues with a configurable planned_label" moved that private helper out of the dispatcher intoapps/server/src/forgejo/issue-labels.tsasapplyLabelDelta, taking lists on both sides.The merge kept both, so the call site refers to a method that no longer exists. At runtime the
TypeErroris swallowed by the surroundingtry/catch(log.warn("could not remove the progress label …")), so a merged implementation silently keeps its progress label.Fix
Point
clearProgressLabelatapplyLabelDeltawith list arguments (remove: [progressLabel]), matching the abandon path.Notes
Found while implementing #254; unrelated to that change, so not fixed in its branch. Both failures reproduce on a pristine checkout of
main.omp-deck referenced this issue2026-11-11 11:03:53 +01:00