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

MR for windows aria-live support #16

Closed
zepumph opened this issue Feb 18, 2021 · 12 comments
Closed

MR for windows aria-live support #16

zepumph opened this issue Feb 18, 2021 · 12 comments
Assignees

Comments

@zepumph
Copy link
Member

zepumph commented Feb 18, 2021

This is from phetsims/scenery-phet#490, and will need to patch as many sims as needed with

8104d51

@jessegreenberg does that sound right to you?

ration and proportion 1.0 has already been patched.

@jessegreenberg
Copy link
Contributor

Yes, that sounds right to me. There is currently a MR in progress for phetsims/qa#608, when that is finished we can begin this one.

@pixelzoom
Copy link
Contributor

pixelzoom commented Feb 19, 2021

@zepumph @jessegreenberg can you fill me in on why this is relevant for scenery-phet? The commit that you referenced above concernes AriaHerald, and I see no occurrences of AriaHerald in scenery-phet code.

@jessegreenberg
Copy link
Contributor

I am guessing this was opened in scenery-phet because the parent issue phetsims/scenery-phet#490 is in scenery-phet. AriaHerald used to live in scenery-phet which is why phetsims/scenery-phet#490 was opened here in 2019. This MR involves code now in utterance-queue, I will move the issue there.

@jessegreenberg jessegreenberg transferred this issue from phetsims/scenery-phet Feb 19, 2021
@jessegreenberg
Copy link
Contributor

jessegreenberg commented Feb 22, 2021

I notified dev-public that I was going to begin this. I reviewed sims listed in interactive-description and on the website and identified that these published sims will need the patch. Published branches were determined manually, I couldn't find a way to check branch status on a subset of sims.

  • BASE (1.4)
  • Friction (1.5)
  • GFL (2.2)
  • GFL:B (1.0)
  • John Travoltage (1.5)
  • Molarity (1.5)
  • Molecules and Light (1.5)
  • Ohm's Law (1.4)
  • Resistance in a Wire (1.6)

Some of these were published some time ago, possibly before this repo existed so I expect we will need to do some manual patching.

@zepumph
Copy link
Member Author

zepumph commented Feb 22, 2021

Some of these were published some time ago, possibly before this repo existed so I expect we will need to do some manual patching.

The auto MR process should allow you to detect this, likely only one or two patches will be needed (one for sims with utterance-queue/ and the other for that code in scenery-phet?). Are we worried at all about adding this code to a copy of AriaHerald that was before we need this patch? I don't have a good understanding of where the original commit in phetsims/scenery-phet#490 come into play in terms of all of these sims. Is it possible that some, like maybe RIAW or BASE are older than this patch needs?

You are probably aware of this sentiment, but I wanted to ping you about just to be sure. I agree that manual testing will likely be important, but also, most of the important logic exists in a single function, AriaHerald.updateLiveElement, and so I would assume that it would be pretty straight forward to see cases where the "hidden" is not being set, and just timing and textContent is set.

Let me know if I can help, and good luck!

@jessegreenberg
Copy link
Contributor

Thanks, that is a good point, for sims that predate use of hidden it is possible that no patch is needed. While going through the process I found that was true for the following sims

  • BASE
  • Friction
  • john-travoltage
  • resistance-in-a-wire

I tested these with NVDA in Chrome and verified that there were no issues with alerts.

That leaves the following sims

  • GFL
  • GFL:B
  • molarity
  • molecules-and-light
  • ohms-law

as needing the patch, some of which will have a patch in utterance-queue and others in scenery-phet.

jessegreenberg added a commit to phetsims/gravity-force-lab that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/scenery-phet that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/gravity-force-lab-basics that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/molarity that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/molecules-and-light that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/scenery-phet that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/ohms-law that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/gravity-force-lab that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/gravity-force-lab-basics that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/molarity that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/molecules-and-light that referenced this issue Feb 22, 2021
jessegreenberg added a commit to phetsims/ohms-law that referenced this issue Feb 22, 2021
@jessegreenberg
Copy link
Contributor

Maintenance RCs deployed in phetsims/qa#614. I did a spot check on all with JAWS in Chrome and things seem fixed, but we will see how the spot check goes.

jessegreenberg added a commit to phetsims/gravity-force-lab that referenced this issue Feb 23, 2021
@jessegreenberg
Copy link
Contributor

QA spot check has cleared, proceeding with Maintenance.deployProduction().

@jessegreenberg
Copy link
Contributor

After kicking it off, I received this error

maintenance> Maintenance.deployProduction()
Running production deploy for gravity-force-lab 2.2
Updating branch README
Production README is already up-to-date
Running "lint-all" task
Running "report-media" task
Running "clean" task
Running "build" task
Building runnable repository (gravity-force-lab, brands: phet, phet-io)
Building brand: phet
>> require.js optimization for brand: phet complete (6054364 bytes)
>> Minification for phet complete
>> Production scripts: 2996812 bytes
Building brand: phet-io
>> require.js optimization for brand: phet-io complete (6205998 bytes)
>> Minification for phet-io complete
>> Production scripts: 3021169 bytes
Done.
>> Detected failure during deploy, reverting to master
Maintenance task failed:
Error: Failure with production deploy for gravity-force-lab to 2.2: StatusCodeError: 401 - "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>401 Unauthorized</title>\n</head><body>\n<h1>Unauthorized</h1>\n<p>This server could not verify that you\nare authorized to access the document\nrequested.  Either you supplied the wrong\ncredentials (e.g., bad password), or your\nbrowser doesn't understand how to supply\nthe credentials required.</p>\n</body></html>\n"
    at Function.deployProduction (C:\Users\Jesse\Documents\Development\phetsims-secondary\perennial\js\common\Maintenance.js:818:17)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Full Error details:
{}

@zepumph
Copy link
Member Author

zepumph commented Feb 24, 2021

I made it so that GFL 2.2 will be able to production deploy over in phetsims/perennial#209. Let me know if I should deploy it for any brands, or do anything more.

@jessegreenberg
Copy link
Contributor

OK Thanks!

I just tried again and got "It appears that the last deployment was for production" error so I think I need to revert a commit to package.json and try again.

jessegreenberg added a commit to phetsims/gravity-force-lab that referenced this issue Feb 24, 2021
jessegreenberg added a commit to phetsims/gravity-force-lab that referenced this issue Feb 24, 2021
jessegreenberg added a commit to phetsims/gravity-force-lab that referenced this issue Feb 24, 2021
jessegreenberg added a commit to phetsims/gravity-force-lab-basics that referenced this issue Feb 24, 2021
jessegreenberg added a commit to phetsims/molarity that referenced this issue Feb 24, 2021
jessegreenberg added a commit to phetsims/molecules-and-light that referenced this issue Feb 24, 2021
jessegreenberg added a commit to phetsims/ohms-law that referenced this issue Feb 24, 2021
@jessegreenberg
Copy link
Contributor

The production task finished. I went through each link reported by Maintenance.listLinks() and all are running. This has been completed, closing.

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

3 participants