Copilot CLI non-interactive runs can fail all writes/shell but still exit 0 as “success” #206437
Unanswered
VeryComplexAndLongName
asked this question in
Copilot Conversations
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Copilot in GitHub
Body
I’m seeing a potentially serious reliability issue in Copilot CLI non-interactive mode.
Using:
copilot -p "<task>" --allow-all-toolssome runs deny every write/shell action with:
Permission denied and could not request permission from userwhile read-only tools still work. Despite that, the run exits with code
0, prints a normal completion summary, and reportsChanges +0 -0(no work done), after consuming significant credits/tokens.Why this is problematic
For automation, this is indistinguishable from success unless output is deeply parsed. Pipelines can silently pass while nothing was changed.
What I’d like
If maintainers prefer, I can post full repro/environment details in
github/copilot-clias a bug report (already prepared).All reactions