Skip to content

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

Closed

Description

@amoralej

Jira: RHOAIENG-51927

🐛 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 ?

Activity

  1. added
    bug
    on Jan 9, 2026
  2. jeremyeder commented on Feb 1, 2026

    @jeremyeder
    Contributor

    hey what CLI are you using?

  3. amoralej commented on Feb 4, 2026

    @amoralej
    Author

    hey what CLI are you using?

    oc apply -f session.yaml

    With the session.yaml having the content in the initial message.

    I haven't tested this in a while, I'm not sure it's still relevant or if it was fixed.

  4. jeremyeder commented on Apr 11, 2026

    @jeremyeder
    Contributor

    Closing — initialPrompt handling has been reworked in the operator trigger/session code. If this still reproduces, please reopen with reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions