Skip to content

Fresh install cannot start a thread in Full Access or Supervised mode #883

@christiannwamba

Description

@christiannwamba

On a fresh install of t3code, sending any message to an agent fails immediately.

Steps to reproduce

  1. Clone and run t3code from source.
  2. Start a new thread.
  3. Send any message in Full Access mode.
  4. Switch to Supervised mode and send any message.

Actual

  • Full Access: thread/start failed: Invalid request: unknown variant 'danger-full-access', expected one of 'readOnly', 'workspaceWrite', 'dangerFullAccess'
  • Supervised: thread/start failed: Invalid request: unknown variant 'on-request', expected one of 'unlessTrusted', 'onFailure', 'onRequest', 'never'

Expected
The thread starts and the message is sent in both modes.

Notes
This looks like a runtime enum/casing mismatch:

  • danger-full-access vs dangerFullAccess
  • on-request vs onRequest

This seems related to earlier reports like #389 and #453, but it is still reproducible on a fresh checkout.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions