Skip to content

Conversation

@kflemin
Copy link
Contributor

@kflemin kflemin commented Sep 22, 2023

PAT updates for new labs MeasureManager

now starting measure manager with the following command:

openstudio labs measure -s <port number>

Ready to merge when you want to use this new MeasureManager!
works with openstudio starting with this version.

@kbenne
Copy link
Contributor

kbenne commented Sep 22, 2023

@kflemin I made a change here that I think will get you an easy to parse message that indicates when the server is ready. The CI should produce a build that you can use to test soon.

@kflemin
Copy link
Contributor Author

kflemin commented Sep 28, 2023

@kbenne, that change fixed the issue! everything looks good now I think!
Note that I am keying off of "MeasureManager Ready" in the output, so let me know if that changes.
Screen Shot 2023-09-28 at 9 47 27 AM

@kbenne
Copy link
Contributor

kbenne commented Sep 28, 2023

Cool. We'll keep "MeasureManager Ready". I put that in there because I expected it would be easy for you to parse as it doesn't include any variable text like the hostname or the port. Thanks for working through this with me!

@kflemin kflemin requested a review from kbenne September 28, 2023 15:53
@kbenne
Copy link
Contributor

kbenne commented Sep 28, 2023

Thank you @jmarrec for doing all of the heavy lifting on the OpenStudio side.

@kflemin
Copy link
Contributor Author

kflemin commented Sep 28, 2023

thank you both!

vm.$log.info('Start Measure Manager Server: ', vm.cliPath, ' measure -s ', vm.port);
vm.cli = vm.spawn(vm.cliPath, ['measure', '-s', vm.port]);
vm.$log.info('Start Measure Manager Server: ', vm.cliPath, 'labs measure -s ', vm.port);
let the_cmd = vm.cliPath + ' labs';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on my phone so could be wrong but this looks unused.

@wenyikuang
Copy link
Collaborator

Hi all, since we are keeping use classic flag here, I don't think the pr is still valid?

@kflemin
Copy link
Contributor Author

kflemin commented Nov 28, 2023

maybe let's leave it here until we decided to update from classic in the future?

@jmarrec
Copy link
Collaborator

jmarrec commented Nov 29, 2023

Of course do what you please, but I'd still like to ask you consider switching as early as possible on dev in the release cycle so that you at least have some amount of people trying it out and reporting issues they may encounter, so we have plenty of time to calmy address whatever comes up (and not rush between release candidate and official)

Alternatively you can make a runtime setting (a bool toggle) to allow changing between classic and labs. That's what I've done on OpenStudio Application

@kbenne
Copy link
Contributor

kbenne commented Nov 29, 2023

@jmarrec Kat has been voluntering her time so far.

@DavidGoldwasser I second what Julien is saying. It would be helpful to have this switch happening now while we are early in the release cycle.

@kflemin
Copy link
Contributor Author

kflemin commented Nov 29, 2023

I totally agree @jmarrec!

@DavidGoldwasser
Copy link
Contributor

It would be great if we can merge to develop in January. The Ruby 3.2 upgrade will also have impacts to PAT through Analysis Gem.

@brianlball
Copy link
Collaborator

@wenyikuang this is probably needed for 3.8.0?

@DavidGoldwasser
Copy link
Contributor

@jmarrec we are working on first Rc for PAT for 3.9. I don't think we want to call labs anymore. Is this outdated. Do we still need parts of it. We want to use new C++ workflow not classic.

CC @kflemin @kbenne

@jmarrec jmarrec mentioned this pull request Nov 14, 2024
@jmarrec
Copy link
Collaborator

jmarrec commented Nov 14, 2024

@jmarrec jmarrec mentioned this pull request Apr 25, 2025
@brianlball
Copy link
Collaborator

closing this as #284 is merged

@brianlball brianlball closed this Apr 25, 2025
@brianlball brianlball deleted the new-mm branch April 25, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants