io.go ×1

Frontier kind: Code frontier

unlabeled · c_502ae2c0b9a5

43 tests · 246 LOC · 13 files · introduces 0 tests · 9 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range9 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
32 ranges246 lines · 13 files · Browse complete extent
All tests (intent)
43 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 specializationTestUpdateSchema · 0 introduced LOCTestUpdateSchemaTestUpdateSchema · 0 introduced LOCTestUpdateSchemaTestUpdateSchema · 0 introduced LOCTestUpdateSchemaupdate_task_tests.go ×1 · 6 introduced LOCupdate_task_tests.go ×1update_task_tests.go ×1 · 6 introduced LOCupdate_task_tests.go ×1TestSetupSchema · 0 introduced LOCTestSetupSchemaTestSetupSchema · 0 introduced LOCTestSetupSchemaTestSetupSchema · 0 introduced LOCTestSetupSchemahandler.go ×1 · 8 introduced LOChandler.go ×1setuptest.go ×1 · 11 introduced LOCsetuptest.go ×1updatetest.go ×3 · 74 introduced LOCupdatetest.go ×3TestParseCQLFile · 0 introduced LOCTestParseCQLFileTestParseCQLFile · 0 introduced LOCTestParseCQLFileTestParseCQLFile · 0 introduced LOCTestParseCQLFilecqlclient_tests.go ×1 · 3 introduced LOCcqlclient_tests.go ×1setuptest.go ×4 · 84 introduced LOCsetuptest.go ×4cqlclient_tests.go ×1 · 34 introduced LOCcqlclient_tests.go ×1conn_tests.go ×1 · 3 introduced LOCconn_tests.go ×1setuptest.go ×1 · 10 introduced LOCsetuptest.go ×1visibility_archiver.go ×1 · 1 introduced LOCvisibility_archiver.go ×…query_parser.go ×1 · 4 introduced LOCquery_parser.go ×1TestArchiveAndGet · 0 introduced LOCTestArchiveAndGetdbtest.go ×1 · 10 introduced LOCdbtest.go ×1io.go ×1 · 9 introduced LOCio.go ×1TestArchive_Success · 0 introduced LOCTestArchive_Successhistory_archiver.go ×4 · 8 introduced LOChistory_archiver.go ×4visibility_archiver.go ×4 · 7 introduced LOCvisibility_archiver.go ×…env->env+zone_combined, just_base.yaml_env_and_zone_defined, +3 · 0 introduced LOCenv->env+zone_combined, …base.yaml_and_development.yaml_and_development_zone.yaml · 0 introduced LOCbase.yaml_and_developmen…loader.go ×3 · 8 introduced LOCloader.go ×3just_base.yaml · 0 introduced LOCjust_base.yamlbase.yaml_and_development.yaml · 0 introduced LOCbase.yaml_and_developmen…TestReadSchemaDir · 0 introduced LOCTestReadSchemaDirloader.go ×1 · 3 introduced LOCloader.go ×1static_config_without_template · 0 introduced LOCstatic_config_without_te…loader.go ×1 · 2 introduced LOCloader.go ×1updatetask.go ×1 · 2 introduced LOCupdatetask.go ×1TestReadSchemaDirEFS · 0 introduced LOCTestReadSchemaDirEFSupdatetask.go ×1 · 1 introduced LOCupdatetask.go ×1loader.go ×8 · 16 introduced LOCloader.go ×8updatetask.go ×1 · 2 introduced LOCupdatetask.go ×1updatetask.go ×1 · 9 introduced LOCupdatetask.go ×1util.go ×1 · 2 introduced LOCutil.go ×1util.go ×2 · 3 introduced LOCutil.go ×2updatetask.go ×1 · 2 introduced LOCupdatetask.go ×1updatetask.go ×1 · 1 introduced LOCupdatetask.go ×1util.go ×1 · 2 introduced LOCutil.go ×1TestReadFile · 0 introduced LOCTestReadFileutil.go ×1 · 2 introduced LOCutil.go ×1updatetask.go ×3 · 6 introduced LOCupdatetask.go ×3TestMkdirAll · 0 introduced LOCTestMkdirAllutil.go ×1 · 2 introduced LOCutil.go ×1util.go ×1 · 3 introduced LOCutil.go ×1updatetask.go ×1 · 1 introduced LOCupdatetask.go ×1updatetask.go ×3 · 7 introduced LOCupdatetask.go ×3updatetask.go ×1 · 2 introduced LOCupdatetask.go ×1zap_logger.go ×1 · 2 introduced LOCzap_logger.go ×1tags.go ×9 · 37 introduced LOCtags.go ×9cluster.pb.go ×2 · 200 introduced LOCcluster.pb.go ×2TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/enums/v1/cluster.pb.go · 233 LOCv1/cluster.pb.gogo.temporal.io/server/api/enums/v1/common.pb.go · 288 LOCv1/common.pb.gogo.temporal.io/server/api/enums/v1/dlq.pb.go · 211 LOCv1/dlq.pb.gogo.temporal.io/server/api/enums/v1/fairness_state.pb.go · 147 LOCv1/fairness_state.pb.gogo.temporal.io/server/api/enums/v1/nexus.pb.go · 182 LOCv1/nexus.pb.gogo.temporal.io/server/api/enums/v1/predicate.pb.go · 194 LOCv1/predicate.pb.gogo.temporal.io/server/api/enums/v1/replication.pb.go · 338 LOCv1/replication.pb.gogo.temporal.io/server/api/enums/v1/task.pb.go · 480 LOCv1/task.pb.gogo.temporal.io/server/api/enums/v1/workflow.pb.go · 299 LOCv1/workflow.pb.gogo.temporal.io/server/api/enums/v1/workflow_task_type.pb.go · 148 LOCv1/workflow_task_type.pb…go.temporal.io/server/common/archiver/filestore/history_archiver.go · 304 LOCfilestore/history_archiv…go.temporal.io/server/common/archiver/filestore/query_parser.go · 224 LOCfilestore/query_parser.g…go.temporal.io/server/common/archiver/filestore/util.go · 224 LOCfilestore/util.gogo.temporal.io/server/common/archiver/filestore/visibility_archiver.go · 348 LOCfilestore/visibility_arc…go.temporal.io/server/common/config/loader.go · 331 LOCconfig/loader.gogo.temporal.io/server/common/log/tag/tags.go · 1039 LOCtag/tags.gogo.temporal.io/server/common/log/tag/zap_tag.go · 242 LOCtag/zap_tag.gogo.temporal.io/server/common/log/zap_logger.go · 318 LOClog/zap_logger.gogo.temporal.io/server/tests/testutils/io.go · 34 LOCtestutils/io.gogo.temporal.io/server/tools/cassandra/cqlclient_tests.go · 91 LOCcassandra/cqlclient_test…go.temporal.io/server/tools/cassandra/handler.go · 233 LOCcassandra/handler.gogo.temporal.io/server/tools/cassandra/setup_task_tests.go · 39 LOCcassandra/setup_task_tes…go.temporal.io/server/tools/cassandra/update_task_tests.go · 39 LOCcassandra/update_task_te…go.temporal.io/server/tools/common/schema/handler.go · 120 LOCschema/handler.gogo.temporal.io/server/tools/common/schema/test/dbtest.go · 154 LOCtest/dbtest.gogo.temporal.io/server/tools/common/schema/test/setuptest.go · 151 LOCtest/setuptest.gogo.temporal.io/server/tools/common/schema/test/updatetest.go · 161 LOCtest/updatetest.gogo.temporal.io/server/tools/common/schema/updatetask.go · 431 LOCschema/updatetask.gogo.temporal.io/server/tools/sql/clitest/conn_tests.go · 96 LOCclitest/conn_tests.gogo.temporal.io/server/tools/sql/clitest/setup_task_tests.go · 116 LOCclitest/setup_task_tests…go.temporal.io/server/tools/sql/clitest/update_task_tests.go · 92 LOCclitest/update_task_test…go.temporal.io/server/tools/sql/handler.go · 182 LOCsql/handler.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestArchiveAndGet · introduced test · go.temporal.io/server/common/archiver/filestore/TestHistoryArchiverSuite/TestArchiveAndGetTestArchiveAndGetTestArchive_Success · introduced test · go.temporal.io/server/common/archiver/filestore/TestHistoryArchiverSuite/TestArchive_SuccessTestArchive_SuccessTestDirectoryExists · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestDirectoryExistsTestDirectoryExistsTestFileExists · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestFileExistsTestFileExistsTestListFilesByPrefix · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestListFilesByPrefixTestListFilesByPrefixTestMkdirAll · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestMkdirAllTestMkdirAllTestReadFile · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestReadFileTestReadFileTestValidateDirPath · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestValidateDirPathTestValidateDirPathTestWriteFile · introduced test · go.temporal.io/server/common/archiver/filestore/TestUtilSuite/TestWriteFileTestWriteFileTestArchiveAndQuery · introduced test · go.temporal.io/server/common/archiver/filestore/TestVisibilityArchiverSuite/TestArchiveAndQueryTestArchiveAndQueryTestArchive_Success · introduced test · go.temporal.io/server/common/archiver/filestore/TestVisibilityArchiverSuite/TestArchive_SuccessTestArchive_SuccessTestQuery_EmptyQuery_Pagination · introduced test · go.temporal.io/server/common/archiver/filestore/TestVisibilityArchiverSuite/TestQuery_EmptyQuery_PaginationTestQuery_EmptyQuery_Pag…invalid_yaml_returns_error · introduced test · go.temporal.io/server/common/config/TestLoad/invalid_yaml_returns_errorinvalid_yaml_returns_err…static_config_without_template · introduced test · go.temporal.io/server/common/config/TestLoad/static_config_without_templatestatic_config_without_te…template_config_with_file_path_uses_system_env_vars · introduced test · go.temporal.io/server/common/config/TestLoad/template_config_with_file_path_uses_system_env_varstemplate_config_with_fil…base.yaml_and_development.yaml · introduced test · go.temporal.io/server/common/config/TestPathResolution/base.yaml_and_development.yamlbase.yaml_and_developmen…base.yaml_and_development.yaml_and_development_zone.yaml · introduced test · go.temporal.io/server/common/config/TestPathResolution/base.yaml_and_development.yaml_and_development_zone.yamlbase.yaml_and_developmen…base.yaml_and_development.yaml_and_development_zone.yaml#01 · introduced test · go.temporal.io/server/common/config/TestPathResolution/base.yaml_and_development.yaml_and_development_zone.yaml#01base.yaml_and_developmen…base.yaml_and_prod_east.yaml_env_and_zone_defined · introduced test · go.temporal.io/server/common/config/TestPathResolution/base.yaml_and_prod_east.yaml_env_and_zone_definedbase.yaml_and_prod_east.…env->env+zone_combined · introduced test · go.temporal.io/server/common/config/TestPathResolution/env->env+zone_combinedenv->env+zone_combinedjust_base.yaml · introduced test · go.temporal.io/server/common/config/TestPathResolution/just_base.yamljust_base.yamljust_base.yaml_env_and_zone_defined · introduced test · go.temporal.io/server/common/config/TestPathResolution/just_base.yaml_env_and_zone_definedjust_base.yaml_env_and_z…prod_east.yaml_env_and_zone_defined · introduced test · go.temporal.io/server/common/config/TestPathResolution/prod_east.yaml_env_and_zone_definedprod_east.yaml_env_and_z…TestNewLogger · introduced test · go.temporal.io/server/common/log/TestLogSuite/TestNewLoggerTestNewLoggerTestReadManifest · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestReadManifestTestReadManifestTestReadSchemaDir · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestReadSchemaDirTestReadSchemaDirTestReadSchemaDirEFS · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestReadSchemaDirEFSTestReadSchemaDirEFSTestReadSchemaDirWithEmptyDir_ReturnsError · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestReadSchemaDirWithEmptyDir_ReturnsErrorTestReadSchemaDirWithEmp…TestReadSchemaDirWithEndVersion_ReturnsErrorWhenNotFound · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestReadSchemaDirWithEndVersion_ReturnsErrorWhenNotFoundTestReadSchemaDirWithEnd…TestReadSchemaDirWithSameStartAndEnd_ReturnsEmptyList · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestReadSchemaDirWithSameStartAndEnd_ReturnsEmptyListTestReadSchemaDirWithSam…TestSortAndFilterVersionsWithEndLessThanStart_ReturnsError · introduced test · go.temporal.io/server/tools/common/schema/TestUpdateTaskTestSuite/TestSortAndFilterVersionsWithEndLessThanStart_ReturnsErrorTestSortAndFilterVersion…TestParseCQLFile · introduced test · go.temporal.io/server/tools/tests/TestCQLClientTestSuite/TestParseCQLFileTestParseCQLFileTestParseCQLFile · introduced test · go.temporal.io/server/tools/tests/TestMySQLConnTestSuite/TestParseCQLFileTestParseCQLFileTestSetupSchema · introduced test · go.temporal.io/server/tools/tests/TestMySQLSetupSchemaTestSuite/TestSetupSchemaTestSetupSchemaTestUpdateSchema · introduced test · go.temporal.io/server/tools/tests/TestMySQLUpdateSchemaTestSuite/TestUpdateSchemaTestUpdateSchemaTestParseCQLFile · introduced test · go.temporal.io/server/tools/tests/TestPostgres/TestPostgreSQLConnTestSuite/TestParseCQLFileTestParseCQLFileTestSetupSchema · introduced test · go.temporal.io/server/tools/tests/TestPostgres/TestPostgreSQLSetupSchemaTestSuite/TestSetupSchemaTestSetupSchemaTestUpdateSchema · introduced test · go.temporal.io/server/tools/tests/TestPostgres/TestPostgreSQLUpdateSchemaTestSuite/TestUpdateSchemaTestUpdateSchemaTestParseCQLFile · introduced test · go.temporal.io/server/tools/tests/TestPostgresPGX/TestPostgreSQLConnTestSuite/TestParseCQLFileTestParseCQLFileTestSetupSchema · introduced test · go.temporal.io/server/tools/tests/TestPostgresPGX/TestPostgreSQLSetupSchemaTestSuite/TestSetupSchemaTestSetupSchemaTestUpdateSchema · introduced test · go.temporal.io/server/tools/tests/TestPostgresPGX/TestPostgreSQLUpdateSchemaTestSuite/TestUpdateSchemaTestUpdateSchemaTestSetupSchema · introduced test · go.temporal.io/server/tools/tests/TestSetupCQLSchemaTestSuite/TestSetupSchemaTestSetupSchemaTestUpdateSchema · introduced test · go.temporal.io/server/tools/tests/TestUpdateCQLSchemaTestSuite/TestUpdateSchemaTestUpdateSchemaFocused concept · io.go ×1 · 9 introduced LOCio.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.

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: 9 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/tests/testutils/io.go 9 introduced LOC · 1 range

Open complete file

23 // MkdirTemp is a helper function which creates a temporary directory,
24 // and they are automatically removed after test is completed
25 > func MkdirTemp(t testing.TB, dir, pattern string) string { io.go
26 > t.Helper()
27 >
28 > tempDir, err := os.MkdirTemp(dir, pattern)
29 > require.NoError(t, err)
30 > require.NotNil(t, tempDir)
31 >
32 > t.Cleanup(func() { require.NoError(t, os.RemoveAll(tempDir)) })
33 > return tempDir
34 }