fix(SKY-11244): preserve run context on org switch by AronPerez · Pull Request #6753 · Skyvern-AI/skyvern · GitHub
Skip to content

fix(SKY-11244): preserve run context on org switch - #6753

Merged
AronPerez merged 2 commits into
mainfrom
repo-sync/feat/sky-11244
Jun 22, 2026
Merged

AronPerez merged 2 commits into
mainfrom
repo-sync/feat/sky-11244

Conversation

@AronPerez

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 22, 2026 23:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds org-aware React Query key scoping for run/workflow queries so cached run state isn’t overwritten when the active organization changes, and propagates React Query abort signals down to Axios requests. Also extends Tailwind with a custom sidebar timing function.

Changes:

  • Introduces ActiveOrgContext utilities to derive an org “scope” and append it to React Query keys.
  • Updates multiple run/workflow queries to use org-scoped query keys and to pass signal into Axios requests for cancellation.
  • Adds a Tailwind transitionTimingFunction.sidebar timing function.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
skyvern-frontend/tailwind.config.js Adds a named transition timing function for sidebar animations.
skyvern-frontend/src/store/ActiveOrgContext.ts New context + helpers for org-scoped React Query keys.
skyvern-frontend/src/store/ActiveOrgContext.test.ts Unit tests for org-scoped query key behavior.
skyvern-frontend/src/routes/workflows/workflowRun/RunParametersDialog.tsx Scopes the workflow run dialog query key by org and wires abort signal to Axios.
skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunWithWorkflowQuery.ts Scopes workflow-run-with-workflow query key by org and wires abort signal.
skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunTimelineQuery.ts Scopes timeline query keys/invalidations by org and wires abort signal.
skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts Scopes workflow runs list query key by org and wires abort signal.
skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunQuery.ts Scopes workflow run query key by org and wires abort signal.
skyvern-frontend/src/routes/history/RunHistory.tsx Wires abort signal into the inline parameters query’s Axios call.
skyvern-frontend/src/hooks/useRunsQuery.ts Scopes runs list query key by org and wires abort signal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to +14
@AronPerez
AronPerez merged commit 895617d into main Jun 22, 2026
13 of 14 checks passed
@AronPerez
AronPerez deleted the repo-sync/feat/sky-11244 branch June 22, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants