Currently, when calling Analyze command, MCP server is recompiling whole app.
Consider what this will mean for following scenario:
- you have a clause in your AGENTS.md file "when changing any AL file run Analyze command to make sure you have not introduced new warnings, fix them if you did and repat until success" (I guess this is the basic reason why this MCP server has been created, correct?)
- single compilation of your app is 10-15 min
..
attached is what my CC suggested - not sure if it will work yet
i-think-this-will-mighty-adleman.md
here are timings after it implemented this new approach:
Initial run (cold) was still long - as expected - but consecutive calls were acceptable now.
No, not really... warm timings are only when there was no edits.
If file is being edited - this triggers full re-compile.
I must push my agent to do better ;)
Currently, when calling Analyze command, MCP server is recompiling whole app.
Consider what this will mean for following scenario:
..
attached is what my CC suggested - not sure if it will work yet
i-think-this-will-mighty-adleman.md
here are timings after it implemented this new approach:
Initial run (cold) was still long - as expected - but consecutive calls were acceptable now.
No, not really... warm timings are only when there was no edits.
If file is being edited - this triggers full re-compile.
I must push my agent to do better ;)