fix: derive Workbench rail titles from Kafka index
Pipelines as Code CI / hwlab-nc01-v03-ci-poll- Success
Pipelines as Code CI / hwlab-nc01-v03-ci-poll- Success
This commit is contained in:
@@ -151,6 +151,8 @@ test("workbench active state uses Kafka SSE without HTTP session or terminal pro
|
||||
assert.doesNotMatch(source, /fetchSessionDetailPage|fetchSessionMessagesPage/u);
|
||||
assert.doesNotMatch(loadBlock, /fetchSession\(|fetchSessionMessages\(/u);
|
||||
assert.match(loadBlock, /workbenchSessionNavigationSeed\(id/u);
|
||||
assert.match(source, /firstUserMessagePreview: firstNonEmptyString\(source\?\.firstUserMessagePreview\)/u);
|
||||
assert.match(source, /lastUserMessageAt: firstNonEmptyString\(source\?\.lastUserMessageAt\)/u);
|
||||
assert.doesNotMatch(submitBlock, /applyTurnStatusSnapshot|completeTrace/u);
|
||||
assert.doesNotMatch(traceDetailApplyBlock, /rememberTurnStatus|projectTurnAuthorityToMessages|chatPending\.value\s*=\s*false/u);
|
||||
assert.doesNotMatch(source, /sealRestoredActiveTurnMessages|messageNeedsRestoredTurnSeal|refreshSessionStatusAuthority|readTerminalTraceDetailGaps/u);
|
||||
|
||||
@@ -1424,6 +1424,9 @@ function workbenchSessionNavigationSeed(sessionId: string, source: WorkbenchSess
|
||||
return {
|
||||
sessionId,
|
||||
threadId: firstNonEmptyString(source?.threadId),
|
||||
firstUserMessagePreview: firstNonEmptyString(source?.firstUserMessagePreview),
|
||||
lastUserMessageAt: firstNonEmptyString(source?.lastUserMessageAt),
|
||||
updatedAt: firstNonEmptyString(source?.lastUserMessageAt, source?.updatedAt),
|
||||
messages: [],
|
||||
messageCount: 0
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user