Skip to content
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

Troubles from 1.2 published for phet-io (but not phet brand) #118

Closed
jonathanolson opened this issue Mar 3, 2020 · 6 comments
Closed

Troubles from 1.2 published for phet-io (but not phet brand) #118

jonathanolson opened this issue Mar 3, 2020 · 6 comments
Assignees

Comments

@jonathanolson
Copy link
Contributor

IIRC, it was decided that we wouldn't be skipping deploying the phet brand on shared branches. The website is reporting 1.1 latest for phet brand, and 1.2 latest for phet-io brand, leading to complications in the maintenance process, where most notably the normal deployment procedures can't be used (since it would deploy 1.2 phet-brand).

Is this planning on being resolved (1.2 being published with the phet brand?)

@samreid
Copy link
Member

samreid commented Mar 5, 2020

My understanding from the conversation in #105 was that we should publish 1.2 for phet-io brand only, and not phet brand. @jonathanolson can you quantify this trouble this is causing? Would you recommend the phet brand version be RC'd and published before the next maintenance release? If we cannot afford to do that (say an imminent maintenance release must be done and we cannot get 1.2 phet brand published in that time frame), what would the workaround be, if any?

After responding, please assign to @ariel-phet to help prioritize and schedule.

@jonathanolson
Copy link
Contributor Author

I've patched the maintenance process above to handle this. It was treated as an "unreleased" branch since it was a greater version than the production phet-brand release. Now it's treated as "released, use the phet-io data".

If this is something that we generally should support, it shouldn't be difficult but I'll need to know. @ariel-phet thoughts?

@ariel-phet
Copy link

@jonathanolson unfortunately, I think we will need to support this in general, as with all the client requests this will likely not be a unique case.

@zepumph
Copy link
Member

zepumph commented Apr 20, 2023

I ran into this while working on phetsims/perennial#318, it looks like I still have an unreleased branch for balancing-act 1.2:

    {
      "repo": "balancing-act",
      "branch": "1.2",
      "brands": [
        "phet",
        "phet-io"
      ],
      "isReleased": false
    },

@zepumph zepumph self-assigned this Apr 20, 2023
@zepumph
Copy link
Member

zepumph commented Apr 20, 2023

For this particular case, I believe we can mark the 1.2 as ignoreForAutomatedMaintenanceReleases, but we should investigate why the above commit isn't working.

zepumph added a commit that referenced this issue Apr 28, 2023
@zepumph
Copy link
Member

zepumph commented Apr 28, 2023

@jonathanolson unfortunately, I think we will need to support this in general, as with all the client requests this will likely not be a unique case.

This is likely true, but for the most part we want to keep publications in sync. So likely we will be able to manually handle this case for research/etc using the ignoreForAutomatedMaintenanceRleases flag.

but we should investigate why the above commit isn't working.

Ahh, It is because Balancing Act 1.2 is no longer in the active list in the PhET-iO metadata. I feel like that is correct, and we shouldn't care about inactive items in the metadata. So I added the flag. Then I reran m.loadAllMaintenanceBranches(true) which forces a cache break and recalculates unreleased branches, and balancing-act 1.2 was no longer in the list. I will go ahead and close

@zepumph zepumph closed this as completed Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants