-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add phetioDesigned:true #294
Comments
@samreid can you refresh my memory on what @amanda-phet is this something that we want to do for Natural Selection? And do we want to do this in master, the 1.4 branch, both? @samreid what do you recommend? |
I updated the documentation in https://github.com/phetsims/phet-io/blob/master/doc/phet-io-instrumentation-technical-guide.md#post-publication-steps to clarify some of the questions you raised. Please review that, and refer to gravity-and-orbits-main.js as an example if necessary. Please let me know if there are more questions or problems. |
From #294 (comment):
|
I recommend changing this in master. |
@samreid Thanks for the updated "post-publication" documentation, that will help as a reminder to set it up. But @amanda-phet and I are still unclear on what |
For Natural Selection, I added In natural-selection/package.json: "version": "1.5.0-dev.0", In phet-io/api/natural-selection.json: "version": {
"major": 1,
"minor": 0
} I see nothing about having to manually update version in https://github.com/phetsims/phet-io/blob/master/doc/phet-io-instrumentation-technical-guide.md#post-publication-steps. |
@samreid I believe that the order is wrong for the steps that you added to https://github.com/phetsims/phet-io/blob/master/doc/phet-io-instrumentation-technical-guide.md#post-publication-steps. |
Looking at the API files in |
I went ahead and pushed my changes for the 2 commits above. I have no idea how to test this, or whether the version mismatch will be a problem, so I'll keep an eye on CT. @samreid please review, and:
|
My understanding is that this does not impact the 1.4 release, because it's only related to CT testing of master. If that's not correct, then someone please add a "block-sim-publication" label asap. |
The data type of
Looks good, thanks!
Marking a subtree as
This does not block publication. |
What is |
I thought this was clarified in phetsims/gravity-and-orbits#386 (comment). To recap, using master and natural selection as an example: // this is the version of the data stream, in case we change data stream semantics/structure
"dataStreamVersion": "1.0.0", // placeholder for the simulation version. Not checked in with the API files. But is exposed during
// sim runtime so the client can get the version that way.
"simVersion": null, // Top level version of the API file structure
"version": {
"major": 1,
"minor": 0
}
We resolved the mismatch by nulling out the |
@samreid said:
... and after publication, the general recommendation is to put @amanda-phet if this answers your question, feel free to close. If you need more explanation, please ask @samreid directly. |
I don't see any indication that @samreid reviewed this, so assigning to him. |
I reviewed the changes to the phet-io-instrumentation-guide and they look good. Anything else for this issue? |
@samreid asked:
That's all of the questions I had for you, thanks. @amanda-phet will contact you if she needs more clarification about |
Oh, I see that @amanda-phet gave a 👍🏻 . Closing, since there's nothing to be done or tested for the 1.4 release branch. |
Reopening. I've followed all of the steps in https://github.com/phetsims/phet-io/blob/master/doc/phet-io-instrumentation-technical-guide.md#post-publication-steps for setting up
The json output part of the console output is way too long to be examined manually. I've tried re-running |
Moving the phetioCompareAPI to a new issue, #301. Re-closing. |
For phetsims/qa#662
In phetsims/gravity-and-orbits#386 (comment), I asked:
@samreid replied:
The text was updated successfully, but these errors were encountered: