You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcpx internal/tasks: two reopen/retention tests fail on clean main (TestRetentionAcrossReopenRunsFromCompletion, TestTaskTouchMetadataPersistsAcrossReopen) #8685
Found by lane any-c during task 14963 (mcpx register sweep), 2026-11-11: two tests in pkgs/mcpx/internal/tasks fail on clean main (verified at 0566f38, the current main after PR #8681) as well as on an unrelated feature branch — pre-existing, not caused by the branch work.
Failing tests:
TestRetentionAcrossReopenRunsFromCompletion (tasks_test.go:570): "t1 was deleted at reopen: its retention was clocked from creation"
TestTaskTouchMetadataPersistsAcrossReopen (tasks_test.go:706): "touched task did not survive reopen" (task comes back zero-valued after reopen)
Command: go test ./internal/tasks/ -run 'TestRetentionAcrossReopenRunsFromCompletion|TestTaskTouchMetadataPersistsAcrossReopen' -count=1 -v in pkgs/mcpx on the laptop.
Both concern task-store persistence across reopen: retention clocking from creation vs completion, and touch metadata not surviving a reopen. The rest of internal/tasks and all of internal/mcpserver pass.
Filed per the file-the-issue rule from the discovering lane; no fix attempted in that shift (out of its packet's scope).
Triage verdict for issue #8685: ALREADY DONE — both named tests pass on current main; closing. Verified fresh this shift (2026-11-17).
Reproduction attempt at origin/main aee7f17 (clean laptop checkout of pkgs/mcpx): the issue's own command — go test ./internal/tasks/ -run 'TestRetentionAcrossReopenRunsFromCompletion|TestTaskTouchMetadataPersistsAcrossReopen' -count=1 — returns ok (5.688s). The full package also passes: go test ./internal/tasks/ -count=1 ok (8.982s).
Activity
developing-today commentedon Nov 11, 2026
CODE-2593
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: already_done
task: 18718 (queue repo-health-code-pilot, worker repo-worker-code, lane code-d)
Triage verdict for issue #8685: ALREADY DONE — both named tests pass on current main; closing. Verified fresh this shift (2026-11-17).
go test ./internal/tasks/ -run 'TestRetentionAcrossReopenRunsFromCompletion|TestTaskTouchMetadataPersistsAcrossReopen' -count=1— returns ok (5.688s). The full package also passes:go test ./internal/tasks/ -count=1ok (8.982s).