Repository navigation
Advance replay time for persisted scalar signal delivery - #220
Conversation
|
|
Original current-head CI 42148266805 passes on exact The unchanged guarded policy selects this actual production delta and reports 69→70 replay fixtures, All-target/all-feature Rust1.86/stable checks pass, including 746 unit tests and 53 corpus tests; the full existing83-test Python policy suite passes. Local focused31 clock tests include eight new scalar-signal methods, redrive/precision/equal/backward handling, buffered/received/future isolation, missing/conflicting/timed/task-only authority and scope/query-prefix controls. Source cells are cleaned, borrowed cached public inputs preserved. Stable published-SDK documentation compatibility, packaging, public boundary, Sonar and the other source checks pass; direct completed Sonar inventory is zero unresolved. Rust CodeQL remains active at this readback; final normal integration waits for its actual terminal result. No original attempt has been rerun or relabelled. The canonical persisted applied carrier is supported; task-only and legacy received/query-fallback authority remains unavailable in this cohort, rather than acquiring a new envelope, RPC, timestamp or marker. Full feature/release/conformance and #191/#192's specific operating/review stops stay separate; #216's actual Cloud CORS receipt preempts when returned. |
|
The selected scalar persisted-signal clock source cohort is integrated and terminal. Actual main is Source qualification passes 746 unit tests on Rust1.86/stable, the 53-test corpus and 83 Python policy tests. Local31 focused clock tests include eight signal methods. Both PR and original main's unchanged guarded policy report 69→70 replay fixtures, The sole automatic protected stable-docs run42149116739 and deployment Stable docs still bind published SDK 4.12.0, source Central replay-clock #215 remains open. Canonical untimed scalar |



After a persisted scalar signal wait resumes,
replay_now()previously returned unavailable. It now returns the exact consumedSignalAppliedtime for canonical untimed waits, preserving precision, backward/equal time and valid redrive reuse. This matches Core4b2cdc55'sresumeSignalbranch and the accepted consumed-event contract.The clock requires one ordered open/apply pair with matching nonempty wait ID/name, explicit numeric command counters and the canonical persisted value. Missing/conflicting identity, invalid/missing time/reuse, ambiguous lifecycle and timed-wait evidence keep business time unavailable without changing legacy signal results/commands. Merely received/buffered/future events and task-resume arguments without committed application authority do not advance it. A control proves an outer history counter on buffered
SignalAppliedcannot become an authored wait sequence. Existing snapshot/reconstructed queries retain their inspected/consumed prefix rules; no observation envelope, wire field, marker or RPC is added. Cancellation, UUID, predicate and inline/local behavior is preserved.Exact
3fa8e547ec30a8f8004b49da4b72edbe3bbc78e6has 20 terminal checks:18 success/two intended manual worker skips, all four CodeQL analyses and zero unresolved Sonar issues. Original CI42148266805 passes all-target/all-feature Rust1.86/stable qualification, including746 unit tests, the53-test corpus and83 Python policy tests. Local31 focused clock tests include eight new scalar-signal methods covering actual/cold consumption, unchanged reads, equal/backward/reused time, buffered/received/future/task-only paths, identity/counter/time/timed/duplicate refusals, query prefixes and interleaved/error scope restoration.The real behavioral comparison passes with69→70 replay fixtures,
related_change=trueand one negative; codec inventory remains48→48. The same official consumer compiles and consumes both actual signal values on baseccb10747and candidate; base fails the intended signal-time expectation and candidate passes. All existing selectors/guards/validators, schemas and immutable fixtures are unchanged. All owned local bounded source resources are removed; public cached inputs were reused offline.Refs durable-workflow/.github#215 and its selected scalar-signal source cohort. Full feature/release/published conformance remains open. Ordinary-entry original-start authority remains Server-owned; timed waits and legacy received/query-fallback/task-only application lack supported Rust clock authority here. #216's actual Cloud CORS receipt preempts this source work; #191/#192's distinct policy-access/installed/private stops remain unchanged. Original main, automatic stable4.12 docs/artifact/live acceptance and cleanup are complete.