Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Sanic architecture

Changing sanic/helpers.py in Sanic reaches 118 modules. 24 files call it directly. Snapshot 5ffc7b3.

The first file to open in Sanic is sanic/helpers.py. A change there reaches 118 of 180 modules.

This lead file reaches 66% of the graph. The median published proof reaches 60%.

sanic/helpers.py118 · 24 fan-in
http/constants.py109 · 14 fan-in
sanic/exceptions.py107 · 36 fan-in
models/protocol_types.py107 · 8 fan-in
websockets/connection.py107 · 4 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Sanic · Score: 82/100 (Healthy architecture) · 180 modules · 534 edges · Python · 23 of 54 · Language score median 78.9

Cycles
44
Duplicate authorities
0
God modules
9
Layer violations
0
arc impact sanic/helpers.py

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Sanic
[![ArcSight architecture proof for Sanic](https://arcsight.ai/badge/proof/sanic/)](https://arcsight.ai/repositories/sanic/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Sanic · 5ffc7b3

RankFileFan-inBlastShare
1sanic/helpers.py

concentrates too many responsibilities, shared utility hub

2411866%
2sanic/http/constants.py

concentrates too many responsibilities, shared utility hub

1410961%
3sanic/exceptions.py

concentrates too many responsibilities

3610759%
4sanic/models/protocol_types.py810759%
5sanic/server/websockets/connection.py410759%
All ranked files
RankFileFan-inBlastShare
6sanic/models/asgi.py310759%
7sanic/log.py3710558%
8sanic/base/meta.py1110156%

Highest fan-in

sanic/__init__.pyfan-in 38

Circular dependencies

This snapshot records 44 dependency cycles.

Nearby proofs

Snapshot notes

In sanic-org sanic, a change that begins in sanic helpers.py keeps traveling until it reaches http constants.py, with sanic exceptions.py as the third file on that walk and the display-markdown.py group as the group around them, snapshot mark fdcbfaecef.

models protocol_types.py is worth opening beside sanic helpers.py because websockets connection.py still participates when models protocol_types.py moves, and models asgi.py stays in view for sanic-org sanic, snapshot mark fdcbfaecef.

Review sanic log.py only after http constants.py and base meta.py are both on the table, since the link from sanic __init__.py back to sanic exceptions.py belongs to sanic-org sanic under snapshot mark fdcbfaecef.

sanic helpers.py and http constants.py are later stops, and a reviewer who has already seen sanic exceptions.py should still look at models protocol_types.py before treating the display-markdown.py group as understood for sanic-org sanic, snapshot mark fdcbfaecef.

models protocol_types.py closes the file list after websockets connection.py and sanic helpers.py, which keeps the sanic-org sanic note tied to snapshot mark fdcbfaecef, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • display-markdown.py (12 modules)
  • ROOT_CLUSTER (132 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in sanic-org sanic: sanic helpers.py?
Start with sanic helpers.py, because the rest of the sanic-org sanic walk leaves from that file and http constants.py is the next file in the same review. Commit fdcbfaecef records it.
What else is on the sanic-org sanic walk besides sanic helpers.py and sanic exceptions.py?
sanic exceptions.py and models protocol_types.py stay on the walk with websockets connection.py, which are different files from sanic helpers.py inside the display-markdown.py group for sanic-org sanic. Commit fdcbfaecef records it.
How should a reviewer use models asgi.py in the sanic-org sanic snapshot?
Keep models asgi.py, sanic log.py, and base meta.py open together, then check sanic __init__.py before merging the sanic-org sanic change. Commit fdcbfaecef records it.
Where does the sanic-org sanic review stop after sanic helpers.py?
Stop after sanic helpers.py, http constants.py, and sanic exceptions.py have been compared with models protocol_types.py, leaving the display-markdown.py group until those sanic-org sanic files are clear. Commit fdcbfaecef records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/sanic/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo