Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update check_circular_package_dependencies.ts for workspaces #4653

Merged
merged 1 commit into from Apr 29, 2024

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Apr 29, 2024

_tools/check_circular_package_dependencies.ts was disabled in #4650

This PR re-enables it.

related #4544 #4600

@kt3k kt3k requested a review from iuioiua April 29, 2024 06:21
Copy link

codecov bot commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.35%. Comparing base (3155f00) to head (4815232).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4653      +/-   ##
==========================================
- Coverage   91.36%   91.35%   -0.01%     
==========================================
  Files         477      477              
  Lines       37334    37334              
  Branches     5325     5325              
==========================================
- Hits        34109    34107       -2     
- Misses       3164     3166       +2     
  Partials       61       61              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iuioiua
Copy link
Collaborator

iuioiua commented Apr 29, 2024

I tested this locally by creating a two-way dependency between @std/fs/copy and @std/path/basename and got Circular dependencies found: fs -> path -> fs, which doesn't provide sufficient troubleshooting detail. Can we improve this a little?

@iuioiua iuioiua changed the title chore: update check_circular_package_dependencies.ts chore: update check_circular_package_dependencies.ts Apr 29, 2024
@iuioiua iuioiua changed the title chore: update check_circular_package_dependencies.ts chore: update check_circular_package_dependencies.ts for workspaces Apr 29, 2024
@kt3k
Copy link
Member Author

kt3k commented Apr 29, 2024

What information would you suggest to add?

@iuioiua
Copy link
Collaborator

iuioiua commented Apr 29, 2024

Just a bit more specificity, such as the exact modules in question. E.g.

Circular dependencies found: fs/copy -> path/basename -> fs/copy

@kt3k
Copy link
Member Author

kt3k commented Apr 29, 2024

Sounds a good idea, but that requires fair amount of work. Sounds out of scope of this PR. Created a new issue #4656

@kt3k kt3k merged commit 1c1403a into denoland:main Apr 29, 2024
15 checks passed
@kt3k kt3k deleted the update-check-circular-deps branch April 29, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants