A computed var's write to state during an ordinary event or client-side navigation is dropped depending on PYTHONHASHSEED; a write to a var that was not already dirty is always dropped

オープン
#7,484 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start from the fix in #7460 (F-003), which made computed-var state writes survive page loads and reconnects, and find the equivalent delivery code for ordinary events and client-side navigation; the ordering of dirty vars there is what makes PYTHONHASHSEED matter. Read finding N-015 and the reverify_hydration / cvstore evidence in prerelease_testing/2026-10-07/FINDINGS.md (results/f003/, logs/seed-loop-a2-*.txt) to see the dropped-write cases. Done means either the event/navigation paths deliver computed-var writes deterministically, or the pattern is documented as unsupported with a warning plus a test that fails under a fixed PYTHONHASHSEED.

索引モデルが issue の本文から書いたものです。

説明

release-train

Severity: LOW, pre-existing (0.9.12 and 0.10.0a2). #7460 fixed the same pattern for page loads and reconnects (F-003 of the 10-06 QA); the event / navigation paths remain seed-dependent.

A @rx.var that assigns to another var while being computed (the pattern reflex-google-auth used to clear a bogus token) is delivered or dropped depending on the dict-order of dirty vars (PYTHONHASHSEED), and is always dropped when the written var was not already dirty. Either support the pattern consistently or document that computed vars must not write state and warn when they do.

Evidence: reverify_hydration cluster, cvstore variants (results/f003/, frames/), and the thirdparty_a2 seed loop (logs/seed-loop-a2-*.txt); finding N-015 in FINDINGS.md.

主要言語
Python
スター
29k
フォーク
1.8k
平均マージ
3日 5時間
マージ済み PR(30日)
182

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

reflex-dev/reflex のほかの issue

reflex-dev/reflex の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。