You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by zh...@apache.org on 2026/09/18 07:50:24 UTC

(maka) 03/05: style(runtime-host): format WorkHub failure return

This is an automated email from the ASF dual-hosted git repository.

me2seeks pushed a commit to branch fix/workhub-model-setup
in repository https://gitbox.apache.org/repos/asf/maka.git

commit 452305336e9f4d2203811dc00ac6070ef2e807c9
Author: me2seeks <me...@gmail.com>
AuthorDate: Fri Sep 18 15:18:04 2026 +0800

    style(runtime-host): format WorkHub failure return
    
    Generated-by: OpenAI Codex
---
 packages/runtime-host/src/server/workhub-coordination-coordinator.ts | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/packages/runtime-host/src/server/workhub-coordination-coordinator.ts b/packages/runtime-host/src/server/workhub-coordination-coordinator.ts
index 7ae67c183d..cf4c8271da 100644
--- a/packages/runtime-host/src/server/workhub-coordination-coordinator.ts
+++ b/packages/runtime-host/src/server/workhub-coordination-coordinator.ts
@@ -1099,10 +1099,7 @@ function createTargetFailure(error: unknown): OperationOutcome<'workhub.coordina
   if (error instanceof SessionOperationFailure && error.code === 'persistence_failed') {
     return failure('persistence_failed', error.message);
   }
-  return failure(
-    'operation_conflict',
-    WORKHUB_COORDINATION_DEFAULT_MODEL_REQUIRED_MESSAGE,
-  );
+  return failure('operation_conflict', WORKHUB_COORDINATION_DEFAULT_MODEL_REQUIRED_MESSAGE);
 }
 
 function validCoordinationIdentityHeader(header: SessionHeader): boolean {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org