perf(inbound): trim dispatch and command startup imports#52374
perf(inbound): trim dispatch and command startup imports#52374vincentkoc merged 10 commits intomainfrom
Conversation
Greptile SummaryThis PR pursues startup-time and memory improvements by converting several heavy static imports into lazy dynamic imports behind Key observations:
Confidence Score: 4/5
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eb374c45e8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
f9aa835 to
185b5c3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 185b5c3d46
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b9fe709dcd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
) * perf(inbound): trim dispatch and command startup imports * fix(reply): restore command alias canonicalization * style(reply): format command context * fix(reply): restore runtime shim exports * test(reply): mock ACP route seam * fix(reply): repair dispatch type seams (cherry picked from commit 5369ea5)
) * perf(inbound): trim dispatch and command startup imports * fix(reply): restore command alias canonicalization * style(reply): format command context * fix(reply): restore runtime shim exports * test(reply): mock ACP route seam * fix(reply): repair dispatch type seams (cherry picked from commit 5369ea5)
Summary
dispatch-from-configreply-payloadsfrom the static dispatch pathcommands-coreMeasured impact
src/auto-reply/reply/dispatch-from-config.tssrc/auto-reply/reply/commands-core.tstsxwall time is noisy here; the RSS drop is the meaningful signalsrc/auto-reply/reply/get-reply-run.tsValidation
pnpm test -- src/auto-reply/reply/dispatch-from-config.test.tspnpm test -- src/auto-reply/reply/commands-core.test.tsNotes
checkgate for the commit because it currently trips on unrelated local formatting changes outside this batch.