Skip to content

Fail CI when the library module graph gains a cycle - #3

Closed
ccombe wants to merge 1 commit into
untangle-circular-depsfrom
followup/madge-circular-ci
Closed

ccombe wants to merge 1 commit into
untangle-circular-depsfrom
followup/madge-circular-ci

Conversation

@ccombe

@ccombe ccombe commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

Test plan

  • yarn build-lib, then madge --circular on the built library: no circular dependency

This branch already reports no cycles. Run madge after the build so a new one fails the pull request.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ccombe
ccombe force-pushed the followup/madge-circular-ci branch from b3726d0 to 6ee2501 Compare November 20, 2026 21:14
@ccombe

ccombe commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Folded into jameskerr#400 instead (commit 5d6fc9d): the one-line madge step rides with the cycle fix, so it can never be merged ahead of it. Closing this stacked PR and deleting the branch.

@ccombe ccombe closed this Nov 20, 2026
@ccombe
ccombe deleted the followup/madge-circular-ci branch November 20, 2026 21:33
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.

1 participant