fix: restore Review controls after workflow tab switching
Wait for graph rehydration before history loading and reject stale graph/node results. Preserve real-edit safety guards and saved Take selection. Add lifecycle regressions and bilingual update guidance. Validated with 60 frontend cases, 108 focused CPU tests, five Chrome tab round trips and a Base Seed edit/restore check. GPU continuation was not tested.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"""Exercise real frontend lifecycle hooks with recreated workflow nodes."""
|
||||
|
||||
|
||||
def test_review_workflow_rehydration(review_queue_results):
|
||||
cases = (
|
||||
"H3ContinuumSamplerV38: recreated tab waits for saved identity and upstream links",
|
||||
"H3ContinuumSamplerV39: recreated tab waits for saved identity and upstream links",
|
||||
"ten rapid recreated tabs reject every obsolete history response",
|
||||
"API graph restoration without a before hook still reloads history",
|
||||
"manually added sampler loads history after deferred setup",
|
||||
"real edits while restored history is pending retain the settings guard",
|
||||
"same revision graph refresh cannot erase an existing real edit",
|
||||
"graph epoch rejects old results even if the same node remains attached",
|
||||
"removed sampler cancels deferred setup without fetching or mutating it",
|
||||
"initial restored history read preserves saved Take selection fields",
|
||||
"restored missing or failed history reports accurately and can retry",
|
||||
"failed graph load releases hydration gate for subsequent manual nodes",
|
||||
)
|
||||
for case in cases:
|
||||
assert review_queue_results[case]["pass"]
|
||||
Reference in New Issue
Block a user