Skip to content

[WIP] Fix failing GitHub Actions workflow shell_and_cli#2042

Merged
robgruen merged 2 commits intodev/robgruen/glasswormfrom
copilot/fix-github-actions-workflow-issue
Mar 22, 2026
Merged

[WIP] Fix failing GitHub Actions workflow shell_and_cli#2042
robgruen merged 2 commits intodev/robgruen/glasswormfrom
copilot/fix-github-actions-workflow-issue

Conversation

Copy link
Contributor

Copilot AI commented Mar 22, 2026

  • Investigate failing GitHub Actions workflow (job 68103915750)
  • Identify root causes:
    1. CSS selector bug in chatView.ts: backstack includes old history entries (Expected @history, Received @exit)
    2. Dispatcher initialization too slow on Windows CI (contenteditable wait timeout is too short at 30s)
    3. dialog.showErrorBox blocks Electron main thread when dispatcher fails in test mode
    4. Stale lock file contention when Electron is forcibly killed and immediately restarted
  • Fix CSS selector in chatView.ts for command backstack (.chat-message-container-user:not(.history) instead of :not(.history) > .chat-message-container-user)
  • Increase contenteditable timeout in testHelper.ts from 30s to 120s
  • Fix blocking dialog in instance.ts for test mode (use console.error instead of dialog.showErrorBox)
  • Add lock retry in fsUtils.ts for stale lock handling (15 retries × 1s = up to 15s wait)
Original prompt

Fix the failing GitHub Actions workflow shell_and_cli (windows-latest, 22)
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 68103915750
Job URL: https://github.com/microsoft/TypeAgent/actions/runs/23411009411/job/68103915750


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

…cking dialog, startup timeout

Co-authored-by: robgruen <25374553+robgruen@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/TypeAgent/sessions/e24add7e-f44a-4eb6-b701-e5565da9a456
@robgruen robgruen marked this pull request as ready for review March 22, 2026 23:42
@robgruen robgruen merged commit 5e97fe8 into dev/robgruen/glassworm Mar 22, 2026
1 check passed
Copilot AI requested a review from robgruen March 22, 2026 23:43
Copilot stopped work on behalf of robgruen due to an error March 22, 2026 23:43
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

Successfully merging this pull request may close these issues.

2 participants