mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
fix(SKY-9616): fall back to workflow API response for workflowPermanentId on /runs/ route (#5870)
Some checks are pending
Auto Create GitHub Release on Version Change / check-version-change (push) Waiting to run
Auto Create GitHub Release on Version Change / create-release (push) Blocked by required conditions
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
Build Skyvern SDK and publish to PyPI / check-version-change (push) Waiting to run
Build Skyvern SDK and publish to PyPI / run-ci (push) Blocked by required conditions
Build Skyvern SDK and publish to PyPI / build-sdk (push) Blocked by required conditions
Some checks are pending
Auto Create GitHub Release on Version Change / check-version-change (push) Waiting to run
Auto Create GitHub Release on Version Change / create-release (push) Blocked by required conditions
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
Build Skyvern SDK and publish to PyPI / check-version-change (push) Waiting to run
Build Skyvern SDK and publish to PyPI / run-ci (push) Blocked by required conditions
Build Skyvern SDK and publish to PyPI / build-sdk (push) Blocked by required conditions
This commit is contained in:
parent
228b30cd94
commit
2ca1820973
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,8 @@ function WorkflowRun() {
|
|||
|
||||
const status = (error as AxiosError | undefined)?.response?.status;
|
||||
const workflow = workflowRun?.workflow;
|
||||
const workflowPermanentId = workflowPermanentIdParam;
|
||||
const workflowPermanentId =
|
||||
workflowPermanentIdParam ?? workflow?.workflow_permanent_id;
|
||||
const cacheKey = workflow?.cache_key ?? "";
|
||||
const isFinalized = workflowRun ? statusIsFinalized(workflowRun) : null;
|
||||
const isWorkflowDeleted = Boolean(workflow?.deleted_at);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue