Skip to content

af send --wake to start sleeping workspace #457

@waleedkadous

Description

@waleedkadous

Feature Request

Currently af send messages are silently dropped if the architect session for the target project isn't running. This is frustrating when builders complete work overnight or while the architect is disconnected.

Proposed Behavior

af send --wake should:

  1. Detect that the target workspace's architect session is not running
  2. Start the workspace (equivalent to af dash start for that project)
  3. Wait for the architect session to be ready
  4. Deliver the message

Without --wake (current behavior)

Message is dropped with an error/warning that the architect isn't running.

Considerations

  • Should --wake be the default, or opt-in?
  • Cross-workspace targeting (af send workspace:architect "msg") should also support --wake
  • What if Tower itself isn't running? (Probably just error — don't auto-start Tower)
  • Rate limiting to prevent a crash loop of wake → crash → wake

Metadata

Metadata

Assignees

No one assigned

    Labels

    projectNew project or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions