base red: CloudApprovalsPrepareTests imports Foundation for UUID (#31904)

Merged
TE
4d ago
+1-0

Base-red-job: cmux-next swift test

The CmuxNext test target stopped building at a799d97aedbd (#31904). CloudApprovalsPrepareTests.swift uses UUID without importing Foundation. Tip Swift suite run https://github.com/manaflow-ai/cmux/actions/runs/41406584872 failed at "Build package and tests" with cannot find 'UUID' in scope at lines 18, 34 and 50. This hides every Swift test verdict on base.

Fix: add import Foundation. The change is one line in one test file.

Observed / Not run

  • The CmuxNext package compile check at this head passed.
  • I'm not sure that check builds the test target, so the PR's own "cmux-next swift test" build step is the real evidence.
  • prepush-gate: no new violations.

Changelog

none

Agent session: agent session

šŸ¤– 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 CmuxNext test target build so Swift test verdicts on base are no longer hidden. CloudApprovalsPrepareTests.swift used UUID without importing Foundation, causing cannot find 'UUID' in scope errors; the fix adds the missing import Foundation.