tags.go ×3

Frontier kind: Joint frontier

unlabeled · c_30b4074f6b95

1 test · 8352 LOC · 254 files · introduces 1 test · 21 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges21 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
1685 ranges8352 lines · 254 files · Browse complete extent
All tests (intent)
1 testBrowse 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.

1 test introduced at this concept.

Introduced code

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

2 files ranked by introduced lines: 21 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/timer_queue_active_task_executor.go 12 introduced LOC · 1 range

Open complete file

562
563 if task.Attempt < activityInfo.Attempt || activityInfo.StartedEventId != common.EmptyEventID {
564 > t.logger.Info("Duplicate activity retry timer task", timer_queue_active_task_executor.go
565 > tag.WorkflowID(mutableState.GetExecutionInfo().WorkflowId),
566 > tag.WorkflowRunID(mutableState.GetExecutionState().GetRunId()),
567 > tag.WorkflowNamespaceID(mutableState.GetExecutionInfo().NamespaceId),
568 > tag.WorkflowScheduledEventID(activityInfo.ScheduledEventId),
569 > tag.Attempt(activityInfo.Attempt),
570 > tag.FailoverVersion(activityInfo.Version),
571 > tag.TimerTaskStatus(activityInfo.TimerTaskStatus),
572 > tag.ScheduleAttempt(task.Attempt))
573 > release(nil) // release(nil) so mutable state is not unloaded from cache
574 > return consts.ErrActivityTaskNotFound
575 > }
576 err = CheckTaskVersion(t.shardContext, t.logger, mutableState.GetNamespaceEntry(), activityInfo.Version, task.Version, task)
577 if err != nil {
go.temporal.io/server/common/log/tag/tags.go 9 introduced LOC · 3 ranges

Open complete file

663
664 // TimerTaskStatus returns tag for TimerTaskStatus
665 > func TimerTaskStatus(timerTaskStatus int32) ZapTag { tags.go
666 > return NewInt32("timer-task-status", timerTaskStatus)
667 > }
668
669 func DLQMessageID(dlqMessageID int64) ZapTag {
703
704 // ScheduleAttempt returns tag for ScheduleAttempt
705 > func ScheduleAttempt(scheduleAttempt int32) ZapTag { tags.go
706 > return NewInt32("schedule-attempt", scheduleAttempt)
707 > }
708
709 // ElasticSearch
806
807 // FailoverVersion returns tag for Version
808 > func FailoverVersion(version int64) ZapTag { tags.go
809 > return NewInt64("xdc-failover-version", version)
810 > }
811
812 // CurrentVersion returns tag for CurrentVersion