[Bug] Docs still call file import cycles circular, and the cycle page intro overstates what a cycle blocks

Open
#6,267 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@avaldivieso-meraki is already working on this.

Since Nov 25, 2026.

  • #6268 by @avaldivieso-meraki — open
  • #6288 by @Papito084 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown, python
Domain
documentation

Research direction

Start with the wording in generation/structural_labels.py (cycle_overview and its localized copies), which templates/scc_page.j2 renders on every cycle page, then the cycle lines in docs/architecture/ARCHITECTURE.md and docs/architecture/graph-algorithms.md. Two open pull requests (#6268, #6288) already target this issue, so check them before starting. Done means the docs say static import cycle, the intro makes the load claim only for static-only cycles, and tests/unit/generation/test_structural_labels.py covers both a static-only and a mixed cycle.

Written by the indexing model from the issue text.

Description

bug good first issue

Summary

Docs still say "circular" for file import cycles, and the wiki cycle page intro claims more than static-only cycles support after #6225.

Mechanism

  • docs/architecture/ARCHITECTURE.md:307,575,582 and docs/architecture/graph-algorithms.md:378-443 use "circular dependency" for file-level cycles. #6245 settled on "static import cycle".
  • generation/structural_labels.py:152 (cycle_overview, also the localized copies): "Nothing in this group can be loaded, tested or extracted without the rest of it." #6225 now tiers cycles as static-only or not, and the intro makes the same claim for both.

Repro

grep -n "cycle_overview" -A3 packages/core/src/repowise/core/generation/structural_labels.py

Output on main (6ea4f0a3e): the sentence above, rendered by templates/scc_page.j2:13 for every cycle page.

Impact

Docs disagree with the product wording, and a cycle page can claim the files cannot be loaded apart when that is not established.

Done looks like

  • "static import cycle" replaces "circular" in the two OSS docs where it means a file import cycle.
  • The intro makes the load claim only where it holds, or drops it.
  • Hosted docs stay as they are.
  • Good first issue: wording and one test.

Tests

tests/unit/generation/test_structural_labels.py: intro text for a static-only cycle and for a mixed one.

Dominant language
Python
Stars
7.1k
Forks
756
Avg merge
21h 5m
Merged PRs (30d)
797

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from repowise-dev/repowise

All issues in repowise-dev/repowise

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.