Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab /describe command is not working in latest releases #1578

Open
keynanlevi1 opened this issue Feb 25, 2025 · 3 comments
Open

Gitlab /describe command is not working in latest releases #1578

keynanlevi1 opened this issue Feb 25, 2025 · 3 comments

Comments

@keynanlevi1
Copy link

Git provider

Gitlab

System Info

linux centos 9 or ubuntu

Bug details

all commands worked in oldest pr-agent releases but when trying to upgrade to latest, it fails.
For some reason it send the word preparing instead of review/describe.
INFO: 10.42.0.4:42568 - "POST /pr-agent HTTP/1.1" 200 OK
{"text": "Unknown command: preparing\n", "record": {"elapsed": {"repr": "0:00:33.282283", "seconds": 33.282283}, "exception": null, "extra": {}, "file": {"name": "pr_agent.py", "path": "/app/pr_agent/agent/pr_agent.py"}, "function": "handle_request", "level": {"icon": "❌", "name": "ERROR", "no": 40}, "line": 77, "message": "Unknown command: preparing", "module": "pr_agent", "name": "pr_agent.agent.pr_agent", "process": {"id": 7, "name": "MainProcess"}, "thread": {"id": 139892967877504, "name": "MainThread"}, "time": {"repr": "2025-02-25 20:44:01.628714+00:00", "timestamp": 1740516241.628714}}}

One more thing, the /help command is working (maybe because not send preparing...)
Thanks

@mrT23
Copy link
Collaborator

mrT23 commented Feb 26, 2025

i cant reproduce the issue. Share more details.

In which flow exactly is 'describe' not working ?
What are your specific configurations ?

It is probably related to the latter.

Image

Image

@keynanlevi1
Copy link
Author

Hi,
It happens on merge requests on Gitlab(not Github). I see the Preparing PR Description but it stuck and the error I specified comes from the logs.
The same workflow works on older releases.
for some reason the command it gets is not 'describe' but 'preparing'

again, simple workflow of Gitlab Merge Requests
Self Managed Gitlab (not sas, not gitlab ci)

Thanks

@mrT23
Copy link
Collaborator

mrT23 commented Feb 26, 2025

My last example was also Gitlab (cloud), since you didnt specify the type.

I dont see a problem also in Gitlab server.

Image

Run from CLI, and share more details about where exactly it crashes. Make sure to give correct configurations.

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

No branches or pull requests

2 participants