Skip to content

[TASK] Refactor remove dead TaskPollingState and tracker polling plumbing #719

Description

@edenreich

Summary

Broadened after #720: the liveness refactor removed the last readers of several more TaskPollingState fields, so the dead surface is now larger than the originally-filed CancelFunc.

Dead plumbing to remove:

Since #693 actual A2A cancellation flows through the supervisor (supervisor.Wind -> sj.cancel() cancels the poll goroutine's context), so none of this plumbing serves a purpose and it misleadingly implies mechanisms that do nothing.

Follow-up from #693 / #720.

Acceptance Criteria

  • The listed fields and the IsPolling tracker method are removed, including their write/call sites.
  • Mocks regenerated; tests updated.
  • A2A task cancellation still works end-to-end (supervisor wind stops polling).
  • task build, task test, task lint pass.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions