REQ-DDB-WIKI-036: OpenTelemetry traces from any language’s test run are drawn over their test flows

← Requirements

What it requires

  1. wiki.tests.traces names OTLP JSON files (globs).
  2. Each trace is matched by its root span's name to the flow whose entry is that test; the flow's page carries a static overlay — each predicted step styled confirmed or dimmed as not executed, the calls the trace made that the flow did not predict listed as discovered, and the first failing span's exception (span, line, message) — so a published site shows it without a server.
  3. A trace whose root matches no flow is listed on the Flows page with its file and root, never dropped; an unreadable file is skipped with a warning.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site5

See it on the map

How it is met

implemented byresults (60 tests)failure_ofimported_traceload_tracesroot_nametrace_for60 passed60 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (60)

Linked directly

48 tests: 48 passed

48 passed
testresultlinked byimplementers exercisedcalls away
test_an_audience_can_redact_ownerspassedmeasured2 of 5: load_traces, trace_for—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured2 of 5: load_traces, trace_for—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured2 of 5: load_traces, trace_for—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured2 of 5: load_traces, trace_for—
test_a_failing_assertion_is_the_failure_pointpassedcatalogunknown—
test_a_real_run_gives_a_pinned_check_its_valuepassedcatalogunknown—
test_a_run_is_recorded_as_spans_between_repository_functionspassedcatalogunknown—
test_a_run_uses_the_repositorys_own_interpreterpassedcatalogunknown—
test_a_span_records_the_line_it_was_called_frompassedcatalogunknown—
test_a_steps_dialog_carries_its_recorded_valuespassedcatalogunknown—
test_a_test_flow_page_names_its_test_and_the_live_script_can_run_itpassedcatalogunknown—
test_installed_code_inside_the_repository_is_never_a_spanpassedcatalogunknown—
test_only_a_traced_test_gets_a_flow_of_its_ownpassedcatalogunknown—
test_passing_assertions_are_checkpointspassedcatalogunknown—
test_the_hub_runs_a_test_only_when_running_is_switched_onpassedcatalogunknown—
test_the_overlay_confirms_misses_and_discoverspassedcatalogunknown—
test_the_overlay_gives_each_confirmed_step_its_valuespassedcatalogunknown—
test_a_master_flow_takes_the_subtree_a_test_trace_reachespassedmeasured2 of 5: root_name, trace_for1
test_a_recorded_runs_discovered_calls_foldpassedmeasured2 of 5: failure_of, imported_trace1
test_the_repository_and_home_paths_are_redactedpassedmeasured1 of 5: load_traces1
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured5 of 53
test_a_build_writes_the_summary_beside_the_sitepassedmeasured2 of 5: load_traces, trace_for3
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured2 of 5: load_traces, trace_for3
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured2 of 5: load_traces, trace_for3
test_a_partner_site_carries_no_call_textpassedmeasured2 of 5: load_traces, trace_for3
test_a_partner_site_lists_no_assertionspassedmeasured2 of 5: load_traces, trace_for3
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured2 of 5: load_traces, trace_for3
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured2 of 5: load_traces, trace_for3
test_build_writes_a_self_contained_sitepassedmeasured2 of 5: load_traces, trace_for3
test_exports_obey_the_audiencepassedmeasured2 of 5: load_traces, trace_for3
test_needs_json_contributes_requirementspassedmeasured2 of 5: load_traces, trace_for3
test_versions_burn_down_toward_roadmap_milestonespassedmeasured2 of 5: load_traces, trace_for3
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured1 of 5: load_traces3
test_a_model_no_code_realises_gets_no_pagepassedmeasured1 of 5: load_traces3
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured1 of 5: load_traces3
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured1 of 5: load_traces3
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured1 of 5: load_traces3
test_versioned_builds_and_a_diff_between_thempassedmeasured1 of 5: load_traces3
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured2 of 5: load_traces, trace_for4
test_an_empty_report_is_a_measured_zeropassedmeasured2 of 5: load_traces, trace_for4
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured2 of 5: load_traces, trace_for4
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured2 of 5: load_traces, trace_for4
test_the_impact_page_links_the_map_change_lenspassedmeasured2 of 5: load_traces, trace_for4
test_without_a_report_the_change_is_not_measuredpassedmeasured2 of 5: load_traces, trace_for4
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured1 of 5: load_traces4
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured1 of 5: load_traces4
test_the_cli_creates_the_output_directorypassedcatalog5 of 55
test_the_cli_writes_otlp_json_and_the_overlaypassedcatalog5 of 55
Reached through calls

12 tests: 12 passed

12 passed
testresultlinked byimplementers exercisedcalls away
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred5 of 54
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred5 of 54
test_check_refresh_brings_the_index_current_firstpassedinferred5 of 55
test_the_cli_check_exits_nonzero_on_a_problempassedinferred5 of 55
test_the_cli_prints_the_flow_as_jsonpassedinferred5 of 55
test_the_cli_prints_the_tracepassedinferred5 of 55
test_the_cli_takes_an_out_of_tree_configpassedinferred5 of 55
test_the_cli_writes_markdown_without_sphinxpassedinferred5 of 55
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred5 of 55
test_the_flow_verb_prints_svgpassedinferred5 of 55
test_the_trace_cli_reads_imports_from_the_configpassedinferred5 of 55
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred5 of 55

Flows through it