sitespeedio / sitespeedio/sitespeed.io

Fails if CrUX data not found

Open
#4,306 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

awaiting response bug
Dominant language
JavaScript
Stars
5k
Forks
624
Avg merge
4h 8m
Merged PRs (30d)
2

Description

Have you read the documentation?
URL

https://captn-crop.com/products/top-hat-scare-crow

What are you trying to accomplish

When activated CrUX and if gets 404 result, the application fails. I could't produce a log using --verbose, it runs when crux disabled.

{
  "error": {
    "code": 404,
    "message": "chrome ux report data not found",
    "status": "NOT_FOUND"
  }
}
What browser did you use?

Chrome

How to reproduce
/usr/src/app/bin/sitespeed.js ...args --crux.key ****
Log output

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure using the sitespeed.js command shown in the issue with CrUX enabled and the supplied URL. Trace how the 404 response is handled, then verify that missing CrUX data no longer makes the application fail while CrUX remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.