context.go ×2

Frontier kind: Code frontier

unlabeled · c_92c89a7c0c3f

11 tests · 8344 LOC · 252 files · introduces 0 tests · 22 LOC · 5 files

Introduces — evidence that enters the hierarchy at this concept

Code
7 ranges22 lines · 5 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1775 ranges8344 lines · 252 files · Browse complete extent
All tests (intent)
11 testsBrowse complete intent

Neighbourhood graph

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.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

5 files ranked by introduced lines: 22 introduced LOC across 7 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/workflow/mutable_state_impl.go 9 introduced LOC · 2 ranges

Open complete file

1530 ctx context.Context,
1531 updateID string,
1532 > ) (*updatepb.Outcome, error) { mutable_state_impl.go
1533 > event, err := ms.getUpdateOutcomeEvent(ctx, updateID)
1534 > if err != nil {
1535 > return nil, err
1536 > }
1537 return event.GetWorkflowExecutionUpdateCompletedEventAttributes().GetOutcome(), nil
1538 }
1541 ctx context.Context,
1542 updateID string,
1543 > ) (*historypb.HistoryEvent, error) { mutable_state_impl.go
1544 > if ms.executionInfo.UpdateInfos == nil {
1545 > return nil, serviceerror.NewNotFound("update not found")
1546 > }
1547 ui, ok := ms.executionInfo.UpdateInfos[updateID]
1548 if !ok {
go.temporal.io/server/service/history/workflow/context.go 5 introduced LOC · 2 ranges

Open complete file

1233 update.WithInFlightLimit(
1234 func() int {
1235 > return c.config.WorkflowExecutionMaxInFlightUpdates(nsName) context.go
1236 > },
1237 ),
1238 update.WithInFlightSizeLimit(
1239 > func() int { context.go
1240 > return c.config.WorkflowExecutionMaxInFlightUpdatePayloads(nsName)
1241 > },
1242 ),
1243 update.WithTotalLimit(
go.temporal.io/server/common/testing/testvars/any.go 4 introduced LOC · 1 range

Open complete file

58 }
59
60 > func (a Any) EventID() int64 { any.go
61 > // This produces EventID in XX0YY format, where XX is unique for every test and YY is a random number.
62 > return int64(randInt(a.testHash, 2, 1, 2))
63 > }
64
65 func (a Any) ApplicationFailure() *failurepb.Failure {
go.temporal.io/server/common/testing/testvars/test_vars.go 3 introduced LOC · 1 range

Open complete file

383 }
384
385 > func (tv *TestVars) HandlerName() string { test_vars.go
386 > return getOrCreate(tv, "handler_name", tv.uniqueString, tv.stringNSetter)
387 > }
388
389 func (tv *TestVars) ClientIdentity() string {
go.temporal.io/server/service/history/workflow/workflow_task_state_machine.go 1 introduced LOC · 1 range

Open complete file

691 }
692
693 > if len(request.GetCommands()) != 0 { workflow_task_state_machine.go
694 // If worker returned commands, they will be converted to events, which must follow by WorkflowTaskCompletedEvent.
695 metrics.SpeculativeWorkflowTaskCommits.With(m.metricsHandler).Record(1,