Fix Release compile: suggested tasks tunable is nonisolated (cx-lo9yf)

Merged
TE
21d ago
+1-1

Fixes the Release compile on feat-cmux-next. #20863 moved AgentPaneTunables.suggestedTasks into its own extension, which defaulted to the main actor. AgentPaneHost (in a Sendable closure) and AgentPaneTunables.all read it from off the main actor:

AgentPaneHost.swift:101: main actor-isolated static property 'suggestedTasks' can not be referenced from a Sendable closure
AgentPaneTunables.swift:130: ... can not be referenced from a nonisolated context

The extension is now nonisolated, like the struct it extends (the same pattern as other nonisolated extension files on base).

Testing

  • Red: Release compile on 8c047f3c (#20863's head) failed with the errors above.
  • Green: Release compile on this head, fleet step (result below once done).

Changelog

none

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the Release compile on feat-cmux-next by marking the suggestedTasks tunable extension as nonisolated. #20863 moved AgentPaneTunables.suggestedTasks into its own extension, which defaulted to the main actor and broke the build when AgentPaneHost and AgentPaneTunables.all read it from off the main actor. The extension now matches the nonisolated pattern of the struct it extends.