Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore: Deglobalize oneclickexporter instance#64066

Merged
eseliger merged 2 commits into
mainfrom
es/07-25-choredeglobalizeoneclickexporterinstance
Jul 31, 2024
Merged

chore: Deglobalize oneclickexporter instance#64066
eseliger merged 2 commits into
mainfrom
es/07-25-choredeglobalizeoneclickexporterinstance

Conversation

@eseliger

Copy link
Copy Markdown
Member

This PR removes the requirement that a global variable is initialized in the frontend main function. Instead, we create a data exporter where it's used.

Test plan: CI passes, code review.

eseliger commented Jul 25, 2024

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @eseliger and the rest of your teammates on Graphite Graphite

@github-actions github-actions Bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Jul 25, 2024
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 470d14e to d6f3d80 Compare July 25, 2024 03:41
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from cfa904d to 664f5ff Compare July 25, 2024 03:41
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from d6f3d80 to a9f0181 Compare July 28, 2024 14:45
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from 664f5ff to 1400487 Compare July 28, 2024 14:45
@eseliger eseliger marked this pull request as ready for review July 29, 2024 22:05
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 5c3e6ac to bb44d97 Compare July 29, 2024 23:36
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from a39e99a to 38cb8c7 Compare July 29, 2024 23:36
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from bb44d97 to 1bbd102 Compare July 30, 2024 00:48
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from 38cb8c7 to 629d722 Compare July 30, 2024 00:48
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 1bbd102 to 04b9992 Compare July 30, 2024 17:22
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from 629d722 to 60064c7 Compare July 30, 2024 17:22
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 04b9992 to da9e4f2 Compare July 30, 2024 23:32
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from 60064c7 to 0a236d8 Compare July 30, 2024 23:33
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from da9e4f2 to 6faccbb Compare July 31, 2024 01:09
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from 0a236d8 to ff67a28 Compare July 31, 2024 01:09
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 6faccbb to 309a5fe Compare July 31, 2024 01:23
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from ff67a28 to c2014dd Compare July 31, 2024 01:24
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 309a5fe to 3ab612b Compare July 31, 2024 01:40
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from c2014dd to 8bbc42e Compare July 31, 2024 01:41
eseliger added 2 commits July 31, 2024 04:24
Only frontend uses this package, so moving this package here to make clearer what service depends on this code.
This package also requires a call to the Init() func which only frontend does right now, so this also was a footgun where someone might start using this package outside of frontend, but then it's not correctly initialized.

Test plan: Just moved a package, go compiler doesn't complain.
This PR removes the requirement that a global variable is initialized in the frontend main function. Instead, we create a data exporter where it's used.

Test plan: CI passes, code review.
@eseliger eseliger force-pushed the es/07-25-choremoveinternalhighlighttocmdfrontend branch from 3ab612b to 306b6ad Compare July 31, 2024 02:24
@eseliger eseliger force-pushed the es/07-25-choredeglobalizeoneclickexporterinstance branch from 8bbc42e to f29430e Compare July 31, 2024 02:24
Base automatically changed from es/07-25-choremoveinternalhighlighttocmdfrontend to main July 31, 2024 02:34
@eseliger eseliger merged commit 32e58ad into main Jul 31, 2024
@eseliger eseliger deleted the es/07-25-choredeglobalizeoneclickexporterinstance branch July 31, 2024 02:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants