fix(web): reject stale sequencer transition timelines

setSequencerTransitions parsed the submitted timeline without comparing
timeline.revision, so a stale submission replaced the sequencer timeline
instead of conflicting. It now compares timeline.revision against the
current SceneIR and reports REVISION_CONFLICT, which is the check
setSequencerStrips already makes. The revision contract moves the command
out of the unchecked set, and the authoring probe takes its timeline from
a snapshot read after its edits and records a stale submission next to an
accepted one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-12-02 20:12:37 +08:00
parent d3260cb0cb
commit 192b13901d
7 changed files with 17 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ for (const required of [
"the armature object was never missing from the Outliner",
"The Rendering workspace Outliner gap is closed by desktop parity",
"Revision-conflict handling is per command in the engine Worker",
"`setNLAStack` and `setSequencerTransitions` carry a revision field but do not reject a",
"`setNLAStack` still carries a revision field but does not reject a stale",
"fcurve or keyframe counts, so no count assertion is made",
]) {
assert.ok(limitations.includes(required), `known limitations omit: ${required}`);