Fix failing TestDispatchWorkflowFn_LegacyFallbackOn204 on main #17

Open
opened 2026-09-03 13:54:52 +00:00 by Phil · 0 comments
Owner

Symptom

go test ./operation/actions/ fails on pristine main (b98a5e8, and still after #16 / 20e5aab):

--- FAIL: TestDispatchWorkflowFn_LegacyFallbackOn204 (0.00s)
FAIL	codeberg.org/goern/forgejo-mcp/v2/operation/actions	7.009s

Observed while running the full suite for PR #16 (attachment file_path), which does not touch operation/actions. The failure is therefore pre-existing, not introduced by #16.

Acceptance criteria

  • Root cause identified (test expectation vs. dispatch fallback behaviour after fix(dispatch): tolerate unreadable run-info d1487eb — likely candidate, unverified).
  • go test ./... green on main (run with golang:1.25 — there is no go on the workstation PATH; the Docker image is what built the currently installed binary).

🤖 Generated with Claude Code

## Symptom `go test ./operation/actions/` fails on pristine `main` (b98a5e8, and still after #16 / 20e5aab): ``` --- FAIL: TestDispatchWorkflowFn_LegacyFallbackOn204 (0.00s) FAIL codeberg.org/goern/forgejo-mcp/v2/operation/actions 7.009s ``` Observed while running the full suite for PR #16 (attachment `file_path`), which does not touch `operation/actions`. The failure is therefore pre-existing, not introduced by #16. ## Acceptance criteria - Root cause identified (test expectation vs. dispatch fallback behaviour after `fix(dispatch): tolerate unreadable run-info` d1487eb — likely candidate, unverified). - `go test ./...` green on `main` (run with `golang:1.25` — there is no `go` on the workstation PATH; the Docker image is what built the currently installed binary). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Phil/forgejo-mcp#17
No description provided.