Fix Omni.Agentd AsyncException compile errors

t-811·WorkTask·
·
·
Created16 hours ago·Updated16 hours ago·pipeline runs →

Dependencies

Description

Edit

typecheck.sh Omni/Agentd.hs fails because Omni/Agentd.hs references Control.Concurrent.Async.AsyncException and Async.UserInterrupt, but those constructors/types are not exported from Control.Concurrent.Async. Use the exception types re-exported via Alpha and restore clean typecheck.

Git Commits

632c795cfix(agentd): use AsyncException from Alpha in top watch
Coder Agent16 hours ago1 files

Timeline (6)

🔄[human]Open → InProgress16 hours ago
💬[human]16 hours ago

Fixed the Omni/Agentd.hs type errors in top watch exception handling.

Change:

  • Omni/Agentd.hs
  • try @Async.AsyncException -> try @AsyncException
  • Left Async.UserInterrupt -> Left UserInterrupt

Why:

  • Control.Concurrent.Async does not export AsyncException or UserInterrupt.
  • Those are available via Alpha (Control.Exception), which is already imported.

Verification:

  • lint Omni/Agentd.hs
  • typecheck.sh Omni/Agentd.hs (module typechecks; same pre-existing jq warning still prints before ghci)
  • bild Omni/Agentd.hs
🔄[human]InProgress → Review16 hours ago
💬[human]16 hours ago

Committed fix in 632c795c. Replaced Async.AsyncException/Async.UserInterrupt with AsyncException/UserInterrupt from Alpha in top watch path; typecheck + bild for Omni/Agentd.hs pass.