Skip to content

Drop dead eager requires from cider.nrepl#996

Merged
bbatsov merged 1 commit into
masterfrom
tidy-eager-requires
Jun 26, 2026
Merged

Drop dead eager requires from cider.nrepl#996
bbatsov merged 1 commit into
masterfrom
tidy-eager-requires

Conversation

@bbatsov

@bbatsov bbatsov commented Jun 26, 2026

Copy link
Copy Markdown
Member

orchard.info and orchard.namespace were required eagerly for an Orchard cache warmup that got removed a while back, so they're now dead. They're especially worth dropping here, since cider.nrepl exists to defer loading heavy middleware deps - eagerly pulling in Orchard at startup for nothing works against that. Also drops the unused misc alias.

`orchard.info` and `orchard.namespace` were pulled in eagerly for an
Orchard cache warmup that has since been removed, leaving them unused.
Eager requires here are particularly undesirable: this namespace exists
to *defer* loading heavy middleware dependencies until first use, so
loading Orchard at startup for nothing defeats the purpose. Also drop
the unused `misc` alias on `nrepl.misc`.
@bbatsov bbatsov merged commit 22e9242 into master Jun 26, 2026
16 checks passed
@bbatsov bbatsov deleted the tidy-eager-requires branch June 26, 2026 09:20
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