-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐞 Bug Report
About: Report a reproducible bug or unexpected behavior
Description of the issue:
The Coder Agent is encountering inconsistent behavior during file and directory creation steps. Specifically, it reports a failure to create a directory, followed by a successful creation of a Python file twice. The final status indicates success, despite the earlier failure.
Steps to reproduce:
- Initiate a coding task with the Coder Agent that involves file and directory creation.
- Observe the output logs during the task execution.
- Look for any failure messages during the directory creation phase.
Expected behavior:
- Directory should be created successfully if the
-poption is used (assuming a Unix-likemkdir -pbehavior). - The file should only be created once with a single success message.
- If a directory creation fails, the task should not proceed or should at least return a warning/failure status.
Actual behavior:
- Directory creation reports a failure:
Failed to create directory. - File creation logs appear twice:
Creating file updown_game.py
Creating file updown_game.py
File updown_game.py created successfully - Final message states:
Coding task completed successfully— which is misleading given the earlier failure.
Screenshots/Logs [Mandatory]:
Creating directory -p
Executing operation
Failed to create directory
Creating file updown_game.py
Creating file updown_game.py
File updown_game.py created successfully
Coding task completed successfully
Environment (OS, Browser):
- OS:Ubuntu 22.04]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working