clew
  • Requirements
  • Flows
  • Tests
  • Change impact
  • Map
  • Architecture
  • Docs
  • SBOM

REQ-DDB-WIKI-028: Open issues from GitHub or Azure DevOps link back to requirements three ways¶

← Requirements

What it requires

  1. IssueProvider (GitHub REST v3, Azure DevOps 7.0, stdlib only, token from the environment, opener injectable) lists open issues — GitHub pages followed, pull requests excluded; Azure DevOps through a WIQL query and batched field reads — and creates an issue carrying the requirement id in its title, as a req:<ID> label or tag and as a clew-req: <ID> marker line.
  2. link_issues ties an issue to every requirement whose id appears whole in its title or body, whose req: label it carries, or whose marker line it holds.
  3. The build fetches only when wiki.issues.fetch is true: a requirement's modal and row list its open issues, the requirements page lists the issues linked to none, the map gains an issues lens; a failed fetch leaves the site built and says issues were not fetched and why.
tier
PASS
declared
implemented
priority
P1

Where it lives

  • Wiki: this site6

See it on the map

How it is met

implemented byresults (45 tests)createfetch_pagesissue_linkslink_issueslist_openprovider_for45 passed45 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

  • create clew/wiki/issues.py:177
  • fetch_pages clew/wiki/issues.py:433
  • issue_links clew/wiki/reqmodal.py:436
  • link_issues clew/wiki/issues.py:382
  • list_open clew/wiki/issues.py:165
  • provider_for clew/wiki/issues.py:359

Tests (45)

Linked directly

28 tests: 28 passed

28 passed
testresultlinked byimplementers exercisedcalls away
test_github_lists_open_issues_across_pages_without_pull_requestspassedmeasured2 of 6: fetch_pages, list_open—
test_ado_lists_open_work_items_through_wiqlpassedmeasured1 of 6: list_open—
test_create_and_label_carry_the_id_three_wayspassedmeasured1 of 6: create—
test_a_truncated_issue_fetch_says_sopassedmeasured1 of 6: fetch_pages1
test_issues_link_to_requirements_three_ways_and_never_by_prefixpassedmeasured1 of 6: link_issues1
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured1 of 6: issue_links4
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured1 of 6: issue_links4
test_a_model_no_code_realises_gets_no_pagepassedmeasured1 of 6: issue_links4
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured1 of 6: issue_links4
test_a_partner_site_carries_no_call_textpassedmeasured1 of 6: issue_links4
test_a_partner_site_lists_no_assertionspassedmeasured1 of 6: issue_links4
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured1 of 6: issue_links4
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured1 of 6: issue_links4
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured1 of 6: issue_links4
test_exports_obey_the_audiencepassedmeasured1 of 6: issue_links4
test_needs_json_contributes_requirementspassedmeasured1 of 6: issue_links4
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured1 of 6: issue_links4
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured1 of 6: issue_links4
test_versioned_builds_and_a_diff_between_thempassedmeasured1 of 6: issue_links4
test_versions_burn_down_toward_roadmap_milestonespassedmeasured1 of 6: issue_links4
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured2 of 6: issue_links, link_issues5
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured1 of 6: issue_links5
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured1 of 6: issue_links5
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured1 of 6: issue_links5
test_an_empty_report_is_a_measured_zeropassedmeasured1 of 6: issue_links5
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured1 of 6: issue_links5
test_the_impact_page_links_the_map_change_lenspassedmeasured1 of 6: issue_links5
test_without_a_report_the_change_is_not_measuredpassedmeasured1 of 6: issue_links5
Reached through calls

17 tests: 17 passed

17 passed
testresultlinked byimplementers exercisedcalls away
test_a_build_writes_the_summary_beside_the_sitepassedinferred3 of 6: issue_links, link_issues, provider_for4
test_an_audience_that_excludes_bodies_gets_nonepassedinferred3 of 6: issue_links, link_issues, provider_for4
test_build_writes_a_self_contained_sitepassedinferred3 of 6: issue_links, link_issues, provider_for4
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred3 of 6: issue_links, link_issues, provider_for5
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred3 of 6: issue_links, link_issues, provider_for5
test_check_refresh_brings_the_index_current_firstpassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_check_exits_nonzero_on_a_problempassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_creates_the_output_directorypassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_prints_the_flow_as_jsonpassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_prints_the_tracepassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_takes_an_out_of_tree_configpassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_writes_markdown_without_sphinxpassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_flow_verb_prints_svgpassedinferred3 of 6: issue_links, link_issues, provider_for6
test_the_trace_cli_reads_imports_from_the_configpassedinferred3 of 6: issue_links, link_issues, provider_for6
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred3 of 6: issue_links, link_issues, provider_for6

Flows through it

  • Build this wiki from the index

Raise an issue on GitHub

clew Generated by clew wiki from the repository's index