MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / rightLaneSummary

Function rightLaneSummary

packages/server-e2e/src/report.ts:537–550  ·  view source on GitHub ↗
(event: StoredReportEvent)

Source from the content-addressed store, hash-verified

535}
536
537function rightLaneSummary(event: StoredReportEvent): { title: string } | undefined {
538 if (event.kind === 'http') {
539 return {
540 title: event.status === undefined ? 'HTTP response' : `HTTP ${event.status}`,
541 };
542 }
543 if (event.kind === 'ws' && event.direction === 'in') {
544 return { title: eventSummary(event) };
545 }
546 if (event.kind === 'test-result') {
547 return { title: eventSummary(event) };
548 }
549 return undefined;
550}
551
552function eventSummary(event: StoredReportEvent): string {
553 if (event.kind === 'http') {

Callers 1

eventLaneContentFunction · 0.85

Calls 1

eventSummaryFunction · 0.85

Tested by

no test coverage detected