Skip to content

mcpx internal/tasks: two reopen/retention tests fail on clean main (TestRetentionAcrossReopenRunsFromCompletion, TestTaskTouchMetadataPersistsAcrossReopen) #8685

Closed

Description

@dezren39

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).

Activity

  1. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions