buffer.go ×1

Frontier kind: Joint frontier

unlabeled · c_615714b3b35a

8 tests · 12 LOC · 1 file · introduces 1 test · 3 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range3 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
4 ranges12 lines · 1 file · Browse complete extent
All tests (intent)
8 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.

Introduced files, introduced tests, and structurally relevant concept specializationWrite_failed_on_normal_task_queue · 0 introduced LOCWrite_failed_on_normal_t…api.go ×4 · 29 introduced LOCapi.go ×4update.go ×2 · 4 introduced LOCupdate.go ×2update.go ×1 · 3 introduced LOCupdate.go ×1update.go ×1 · 1 introduced LOCupdate.go ×1update.go ×2 · 2 introduced LOCupdate.go ×2fail_to_transition_to_stateCompleted_on_store_write_failure · 0 introduced LOCfail_to_transition_to_st…update.go ×2 · 6 introduced LOCupdate.go ×2update.go ×1 · 1 introduced LOCupdate.go ×1update.go ×1 · 1 introduced LOCupdate.go ×1TestBufferApplyAfterCancel · 0 introduced LOCTestBufferApplyAfterCanc…buffer.go ×2 · 6 introduced LOCbuffer.go ×2buffer.go ×1 · 3 introduced LOCbuffer.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/effect/buffer.go · 52 LOCeffect/buffer.gogo.temporal.io/server/common/testing/testvars/test_vars.go · 460 LOCtestvars/test_vars.gogo.temporal.io/server/service/history/api/respondworkflowtaskcompleted/api.go · 1173 LOCrespondworkflowtaskcompl…go.temporal.io/server/service/history/workflow/update/state.go · 59 LOCupdate/state.gogo.temporal.io/server/service/history/workflow/update/update.go · 851 LOCupdate/update.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestBufferApplyAfterCancel · introduced test · go.temporal.io/server/common/effect/TestBufferApplyAfterCancelTestBufferApplyAfterCanc…TestBufferRollbackOrder · introduced test · go.temporal.io/server/common/effect/TestBufferRollbackOrderTestBufferRollbackOrderWrite_failed_on_normal_task_queue · introduced test · go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Write_failed_on_normal_task_queueWrite_failed_on_normal_t…Write_failed_on_sticky_task_queue · introduced test · go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Write_failed_on_sticky_task_queueWrite_failed_on_sticky_t…fail_to_transition_to_stateCompleted_on_store_write_failure · introduced test · go.temporal.io/server/service/history/workflow/update/TestUpdateState/in_stateAccepted/fail_to_transition_to_stateCompleted_on_store_write_failurefail_to_transition_to_st…fail_to_transition_to_stateAdmitted_on_store_write_failure · introduced test · go.temporal.io/server/service/history/workflow/update/TestUpdateState/in_stateCreated/fail_to_transition_to_stateAdmitted_on_store_write_failurefail_to_transition_to_st…stateCompleted_on_store_write_failure · introduced test · go.temporal.io/server/service/history/workflow/update/TestUpdateState/in_stateSent/fail_to_transition_to_stateAccepted/stateCompleted_on_store_write_failurestateCompleted_on_store_…fail_to_transition_to_stateRejected_on_store_write_failure · introduced test · go.temporal.io/server/service/history/workflow/update/TestUpdateState/in_stateSent/fail_to_transition_to_stateRejected_on_store_write_failurefail_to_transition_to_st…Focused concept · buffer.go ×1 · 3 introduced LOCbuffer.go ×1

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.

1 test introduced at this concept.

Introduced code

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

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

go.temporal.io/server/common/effect/buffer.go 3 introduced LOC · 1 range

Open complete file

45 b.effects = nil
46 for i := len(b.cancels) - 1; i >= 0; i-- {
47 > b.cancels[i](ctx) buffer.go
48 > canceled = true
49 > }
50 b.cancels = nil
51 return canceled