Skip to content

test(automations): an ordinary chat's agent lists the automation tools, as #2385 made it - #2399

Merged
TheAnimatrix merged 1 commit into
masterfrom
fix-automation-test-chat-tools
Nov 30, 2026
Merged

TheAnimatrix merged 1 commit into
masterfrom
fix-automation-test-chat-tools

Conversation

@TheAnimatrix

Copy link
Copy Markdown
Collaborator

Problem

The nightly full test suite fails in tests/automationInbox.test.ts ("the draft tool in an ordinary chat"). The test still expects automation_list to stay the Automation manager's. #2385 made the automation tools reach an ordinary chat's agent on purpose, so the expectation is out of date. The app behaves as #2385 intends.

Change

  • tests/automationInbox.test.ts: automation_list is listed in a person's chat and still not in an automation's run thread. The title and comments now say exactly what is checked: no other chat saves over the draft with automation_draft_save.
  • tests/automationDrafts.test.ts ("the tool list"): the host now has an ordinary chat. The test checks that the chat lists automation_draft_save, automation_list, automation_update and automation_pause, and not automation_ask.

Tests only; no app code changes.

Verification

  • tests/automationInbox.test.ts and tests/automationDrafts.test.ts pass on macOS.
  • The automationInbox case failed on master before this change, as in the nightly.

@TheAnimatrix
TheAnimatrix merged commit fe958cd into master Nov 30, 2026
8 of 9 checks passed
@TheAnimatrix
TheAnimatrix deleted the fix-automation-test-chat-tools branch November 30, 2026 02:57
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