bisect.go ×3

Frontier kind: Code frontier

unlabeled · c_ca365bd575b6

6 tests · 17 LOC · 2 files · introduces 0 tests · 10 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges10 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
7 ranges17 lines · 2 files · Browse complete extent
All tests (intent)
6 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 specializationbisect.go ×1 · 2 introduced LOCbisect.go ×1bisect.go ×1 · 1 introduced LOCbisect.go ×1markdown-only_commit_is_deprioritized · 0 introduced LOCmarkdown-only_commit_is_…bisect.go ×2 · 3 introduced LOCbisect.go ×2bisect.go ×2 · 3 introduced LOCbisect.go ×2bisect.go ×2 · 3 introduced LOCbisect.go ×2bisect.go ×3 · 8 introduced LOCbisect.go ×3bisect.go ×1 · 2 introduced LOCbisect.go ×1commit.go ×2 · 7 introduced LOCcommit.go ×2TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/tools/common/github/commit.go · 62 LOCgithub/commit.gogo.temporal.io/server/tools/flakereport/bisect.go · 509 LOCflakereport/bisect.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…docs-only_commit_is_deprioritized · introduced test · go.temporal.io/server/tools/flakereport/TestCommitPriorWeight/docs-only_commit_is_deprioritizeddocs-only_commit_is_depr…markdown-only_commit_is_deprioritized · introduced test · go.temporal.io/server/tools/flakereport/TestCommitPriorWeight/markdown-only_commit_is_deprioritizedmarkdown-only_commit_is_…mixed_code_and_doc_files_is_neutral · introduced test · go.temporal.io/server/tools/flakereport/TestCommitPriorWeight/mixed_code_and_doc_files_is_neutralmixed_code_and_doc_files…_commit_is_neutral_weight · introduced test · go.temporal.io/server/tools/flakereport/TestCommitPriorWeight/service/frontend/_commit_is_neutral_weight_commit_is_neutral_weigh…_commit_is_neutral_weight · introduced test · go.temporal.io/server/tools/flakereport/TestCommitPriorWeight/service/history/_commit_is_neutral_weight_commit_is_neutral_weigh…test-only_commit_is_mildly_deprioritized · introduced test · go.temporal.io/server/tools/flakereport/TestCommitPriorWeight/test-only_commit_is_mildly_deprioritizedtest-only_commit_is_mild…Focused concept · bisect.go ×3 · 10 introduced LOCbisect.go ×3

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.

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

go.temporal.io/server/tools/flakereport/bisect.go 8 introduced LOC · 3 ranges

Open complete file

193
194 // Commits only touching non-code paths cannot affect test behavior
195 > if allFilesMatchPrefixes(files, []string{".github/", "docs/", "CODEOWNERS"}) || bisect.go
196 > allFilesMatchSuffixes(files, []string{".md", ".txt", ".yaml", ".yml"}) {
197 return 0.05, "only touches docs/.github/config — deprioritized"
198 }
207
208 // allFilesMatchPrefixes returns true if every file in the list starts with one of the given prefixes.
209 > func allFilesMatchPrefixes(files, prefixes []string) bool { bisect.go
210 > for _, f := range files {
211 > matched := false
212 > for _, p := range prefixes {
213 > if strings.HasPrefix(f, p) {
214 matched = true
215 break
216 }
217 }
218 > if !matched { bisect.go
219 return false
220 }
go.temporal.io/server/tools/common/github/commit.go 2 introduced LOC · 1 range

Open complete file

42 filenames := make([]string, 0, len(c.Files))
43 for _, file := range c.Files {
44 > filenames = append(filenames, file.Filename) commit.go
45 > }
46 return filenames
47 }