github / github/copilot-cli

/chronicle reindex queues remote backfill despite local-only remote settings

未關閉
#3,777 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:sessions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

In GitHub Copilot CLI 1.0.61, `/chronicle reindex` still queues sessions for remote backfill and reports session failures even when local-only settings are configured.

The CLI settings include:

```
"remote": "off",
"remoteExport": false
```

Despite this, reindex reports remote backfill and logs show remote session creation attempts failing with 403/policy-blocked errors.

### Affected version

GitHub Copilot CLI 1.0.61

### Steps to reproduce the behavior

1. Configure Copilot CLI settings:

```json
{
"remote": "off",
"remoteExport": false,
"memory": true,
"experimental": true
}
```

2. Restart Copilot CLI.
3. Run:

```
/chronicle reindex
```

4. Observe output similar to:

```
Reindex completed with errors: 33 sessions indexed locally, 218 queued for backfill. Errors: 24 session(s) failed
```

5. Inspect recent logs and observe remote session creation attempts/failures such as:

```
Failed to create Mission Control session: 403
RemoteSessionExporter
policy_blocked
Remote sessions are not enabled
```

Additional observation: launching with:

```
copilot --no-remote
```

appears to suppress the remote session startup/Mission Control failure path.

### Expected behavior

With `remote` set to `"off"` and `remoteExport` set to false, `/chronicle reindex` should run in local-only mode and should not queue remote backfill.

If remote/session cloud policy is disabled, the CLI should skip remote backfill cleanly or show a clear policy message without reporting local reindex as completed with remote backfill errors.

### Additional context

Cloud/session policy appears to block remote session creation in this environment, which is expected from the organization policy side. The issue is that local-only settings do not appear to prevent `/chronicle reinde`x from attempting or queuing remote backfill.

Question: is /chronicle reindex expected to ignore `remote: "off"` and `remoteExport: false`? If so, what is the supported way to run Chronicle reindex strictly locally?

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing `/chronicle reindex` with `remote: "off"` and `remoteExport: false`, then inspect the recent logs for RemoteSessionExporter and policy-blocked session creation. Compare the result with `copilot --no-remote`; done means local indexing does not queue remote backfill or report remote failures.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。