-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process recording doesn't complete #118
Comments
Note this can be reproduced on main branch of appmap-js: $ appmap-node built/cli.js index -w -d /some/project # works
$ appmap-node node built/cli.js index -w -d /some/project # breaks |
This fixes a bug (#118) which occured when there is a script with active setInterval call and appmap-node runs this script indirectly with a node process: npx appmap-node node interval.js.
I found that this bug occurs when there is a script with active Changing the way we forward signals (SIGINT resulting from Ctrl-C) to the child process seemed to solve the issue. I put a test that tests exactly this behavior and it fails without the fix. Beside this, I tested the fix with the case reported by @dividedmind above: |
This fixes a bug (#118) which occured when there is a script with active setInterval call and appmap-node runs this script indirectly with a node process: npx appmap-node node interval.js.
This fixes a bug (#118) which occured when there is a script with active setInterval call and appmap-node runs this script indirectly with a node process: npx appmap-node node interval.js.
This seems to be resolved now. |
This fixes a bug (#118) which occured when there is a script with active setInterval call and appmap-node runs this script indirectly with a node process: npx appmap-node node interval.js.
## [2.23.2](v2.23.1...v2.23.2) (2024-07-29) ### Bug Fixes * Handle parent Ctrl-C in child process with setInterval ([e7f82f4](e7f82f4)), closes [#118](#118)
🎉 This issue has been resolved in version 2.23.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Running AppMap index service:
When the process is terminated via Ctrl-C, the
part
file is left behind and not completed as an appmap.json.Branch you can use: getappmap/appmap-js#1603
You can trigger a request to the service like this:
Or
Use your imagination :-)
The text was updated successfully, but these errors were encountered: