aws-samples / aws-samples/sample-developer-tutorials
### Describe the bug
- Lenguaje dominante
- Shell
- Estrellas
- 175
- Forks
- 42
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Describe the bug
╭─╮╭─╮
╰─╯╰─╯ Copilot v1.0.65 uses AI.
█ ▘▝ █ /experimental
▔▔▔▔
● No copilot-instructions.md found. Run /init to generate.
● Tip: /remote
└ Toggle remote control from GitHub web and mobile
❯ review last commit
◉ Working esc cancel Claude Sonnet 4.6 · medium · (0%)
Then it use a lot of cpu and does nothing
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2668312 foob 20 0 11.2g 227904 90216 S 62.6 0.2 2:17.65 MainThread
tested v1.0.61 and it works.
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
2026-06-27T09:22:40.299Z [DEBUG] Using GitHub OAuth token for Copilot API
2026-06-27T09:22:40.299Z [DEBUG] Creating copilot-client for integration ID copilot-developer-cli with token authentication. User-agent: copilot/1.0.65 (client/github/cli linux v24.16.0) term/unknown
2026-06-27T09:22:40.300Z [DEBUG] Successfully listed 30 models
2026-06-27T09:22:40.300Z [DEBUG] Listed models: [claude-opus-4.6,Claude Opus 4.6], [claude-opus-4.7,Claude Opus 4.7], [claude-sonnet-4.6,Claude Sonnet 4.6], [gpt-5.3-codex,GPT-5.3-Codex], [gpt-5.4-mini,GPT-5.4 mini], [gpt-5.4-nano,GPT-5.4 nano], [gpt-5.4,GPT-5.4], [gpt-5.5,GPT-5.5], [gpt-5-mini,GPT-5 mini], [gpt-4o-mini-2024-07-18,GPT-4o mini], [gpt-4o-2024-11-20,GPT-4o], [gpt-4o-2024-08-06,GPT-4o], [text-embedding-3-small,Embedding V3 small], [text-embedding-3-small-inference,Embedding V3 small (Inference)], [claude-sonnet-4.5,Claude Sonnet 4.5], [claude-opus-4.5,Claude Opus 4.5], [claude-haiku-4.5,Claude Haiku 4.5], [gemini-2.5-pro,Gemini 2.5 Pro], [gpt-4.1-2025-04-14,GPT-4.1], [gpt-41-copilot,GPT-4.1 Copilot], [gpt-3.5-turbo-0613,GPT 3.5 Turbo], [gpt-4,GPT 4], [gpt-4-0613,GPT 4], [gpt-4o-2024-05-13,GPT-4o], [gpt-4-o-preview,GPT-4o], [gpt-4.1,GPT-4.1], [gpt-3.5-turbo,GPT 3.5 Turbo], [gpt-4o-mini,GPT-4o mini], [gpt-4o,GPT-4o], [text-embedding-ada-002,Embedding V2 Ada]
2026-06-27T09:22:40.301Z [DEBUG] Applied model capabilities override: {"family":"claude-sonnet-4.6","limits":{"max_context_window_tokens":264000,"max_non_streaming_output_tokens":16000,"max_output_tokens":64000,"max_prompt_tokens":200000,"vision":{"max_prompt_image_size":3145728,"max_prompt_images":5,"supported_media_types":["image/jpeg","image/png","image/webp","image/gif","application/pdf"]}},"object":"model_capabilities","supports":{"adaptive_thinking":true,"max_thinking_budget":32000,"min_thinking_budget":1024,"parallel_tool_calls":true,"reasoning_effort":["low","medium","high","max"],"streaming":true,"structured_outputs":true,"tool_calls":true},"tokenizer":"o200k_base","type":"chat"}
2026-06-27T09:22:40.301Z [DEBUG] Got model info: {
"billing": {
"restricted_to": [
"pro",
"pro_plus",
"individual_trial",
"business",
"enterprise",
"max"
],
"token_prices": {
"batch_size": 1000000,
"default": {
"cache_read_price": 30,
"cache_write_price": 375,
"input_price": 300,
"max_prompt_tokens": 200000,
"output_price": 1500
},
"long_context": {
"cache_read_price": 30,
"cache_write_price": 375,
"input_price": 300,
"max_prompt_tokens": 936000,
"output_price": 1500
}
}
},
"capabilities": {
"family": "claude-sonnet-4.6",
"limits": {
"max_context_window_tokens": 264000,
"max_non_streaming_output_tokens": 16000,
"max_output_tokens": 64000,
"max_prompt_tokens": 200000,
"vision": {
"max_prompt_image_size": 3145728,
"max_prompt_images": 5,
"supported_media_types": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif",
"application/pdf"
]
}
},
"object": "model_capabilities",
"supports": {
"adaptive_thinking": true,
"max_thinking_budget": 32000,
"min_thinking_budget": 1024,
"parallel_tool_calls": true,
"reasoning_effort": [
"low",
"medium",
"high",
"max"
],
"streaming": true,
"structured_outputs": true,
"tool_calls": true
},
"tokenizer": "o200k_base",
"type": "chat"
},
"id": "claude-sonnet-4.6",
"is_chat_default": false,
"is_chat_fallback": false,
"model_picker_category": "versatile",
"model_picker_enabled": true,
"model_picker_price_category": "medium",
"name": "Claude Sonnet 4.6",
"object": "model",
"policy": {
"state": "enabled",
"terms": "Enable access to the latest Claude Sonnet 4.6 model from Anthropic. [Learn more about how GitHub Copilot serves Claude Sonnet 4.6](https://gh.io/copilot-claude-opus)."
},
"preview": false,
"supported_endpoints": [
"/chat/completions",
"/v1/messages"
],
"vendor": "Anthropic",
"version": "claude-sonnet-4.6"
}
2026-06-27T09:22:48.972Z [DEBUG] [Octokit] request
2026-06-27T09:22:48.975Z [DEBUG] [rust:log] starting new connection 'Some("api.github.com")' {"log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.13.4/src/connect.rs","log.line":929}
2026-06-27T09:22:48.975Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connecting to 140.82.116.5:443
2026-06-27T09:22:48.978Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connected to 140.82.116.5:443
2026-06-27T09:22:49.414Z [DEBUG] [rust:hyper_util::client::legacy::pool] pooling idle connection for ("https", api.github.com)
2026-06-27T09:22:49.414Z [INFO] [Octokit] POST /graphql - 200 with id 163E:128A50:5DA289C:5F79229:6A3F9669 in 442ms
2026-06-27T09:23:03.590Z [DEBUG] [rust:runtime::api_telemetry_queue] [telemetry-queue] Flushing 3 events (20252 B → 2828 B gzipped)
2026-06-27T09:23:03.591Z [DEBUG] [rust:hyper_util::client::legacy::pool] reuse idle connection for ("https", telemetry.business.githubcopilot.com)
2026-06-27T09:23:03.881Z [DEBUG] [rust:hyper_util::client::legacy::pool] pooling idle connection for ("https", telemetry.business.githubcopilot.com)
2026-06-27T09:23:48.957Z [DEBUG] [Octokit] request
2026-06-27T09:23:48.960Z [DEBUG] [rust:log] starting new connection 'Some("api.github.com")' {"log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.13.4/src/connect.rs","log.line":929}
2026-06-27T09:23:48.960Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connecting to 140.82.116.5:443
2026-06-27T09:23:48.963Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connected to 140.82.116.5:443
2026-06-27T09:23:49.523Z [DEBUG] [rust:hyper_util::client::legacy::pool] pooling idle connection for ("https", api.github.com)
2026-06-27T09:23:49.523Z [INFO] [Octokit] POST /graphql - 200 with id 23FC:262C01:63B4C40:6588B29:6A3F96A4 in 566ms
2026-06-27T09:24:48.957Z [DEBUG] [Octokit] request
2026-06-27T09:24:48.967Z [DEBUG] [rust:log] starting new connection 'Some("api.github.com")' {"log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.13.4/src/connect.rs","log.line":929}
2026-06-27T09:24:48.968Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connecting to 140.82.116.5:443
2026-06-27T09:24:48.968Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connected to 140.82.116.5:443
2026-06-27T09:24:49.375Z [DEBUG] [rust:hyper_util::client::legacy::pool] pooling idle connection for ("https", api.github.com)
2026-06-27T09:24:49.375Z [INFO] [Octokit] POST /graphql - 200 with id 203F:157E5D:66003B4:67D5059:6A3F96E1 in 418ms
2026-06-27T09:25:48.963Z [DEBUG] [Octokit] request
2026-06-27T09:25:48.966Z [DEBUG] [rust:log] starting new connection 'Some("api.github.com")' {"log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.13.4/src/connect.rs","log.line":929}
2026-06-27T09:25:48.966Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connecting to 140.82.116.6:443
2026-06-27T09:25:48.969Z [DEBUG] [rust:hyper_util::client::legacy::connect::http] connected to 140.82.116.6:443
2026-06-27T09:25:49.425Z [DEBUG] [rust:hyper_util::client::legacy::pool] pooling idle connection for ("https", api.github.com)
2026-06-27T09:25:49.426Z [INFO] [Octokit] POST /graphql - 200 with id 3B3F:262C01:63D327D:65A7DCA:6A3F971D in 462ms
_Originally posted by @wangvisual in https://github.com/github/copilot-cli/issues/3962_
Guía de contribución
Línea de trabajo
No source files, tests, or reproduction steps are named. Start by confirming whether this belongs in github/copilot-cli and reproduce the high CPU behavior in Copilot CLI v1.0.65, comparing it with v1.0.61 while reviewing the supplied logs. Done means identifying and resolving the regression, with verification that the review command no longer remains idle at high CPU.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, shell
- Área
- cli, devtools, performance
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100