Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Size uses string not bytes
- Changed
compiled.content.lengthtoBuffer.byteLength(compiled.content)to correctly calculate UTF-8 byte length instead of UTF-16 code units.
- Changed
Or push these changes by commenting:
@cursor push bd97cc78bf
Preview (bd97cc78bf)
diff --git a/src/index.js b/src/index.js
--- a/src/index.js
+++ b/src/index.js
@@ -69,7 +69,7 @@
const { run, ...rest } = profiling
const result = {
...rest,
- size: compiled.content.length,
+ size: Buffer.byteLength(compiled.content),
phases: {
...compiled.phases,
spawn: spawnMs - run,You can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit a609050. Configure here.
Coverage Report for CI Build 26157909164Warning No base build found for commit Coverage: 94.089%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
Coverage Report for CI Build 26158054391Warning No base build found for commit Coverage: 94.089%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |


Note
Low Risk
Low risk: mainly adjusts profiling metadata (
sizeand phase naming) and updates docs/types; runtime behavior of isolated execution is unchanged aside from added/reshaped profiling output and debug logging.Overview
Improves execution profiling output by adding a
profiling.sizefield (computed viaBuffer.byteLengthof the bundled content) and adjusting debug logging to emit the full profiling result with rounded phase timings.Updates public docs and typings to describe
nodePathsfor pre-resolved dependencies and to clarify profiling phase breakdown (notablyinstall/buildand bundledsize).Reviewed by Cursor Bugbot for commit d50affe. Bugbot is set up for automated code reviews on this repo. Configure here.