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

Implement docs job await #38

Merged
merged 4 commits into from
Nov 8, 2024
Merged

Implement docs job await #38

merged 4 commits into from
Nov 8, 2024

Conversation

artufimtcev
Copy link
Contributor

Changes

  • Fix docs publish reporting: publish job is now awaited

pagePersistentIds: [],
groupPersistentIds: [],
})

if (result.status === "Success") {
let jobStatus = publishJob.status
while (!isJobStatusDone(jobStatus)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe worth adding max retries / timeout in CLI too, so it is not stuck in CI.

Also not 100% sure how customers are using this command, i.e. maybe some of them actually need fire-and-forget. And if we need both behaviors - adding a flag might do it.

@artufimtcev artufimtcev merged commit e5de9bc into main Nov 8, 2024
1 check passed
@artufimtcev artufimtcev deleted the fix/docs-job-await branch November 8, 2024 16:30
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