-
Notifications
You must be signed in to change notification settings - Fork 18
New C++ MeasureManager #279
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
Conversation
| vm.$log.info('Start Measure Manager Server: ', vm.cliPath, ' measure -s ', vm.port); | ||
| vm.cli = vm.spawn(vm.cliPath, ['classic', 'measure', '-s', vm.port]); | ||
| vm.$log.info('Start Measure Manager Server: ', vm.cliPath, 'measure -s ', vm.port); | ||
| vm.cli = vm.spawn(vm.cliPath, ['measure', '-s', vm.port], { cwd: '.', stdio : 'pipe' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether the { cwd: '.', stdio : 'pipe' } is needed, it was in #267
| // C++ CLI printing errors when requests fail on stderr, eg when post | ||
| // data is missing: | ||
| // [2024-11-14T13:32:17+01:00] "POST /compute_arguments HTTP/1.1" 400 | ||
| vm.$log.error(`MeasureManager: ${data}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what's wanted here
| vm.cli.on('exit', (code) => { | ||
| if (code !== 0) { | ||
| const msg = `Failed with code = ${code}`; | ||
| console.log(msg); | ||
| } | ||
| }); | ||
|
|
||
| }).catch((err) => { | ||
| vm.$log.error('Error locating an open port for measure manager.'); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kept from #267
1c71c0c to
9a151c7
Compare
|
@brianlball @DavidGoldwasser @kflemin I can't assign reviewers, but given the discussion about wanting to remove the |
|
@jmarrec @DavidGoldwasser how should we test this? |
|
I guess make an installer (or build locally) and test it on a couple of projects? How were y'all testing PAT so far? |
|
To only see what I changed after the rebase, the easiest is to go to this PR with comment: jmarrec#1 (review)
You can also just see the last commit: 5a8afe4#diff-fd4f239e9d2dc98194dc1b38ef8202d67ccdd7b75d94a3a32c32c8cd301d0b0cL62-L64