query(cache=False) omits bypass and uses the server cache
メンテナーはふだん 10 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
Start at ActivityWatchClient.query and inspect the captured _post arguments described in the issue; the payload does not name a file or test. Reproduce the cache=False request and add a regression for its wire encoding, then check Python and Rust server compatibility. Done means default and explicit cache=False bypass caching while named cache=True keeps working; pull request #154 is already open.
索引モデルが issue の本文から書いたものです。
説明
On current master c88cf12c6fb122447157c183322eb2b5c12e6266, ActivityWatchClient.query(..., cache=False) sends neither a cache query parameter nor a body cache value. The Python server defaults omission to enabled caching, so the client's default false is ignored.\n\nReproduced by capturing the actual query method's _post arguments: params={} and body contains only query/timeperiods. An offline Flask/MemoryStorage replay with synthetic RETURN = 17; requests records one cache miss then one hit for two cache=False calls; explicit body false leaves counters unchanged. This is ignored bypass, not a claim of stale/corrupt data.\n\nExpected: default and explicit cache=False bypass caching. Named cache=True retains caching; unnamed cache=True and naive datetime validation remain unchanged. Fix scope is client wire encoding plus regressions, with Python/Rust server compatibility checked.
- 主要言語
- Python
- スター
- 73
- フォーク
- 76
- 平均マージ
- 8日 13時間
- マージ済み PR(30日)
- 17
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ActivityWatch/aw-client のほかの issue
-
Bucket IDs containing URL-reserved characters are not addressed literally対応中かも @TimeToBuildBob が 26 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
ActivityWatch/aw-client#155 ·
メンテナーはふだん 10 日以内に返信
-
Many heartbeats and a unavailable server might lead to queue clogging対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
メンテナーはふだん 10 日以内に返信
ActivityWatch/aw-client の issue をすべて見る
似ている issue
-
bug docs
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capture対応中かも @jianyx1 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
volcengine/OpenViking#8354 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
メンテナーはふだん 1 日以内に返信
-
comp/tools P2 tool/skills type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#159541 ·
メンテナーはふだん 1 日以内に返信