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

InstallabilityErrors protocol format changed #10318

Closed
patrickhulce opened this issue Feb 10, 2020 · 3 comments · Fixed by #10320
Closed

InstallabilityErrors protocol format changed #10318

patrickhulce opened this issue Feb 10, 2020 · 3 comments · Fixed by #10320
Assignees

Comments

@patrickhulce
Copy link
Collaborator

The artifact shape does not match the typedef

Actual (taken from latest-run/artifacts.json)

  "InstallabilityErrors": {
    "installabilityErrors": [
      {
        "errorId": "no-matching-service-worker",
        "errorArguments": []
      }
    ]
  },

Declared

        export interface GetInstallabilityErrorsResponse {
            errors: string[];
        }

Provide the steps to reproduce

  1. Run LH on https://www.optyx.app

What is the current behavior?

PWA category errors with ? score

What is the expected behavior?

PWA category displays that the site is not a PWA

Environment Information

  • Affected Channels: CLI
  • Lighthouse version: master
  • Chrome version: 82.0.4054.0

Related issues
It appears that the team's doc (#10168 (comment)) might not have been true afterall :/

@connorjclark
Copy link
Collaborator

connorjclark commented Feb 10, 2020

/cc @chruxin

The strings that are currently present in installable_logging.cc will be
moved to the DevTools frontend. They'll remain in place so we are backwards
compatible.

They should be on the protocol. I'll double check something silly isn't happening in Lighthouse. EDIT: nope ..

@connorjclark
Copy link
Collaborator

connorjclark commented Feb 10, 2020

This is why: https://chromium-review.googlesource.com/c/chromium/src/+/2026381

P0 b/c release blocking.

@connorjclark
Copy link
Collaborator

We'll need to support both now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants