-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
When using the Ctrl+d hotkey to enqueue multiple prompts in GitHub Copilot CLI, the execution order is LIFO (Last In, First Out) instead of the expected FIFO (First In, First Out) queue behavior.
COPILOT_CLI_BUG_REPORT_QUEUE_ORDER.md
Affected version
GitHub Copilot CLI 0.0.406.
Steps to reproduce the behavior
Steps to Reproduce
- Open GitHub Copilot CLI in terminal
- Enter a prompt:
Do it: /path/to/file1.log - Press Ctrl+d to enqueue (don't press Enter)
- Enter another prompt:
Do it: /path/to/file2.log - Press Ctrl+d to enqueue
- Enter a third prompt:
Do it: /path/to/file3.log - Press Ctrl+d to enqueue
- Press Enter to submit and start execution
- Observe execution order
Result: Prompts execute in reverse order (3 → 2 → 1)
Expected behavior
Expected Behavior
When enqueuing prompts with Ctrl+d, they should execute in FIFO order:
User actions:
1. Type "Do it: file1.log" + Ctrl+d (enqueue)
2. Type "Do it: file2.log" + Ctrl+d (enqueue)
3. Type "Do it: file3.log" + Ctrl+d (enqueue)
Expected execution order:
1. "Do it: file1.log" (first enqueued)
2. "Do it: file2.log" (second enqueued)
3. "Do it: file3.log" (third enqueued)
This is standard queue behavior (FIFO) as implied by the term "enqueue".
Additional context
Session Context
This behavior was observed during a workflow analysis session where multiple log files needed to be processed in sequence:
Enqueued prompts (in order):
Do it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/EXTRACTED_ISSUES.mdDo it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/step0b_copilot_bootstrap_docs_20260210_221430_21936.logDo it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/step2_copilot_consistency_analysis_20260210_222430_24764.logDo it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/step5_copilot_directory_validation_20260210_225028_34118.logDo it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/step8_copilot_test_analysis_20260210_225304_05334.logDo it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/step9_copilot_dependency_analysis_20260210_225759_43390.logDo it: /home/mpb/Documents/GitHub/guia_turistico/.ai_workflow/logs/workflow_20260210_221410/step3_copilot_script_validation_20260210_223930_74349.log
Expected execution order: EXTRACTED_ISSUES → step0b → step2 → step5 → step8 → step9 → step3
Actual execution order: step3 → step9 → step8 → step5 → step2 → step0b → EXTRACTED_ISSUES
This caused the workflow steps to be executed out of logical order.
Environment
- OS: Linux
- Terminal: (user's terminal environment)
- GitHub Copilot CLI Version: 0.0.406
- Session ID: b5f10731-c0c9-4d94-a90a-c4a3829ef51f
- Date: 2026-02-11