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

"PhET-iO Latest Deploys" on website should respect ignoreForAutomatedMaintenanceReleases #149

Closed
zepumph opened this issue Sep 18, 2019 · 8 comments
Assignees

Comments

@zepumph
Copy link
Member

zepumph commented Sep 18, 2019

Found while looking at #148. It would be nice if that flag set new release branches to be automatically inactive. It looks like bumper/chains may be already automatically set to inactive.

grunt print-phet-io-links, and the maintenance release process use the phet-io metadata's active flag, and it would be good to make sure everything here is in sync. @mattpen let me know if I can help at all.

@mattpen
Copy link
Contributor

mattpen commented Sep 20, 2019

This was addressed in https://github.com/phetsims/website/commit/53a0022acc5bbea42807cba0b73caadb1c0b0ad4 and deployed. @zepumph when you were testing deploys of phet-io-test-sim in #148, did you notice if this was working or not?

I thought we had set all pre-version1.3 to inactive, but it seems to have reverted itself here: https://phet.colorado.edu/?wicket:bookmarkablePage=:edu.colorado.phet.website.admin.AdminPhetioDeploy

@zepumph
Copy link
Member Author

zepumph commented Sep 20, 2019

I checked the active status of phet-io-test-sim on https://phet.colorado.edu/?wicket:bookmarkablePage=:edu.colorado.phet.website.admin.AdminPhetioDeploy, and found that every minor version of phet-io-test-sim is active.

During out work wednesday, I toggled all of these to be inactive. From this I think that this issue is not done.

@zepumph zepumph removed their assignment Sep 20, 2019
@zepumph
Copy link
Member Author

zepumph commented Oct 2, 2019

I think that this issue should be raised in priority, all example-sim chains bumper and phet-io-test-sim branches have been switched to active. I would rather not manually toggle those, and it seems like whatever toggled them that way (perhaps a release?) means that it could happen programmatically again.

Discovered because phet-io-test-sim made it into a recent maintenance release and @KatieWoe was testing it without realizing that that was not needed.

@zepumph
Copy link
Member Author

zepumph commented Oct 2, 2019

In https://github.com/phetsims/website/commit/53a0022acc5bbea42807cba0b73caadb1c0b0ad4 the flag is ignoreForAutomatedMaintenanceReleases, but over in PERENNIAL/notifyServer, it looks like the flag is called active. I thought we decided to have it be called active to hide the implementation detail of that package flag name from the website service.

@zepumph
Copy link
Member Author

zepumph commented Oct 2, 2019

all example-sim chains bumper and phet-io-test-sim branches have been switched to active.

Sorry this is not true!!! Only phet-io-test-sim's were switched, I misread the table. Still though, this bug would come up, and toggle any of these version to become active whenever they are redeployed. I still think the priority stays, especially if it is an east fix. @mattpen let me know if I can help, and feel free to production deploy phet-io-test-sim till your heart's content to test.

@mattpen
Copy link
Contributor

mattpen commented Aug 7, 2020

@zepumph - is this actually high priority? Sorry I haven't been able to prioritize the work. Please reassign me if this is needed urgently.

@mattpen mattpen removed their assignment Aug 7, 2020
@zepumph
Copy link
Member Author

zepumph commented Aug 20, 2020

After much investigation and remembering what the heck I was talking about last year, I think that this is not a bug, but that there is a little cleanup that makes sense to do.

the "ignoreForAutomatedMaintenanceReleases" flag is being set as the active flag when posted to the website service:

'&active=' + !options.phetioOptions.ignoreForAutomatedMaintenanceReleases;

I got confused because I saw that PhetioDeploy.java has an unused string in it called IGNORE_FOR_AUTOMATED_MAINTENANCE_RELEASES. I didn't realize it was ACTIVE that the logic was related to.

I published a production version of phet-io-test-sim for 1.5 a day or two ago, and all phet-io-test-sim branches are still set to inactive through the admin panel on the website.

I think all that is left for this issue is to likely delete this unused line for cleanup: https://github.com/phetsims/website/blob/master/src/java/edu/colorado/phet/website/data/PhetioDeploy.java#L31

Thanks!

@mattpen
Copy link
Contributor

mattpen commented Sep 1, 2020

Ok, I cleaned up this file. Closing.

@mattpen mattpen closed this as completed Sep 1, 2020
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

No branches or pull requests

2 participants