[PR #5053] [CLOSED] fix(setup): treat empty COPILOT_HOME as unset #6761

Closed
opened 2026-11-01 21:42:51 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/5053
Author: @omaispertodagloriadacriacaodouniverso
Created: 10/18/2026
Status: ❌ Closed

Base: main ← Head: fix/copilot-home-empty


📝 Commits (1)

  • 1ef3580 fix(setup): treat empty COPILOT_HOME as unset

📊 Changes

2 files changed (+43 additions, -1 deletions)

View changed files

📝 src/application/SupportedClients.ts (+3 -1)
➕ tests/boundary/filesystem/copilotClientConfiguration.test.ts (+40 -0)

📄 Description

Mirrors the DSH_HOME handling (#2686): an empty string falls back to ~/.copilot instead of writing registration into ./mcp-config.json. Adds boundary tests (undefined/empty/whitespace → default; custom → honoured). Fixes #5047.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/5053 **Author:** [@omaispertodagloriadacriacaodouniverso](https://github.com/omaispertodagloriadacriacaodouniverso) **Created:** 10/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/copilot-home-empty` --- ### 📝 Commits (1) - [`1ef3580`](https://github.com/morluto/rea/commit/1ef3580030764d33146aacd58869c0afbff94784) fix(setup): treat empty COPILOT_HOME as unset ### 📊 Changes **2 files changed** (+43 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/application/SupportedClients.ts` (+3 -1) ➕ `tests/boundary/filesystem/copilotClientConfiguration.test.ts` (+40 -0) </details> ### 📄 Description Mirrors the DSH_HOME handling (#2686): an empty string falls back to ~/.copilot instead of writing registration into ./mcp-config.json. Adds boundary tests (undefined/empty/whitespace → default; custom → honoured). Fixes #5047. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-01 21:42:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#6761
No description provided.