Skip to content

Remove duplicate timeline events from non-interactive mode following 0.0.342 release #328

@andyfeller

Description

@andyfeller

Describe the bug

0.0.342 release appears to have a regression in the non-interactive mode timeline as some events are displayed twice:

›$ copilot -p "Open README.md and append a line. Include your tags." --allow-all-tools

I'll open the README.md file and append a line to it.● I'll open the README.md file and append a line to it.

✓ List directory . (9 files)

✓ Read README.md (8 lines)

✓ Edit README.md (+1)
   ╭──────────────────────────────────────────────────────────────────────────────────────────────╮
   │ 1   # copilot-cli-311                                                                        │
   │ 2   Simple repository for testing github/copilot-cli#311                                     │
   │ 3   This line was appended by GitHub Copilot CLI.                                            │
   │ 4 + Another line appended with tags: [INSTR-OK] [PATH-OK]                                    │
   ╰──────────────────────────────────────────────────────────────────────────────────────────────╯

Done. Appended a new line to README.md. [INSTR-OK] [PATH-OK]● Done. Appended a new line to README.md. [INSTR-OK] [PATH-OK]


Total usage est:       1 Premium request
Total duration (API):  16.2s
Total duration (wall): 18.2s
Total code changes:    1 lines added, 0 lines removed
Usage by model:
    claude-sonnet-4.5    0 input, 0 output, 0 cache read, 0 cache write (Est. 0 Premium requests)

Affected version

0.0.342

Steps to reproduce the behavior

gh repo clone andyfeller/copilot-cli-311
cd copilot-cli-311
copilot -p "Open README.md and append a line. Include your tags." --allow-all-tools

Expected behavior

Timeline event information does not appear before the timeline circle

Additional context

  • MacOS
  • Mac Terminal
  • Zsh

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions