Skip to content

Bug: AgenticSession do not run the initialPrompt when created using CLI and an AgenticSession CR #501

@amoralej

Description

@amoralej

🐛 Bug Description

When I try to create an AgenticSession using cli with file:

apiVersion: vteam.ambient-code/v1alpha1
kind: AgenticSession
metadata:
  name: amber-health-test2
  namespace: watcher2
spec:
  initialPrompt: |
    Run nightly health check:
    1. Failed CI runs (past 24h)
    2. Security alerts
    3. Upstream breaking changes
    4. Open P0/P1 issues
    Store findings in a file in the watcher-operator repo under reports directory.
  repos:
      - url: https://github.com/amoralej/watcher-operator
        branch: main
        targetBranch: amber/health-test1
  autoPushOnComplete: true
  interactive: true

The AgenticSession is created, goes into Running status but I don't see any progress in the conversation panel. It just keeps in Running doing apparently nothing.

Image

But the prompt is in the session:

Image

The result is similar if i use interactive: false.

I was expecting to see the output of the conversation in the session from the webui, is that correct?

Also, will the session be stopped once claude has finished to process the prompt if i set interactive: false ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions