docs: add monorepo dependency analysis report#73
Draft
devin-ai-integration[bot] wants to merge 1 commit into
Draft
docs: add monorepo dependency analysis report#73devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Comprehensive analysis of package dependency graph covering: - Source-level import matrix for all 23 @calcom/* packages - 17 direct circular dependencies identified and severity-ranked - Fan-out/fan-in metrics for all packages - Undeclared phantom dependency audit - 8 prioritized refactoring recommendations
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a comprehensive dependency analysis report at
docs/dependency-analysis.mdthat maps the full inter-package dependency graph of the cal.com monorepo.The analysis was performed by scanning actual source-level imports (not just
package.jsondeclarations) across all 23@calcom/*packages andapps/web/.Key findings:
features <-> trpcwith 693 cross-imports,features <-> libwith 896)@calcom/featuresat 14@calcom/trpcand@calcom/featureseach have 10+ undeclared@calcom/*imports resolved only via workspace hoisting@calcom/web, inverting the dependency hierarchy@calcom/atomshas 0 declared@calcom/*deps but imports from 13 packages at source levelReport includes:
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
This is a documentation-only PR. Review the report at
docs/dependency-analysis.mdfor accuracy against the codebase.Checklist
Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/dd472c13d6af4c188176cb4e504930c0
Requested by: @bsmitches