webui: fix rendering for gh worfkow events
diff --git a/webui/src/web-components/aggregateAgentMessages.ts b/webui/src/web-components/aggregateAgentMessages.ts
index edd98d1..af69c07 100644
--- a/webui/src/web-components/aggregateAgentMessages.ts
+++ b/webui/src/web-components/aggregateAgentMessages.ts
@@ -18,12 +18,14 @@
       if (msg.type == "slug" || msg.type == "compact") {
         return false;
       }
-      // Filter out messages with empty/missing content unless they have tool_calls or commits
+      // Filter out messages with empty/missing content unless they have tool_calls, commits or
+      // external messsages.
       const hasContent = msg.content && msg.content.trim().length > 0;
       const hasToolCalls = msg.tool_calls && msg.tool_calls.length > 0;
       const hasCommits = msg.commits && msg.commits.length > 0;
+      const hasExtneral = msg.external_message ? true : false;
 
-      if (!hasContent && !hasToolCalls && !hasCommits) {
+      if (!hasContent && !hasToolCalls && !hasCommits && !hasExtneral) {
         return false;
       }
       if (seenIds.has(msg.idx)) {
diff --git a/webui/src/web-components/sketch-external-message.ts b/webui/src/web-components/sketch-external-message.ts
index 1df27d8..03f6dbd 100644
--- a/webui/src/web-components/sketch-external-message.ts
+++ b/webui/src/web-components/sketch-external-message.ts
@@ -46,7 +46,8 @@
           >${run.workflow.name} -
           ${run.workflow_run.conclusion || run.workflow_run.status}</span
         >
-        on ${run.workflow_run.head_branch} at ${run.workflow_run.head_commit}`;
+        on ${run.workflow_run.head_branch} at
+        ${run.workflow_run.head_sha.substring(0, 7)}`;
 
       this.detailsContent = html`
         <div class="flex items-center gap-2">