Skip to content

Conversation

@keyonghan
Copy link
Contributor

@keyonghan keyonghan commented Jul 12, 2022

Fixes: flutter/flutter#100793

The function queryRecentTasks is being used by both refresh_chromebot_status and batch_backfiller APIs. It has caused batch_backfiller not working appropriately. Strangely lucky that refresh_chromebot_status is working. I wonder if this is achieved by multiple retries. Hopefully this will also help status refresh faster.

Copy link
Contributor

@CaseyHillers CaseyHillers left a comment

Choose a reason for hiding this comment

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

flutter-lgtm

}) async* {
await for (Commit commit in queryRecentCommits(limit: commitLimit, branch: branch, slug: slug)) {
final Query<Task> query = db.query<Task>(ancestorKey: commit.key)
..limit(taskLimit)
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL we've had this for 3 years, and I don't think anything used it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

refresh_chromebot_status is using it as well.

@keyonghan keyonghan added the autosubmit Merge PR when tree becomes green via auto submit App. label Jul 12, 2022
@auto-submit auto-submit bot merged commit 2533f8a into flutter:main Jul 12, 2022
@keyonghan keyonghan deleted the backfilling_fix branch March 13, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[scheduler] Support batch scheduling

2 participants