workflow_handler.go ×5

Frontier kind: Code frontier

unlabeled · c_a8f0804f50e6

3 tests · 3832 LOC · 199 files · introduces 0 tests · 16 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges16 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
563 ranges3832 lines · 199 files · Browse complete extent
All tests (intent)
3 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.

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

go.temporal.io/server/service/frontend/workflow_handler.go 16 introduced LOC · 5 ranges

Open complete file

2473 // DeleteWorkflowExecution deletes a closed workflow execution asynchronously (workflow must be completed or terminated before).
2474 // This method is EXPERIMENTAL and may be changed or removed in a later release.
2475 > func (wh *WorkflowHandler) DeleteWorkflowExecution(ctx context.Context, request *workflowservice.DeleteWorkflowExecutionRequest) (_ *workflowservice.DeleteWorkflowExecutionResponse, retError error) { workflow_handler.go
2476 > defer log.CapturePanic(wh.logger, &retError)
2477 >
2478 > if request == nil {
2479 return nil, errRequestNotSet
2480 }
2481
2482 > if err := validateExecution(request.WorkflowExecution); err != nil { workflow_handler.go
2483 return nil, err
2484 }
2485
2486 > namespaceID, err := wh.namespaceRegistry.GetNamespaceID(namespace.Name(request.GetNamespace())) workflow_handler.go
2487 > if err != nil {
2488 return nil, err
2489 }
2490
2491 > _, err = wh.historyClient.DeleteWorkflowExecution(ctx, &historyservice.DeleteWorkflowExecutionRequest{ workflow_handler.go
2492 > NamespaceId: namespaceID.String(),
2493 > WorkflowExecution: request.GetWorkflowExecution(),
2494 > ClosedWorkflowOnly: false,
2495 > })
2496 > if err != nil {
2497 > return nil, err
2498 > }
2499
2500 > return &workflowservice.DeleteWorkflowExecutionResponse{}, nil workflow_handler.go
2501 }
2502