test(runtime): Claude 5.x lifecycle — compaction, reload, switches, shared clients
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Goal
Check that the core holds up across the real session lifecycle: compaction, reload, model and transport switches, and several sessions sharing one client.
Scope
- Local compaction triggered by the token threshold: the summary is produced through a checked clone, persisted, reloaded, and the first continuation is valid. If continuing would be unsafe, refuse without clearing the context.
- Native on-demand compaction (Direct only): handle the whole block arriving at
content_block_startwith no deltas, adopt and reload the signed result, record iteration usage, and keep context intact on refusal or a missing summary. Keep the existing Vertex and Converse exclusions (vertex.go, AWS compaction). - Switches: route → rebuild → switch model or transport → add attachment → reload, on each of the three transports.
- Shared clients: two sessions on one client with different attachments don't leak state into each other. Conversation state stays on the request or session, never on the client (see AGENTS.md, "Client and Session Lifetimes").
- Pricing: Haiku 5.5 tier boundary at 99,999 / 100,000 / 100,001 prompt tokens, cache included. An unknown producer, endpoint or tariff is reported as unpriced, not free. Confirm the serving model from #4579 survives save and reload.
Acceptance criteria
- End-to-end tests for each scenario above, using real factories and the runtime against fake servers. Testing a hook on its own doesn't count.
-
go test -race -shuffle=onpasses on the runtime and provider packages. - A results table per model × transport × feature: pass / fail / not established / expected refusal.
-
task build,task test,task lintpass.
Parent: #4583 · Depends on #4651, #4652, #4653
- 主要言語
- Go
- スター
- 4.6k
- フォーク
- 522
- 平均マージ
- 8時間 7分
- マージ済み PR(30日)
- 231
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/docker-agent のほかの issue
-
area/cli
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
docker/docker-agent#4672 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pkg/hooks tests fail with a misleading assertion when jq is not installed対応中かも @dwin-gharibi が 58 日前に担当しました。 オープンarea/testing
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
docker/docker-agent#4052 ·
メンテナーはふだん 1 日以内に返信
-
`remove_directory` and `create_directory` hide work they already did when a later path fails対応中かも @dwin-gharibi が 76 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
docker/docker-agent#3933 ·
メンテナーはふだん 1 日以内に返信
-
`edit_file` silently edits the first match when `oldText` occurs more than once対応中かも @dwin-gharibi が 76 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docker/docker-agent#3929 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/providers/anthropic area/runtime area/tools
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
docker/docker-agent#4671 ·
メンテナーはふだん 1 日以内に返信
docker/docker-agent の issue をすべて見る
似ている issue
-
🕷️ bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sysadminsmedia/homebox#1805 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
router-for-me/CLIProxyAPI#6851 ·
メンテナーはふだん 1 日以内に返信
-
usage: a custom provider's balance meters ("…%" in the balance path) ignore the Left/Used switchオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
[bug]: docs: Update webhook delete examples to use the correct flag (--webhook-id)対応中かも @MuhammadHassan968 が今日担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
goharbor/harbor-cli#1127 ·
メンテナーはふだん 12 日以内に返信