feat(push): add final status block and structured JSON output#1199
Open
l2ysho wants to merge 2 commits into
Open
feat(push): add final status block and structured JSON output#1199l2ysho wants to merge 2 commits into
l2ysho wants to merge 2 commits into
Conversation
Rework the end of `apify push` so agents can distinguish source-upload success from final cloud-build success (#1136). - `apify push` prints a final result block (result, upload, build, IDs, URLs, exit code, and a failure reason log tail). - `apify push --json` returns a structured result object with `ok`, `operation`, `actor`, `build`, optional `error`, and `exitCode`. - Failed, timed-out, and aborted builds return non-zero exit codes; `ok` mirrors command success. Closes #1136 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Covers the status-mapping contract introduced by the new push status block / JSON output
FAILED, and the unknown-status fallthrough. Plus an assertion that errorMessage is present on failures and absent on success/running.
Closes #1136