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

indexer-cli: command to batch approve queued #463

Merged
merged 1 commit into from
Aug 22, 2022
Merged

Conversation

hopeyen
Copy link
Contributor

@hopeyen hopeyen commented Aug 15, 2022

Resolves #449

If there's more than one actions with queued status, indexers can use indexer-cli as such to approve all the queued actions

./bin/graph-indexer indexer actions approve queued

If there's no queued actions, expect error Failed to process action ids, check queue for available actions.

Alternatively we can add a new query type for approveActions to include parameter for ActionStatus?

@fordN fordN added indexer-cli enhancement New feature or request labels Aug 22, 2022
@hopeyen hopeyen requested a review from fordN August 22, 2022 16:31
Copy link
Contributor

@fordN fordN left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@hopeyen hopeyen merged commit 6ac45fc into main Aug 22, 2022
@hopeyen hopeyen deleted the hope/aqi-approve-queued branch August 22, 2022 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request indexer-cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AQI: Support command to approve all queued actions
2 participants