From e376906874caf48e47e89a66c65ba9383145af5e Mon Sep 17 00:00:00 2001 From: Cascade Bot Date: Sat, 14 Mar 2026 06:50:27 +0000 Subject: [PATCH] fix(runLink): remove horizontal rule from run link footer --- src/utils/runLink.ts | 4 ++-- tests/unit/utils/runLink.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/runLink.ts b/src/utils/runLink.ts index 8e36fd34..83a898cf 100644 --- a/src/utils/runLink.ts +++ b/src/utils/runLink.ts @@ -65,7 +65,7 @@ export function buildRunLink({ const url = `${dashboardUrl.replace(/\/$/, '')}/runs/${runId}`; const parts = [engineLabel, modelShort].filter(Boolean).join(' · '); - return `\n\n---\n🕵️ ${parts} · [run details](${url})`; + return `\n\n🕵️ ${parts} · [run details](${url})`; } /** @@ -95,7 +95,7 @@ export function buildWorkItemRunsLink({ const modelShort = model ? shortenModelName(model) : ''; const parts = [engineLabel, modelShort].filter(Boolean).join(' · '); const label = parts ? `${parts} · [run details](${url})` : `[run details](${url})`; - return `\n\n---\n🕵️ ${label}`; + return `\n\n🕵️ ${label}`; } /** diff --git a/tests/unit/utils/runLink.test.ts b/tests/unit/utils/runLink.test.ts index 2b080d3f..d49ffa05 100644 --- a/tests/unit/utils/runLink.test.ts +++ b/tests/unit/utils/runLink.test.ts @@ -108,7 +108,7 @@ describe('runLink utility', () => { expect(result).toBe(''); }); - it('includes separator and newlines', () => { + it('includes spacing newlines', () => { const result = buildRunLink({ dashboardUrl: 'https://dashboard.example.com', runId: 'run-123', @@ -116,7 +116,7 @@ describe('runLink utility', () => { model: 'claude-haiku-4.5', }); - expect(result).toMatch(/^\n\n---\n/); + expect(result).toMatch(/^\n\n🕵️/); }); });