}
e.emitTaskDispatchLatency(task, partition, req.GetNamespaceId(), request.Namespace, pollMetadata)
return e.createPollWorkflowTaskQueueResponse(task, resp, opMetrics), nil
}
}
Frontier kind: Code frontier
unlabeled · c_7f221eb8d1f0
37 tests · 5423 LOC · 181 files · introduces 0 tests · 39 LOC · 2 files
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Every exact file and test below is linked only from the concept that introduces it.
go.temporal.io/server/common/circuitbreaker/TestTSCBWithDynamicSettingsgo.temporal.io/server/common/dynamicconfig/TestDeepCopy_OtherReferenceTypes_Nilgo.temporal.io/server/service/matching/configs/TestQuotasSuite/TestAPIPrioritiesOrderedgo.temporal.io/server/service/matching/configs/TestQuotasSuite/TestAPIToPriorityMappinggo.temporal.io/server/common/future/TestFutureSuite/TestGetWhenContextCanceledgo.temporal.io/server/common/future/TestFutureSuite/TestSetGetReady_Sequentialgo.temporal.io/server/common/future/TestFutureSuite/TestSetReadyGet_Parallelgo.temporal.io/server/common/future/TestFutureSuite/TestSetReadyGet_SequentialEvery collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
2 files ranked by introduced lines: 39 introduced LOC across 10 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
}
e.emitTaskDispatchLatency(task, partition, req.GetNamespaceId(), request.Namespace, pollMetadata)
return e.createPollWorkflowTaskQueueResponse(task, resp, opMetrics), nil
}
}
recordStartResp *historyservice.RecordWorkflowTaskStartedResponse,
metricsHandler metrics.Handler,
var serializedToken []byte
if task.isQuery() {
// for a query task
queryRequest := task.query.request
}
serializedToken, _ = e.tokenSerializer.SerializeQueryTaskToken(queryTaskToken)
taskToken := tasktoken.NewWorkflowTaskToken(
task.event.Data.GetNamespaceId(),
task.event.Data.GetWorkflowId(),
task.event.Data.GetRunId(),
recordStartResp.GetScheduledEventId(),
recordStartResp.GetStartedEventId(),
recordStartResp.GetStartedTime(),
recordStartResp.GetAttempt(),
recordStartResp.GetClock(),
recordStartResp.GetVersion(),
)
serializedToken, _ = e.tokenSerializer.Serialize(taskToken)
if task.responseC == nil {
ct := timestamp.TimeValue(task.event.Data.CreateTime)
metrics.AsyncMatchLatencyPerTaskQueue.With(metricsHandler).Record(time.Since(ct))
}
recordStartResp,
task.workflowExecution(),
serializedToken)
if task.query != nil {
response.Query = task.query.request.QueryRequest.Query
}
response.BacklogCountHint = task.backlogCountHint()
}
response.PollerScalingDecision = task.pollerScalingDecision
return response
}
// 2. RawHistory (old path) - auto-deserialized to *History by gRPC wire compatibility
// 3. History - use directly (raw history disabled)
// New path: raw bytes in field 21, pass through to frontend without processing.
// Search attributes will be processed by frontend.
// Old path: history service using deprecated RawHistory field (field 20).
// The gRPC client auto-deserializes repeated bytes into *History via wire compatibility.
// If neither RawHistoryBytes nor RawHistory is set, resp.History should already have the data.
}
}
func (c *physicalTaskQueueManagerImpl) backlogCountHint() int64 {
physical_task_queue_manager.go
n := c.backlogMgr.BacklogCountHint()
if m := c.getDrainBacklogMgr(); m != nil {
n += m.BacklogCountHint()
}
}