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

Bucket config + initialization for API JSON exporter. #7238

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Dec 1, 2023

  • The initialization and use only happens if the bucket is configured, which we are not yet doing for neither staging nor prod.
  • The ongoing export runs in one of the analyzer instances as a separate isolate.
  • The daily update of name completion and the weekly cleanup runs on the analyzer as part of the other periodic tasks.

@isoos isoos requested a review from jonasfj December 1, 2023 09:50

Future _apiExporterMain(EntryMessage message) async {
message.protocolSendPort.send(ReadyMessage());
await popularityStorage.start();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why popularityStorage.start();`?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need it yet, but we may if/when we export endpoints with popularity scores. It felt better to include it so we won't forget about it later.

@isoos isoos merged commit b8ff701 into dart-lang:master Dec 6, 2023
31 checks passed
@isoos isoos deleted the exporter branch December 6, 2023 06:52
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

Successfully merging this pull request may close these issues.

2 participants