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

[Fleet] Don't retry if icon isn't in initial response #88403

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

jfsiii
Copy link
Contributor

@jfsiii jfsiii commented Jan 14, 2021

Summary

closes #66226

Remove tryApi param from PackageIcon, since response is from the Registry already

const [packages, setPackages] = useState<GetPackagesResponse['response']>([]);

Setting tryApi={true} is just flooding the Registry with requests for items we know aren't there.

Compare master (note XHR requests for bluecoat, etc)

master-packageicon.mp4

vs PR only SVG's requested

66226-PR.mp4

@jfsiii jfsiii self-assigned this Jan 14, 2021
@jfsiii jfsiii added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.11.0 v7.12.0 v8.0.0 labels Jan 14, 2021
@jfsiii jfsiii marked this pull request as ready for review January 14, 2021 22:15
@jfsiii jfsiii requested a review from a team January 14, 2021 22:15
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 970.0KB 969.9KB -12.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jfsiii jfsiii merged commit 11d4457 into elastic:master Jan 15, 2021
jfsiii pushed a commit to jfsiii/kibana that referenced this pull request Jan 15, 2021
jfsiii pushed a commit to jfsiii/kibana that referenced this pull request Jan 15, 2021
jfsiii pushed a commit that referenced this pull request Jan 19, 2021
jfsiii pushed a commit that referenced this pull request Jan 19, 2021
@jfsiii jfsiii deleted the 66226-do-not-retry-registry branch April 6, 2021 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Ingest] Configurations - Add Data Source calls epm/packages/yamlpipeline-1.0.0 on every view change
4 participants