Skip to content

fix: list Automations for the whole Space and give each Automation its own Session - #2090

Closed
Douglasymlai wants to merge 8 commits into
mainfrom
fix/automation-space-scope
Closed

Douglasymlai wants to merge 8 commits into
mainfrom
fix/automation-space-scope

Conversation

@Douglasymlai

@Douglasymlai Douglasymlai commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request

Related Issue

N/A — maintainer-directed repair; no linked issue required for this PR.

Description

The Automation list followed the selected Session and new Automations reused that Session’s queue. List Automations for the whole Space, page and filter older-server responses, and create a dedicated Session for each new Automation. Existing Automations retain their Session. Pending executions show the queue explanation. The self-hosted API supports additive Space filtering with owned legacy associations.

Current main is merged. The Automation draft dialog keeps its review/focus behavior and uses the source Space when creating the dedicated Session.

Testing Evidence (REQUIRED)

86 focused frontend tests and 1 self-hosted API test passed, including source-Space creation, pagination, isolation, ownership, Session switches without reloading, late Space responses and legacy records. Type-check, focused ESLint/Prettier and git diff --check passed. Existing design primitives/tokens retained. No full scheduled task or packaged-app visual matrix was run. The matching production server change must be deployed before this is released.

Automated checks only; manual app testing is pending.

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

@Douglasymlai Douglasymlai self-assigned this Oct 22, 2026
@Douglasymlai
Douglasymlai marked this pull request as ready for review October 22, 2026 21:48
@Douglasymlai Douglasymlai changed the title fix: list Automations for the whole Space and give each run its own Session fix: list Automations for the whole Space and give each Automation its own Session Oct 27, 2026
@Douglasymlai

Copy link
Copy Markdown
Contributor Author

Closing in favour of #2121, which combines this change with the related Automation fix so both can be tested and merged together.

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.

1 participant