fix(web): settle each Outliner expand before the next toggle

The armature panel case failed ten headed reruns because the fixture's
expand loop clicked a label list scanned before earlier replies landed:
it re-clicked rows the reply had just opened and closed them again, so
each round flipped the same rows and the loop never settled. Re-read
each row's own label before clicking and wait for that toggle to reach
the tree; no timeout budget changes.

The armature row was never missing from the tree. It hangs under its
parent ScaledRigParent one level deeper, exactly as desktop
make_object_parent_hierarchy_collections builds it. Correct the known
limitations and module coverage entries, and keep the resolved gap rows
so the history and its evidence stay traceable.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-12-02 17:44:11 +08:00
parent d9ce49d2d5
commit 2b10cd3197
5 changed files with 38 additions and 16 deletions

View File

@@ -66,15 +66,20 @@ boundary; the legacy `parity-ledger.json` is historical planning data.
## Residual evidence gaps
- The armature headed regression is deterministic, not the suspected flake: ten headed hardware reruns of
- The armature headed regression is resolved, and its earlier diagnosis was wrong:
the armature object was never missing from the Outliner. Probe snapshots show it as
`2:PoseConstraintArmatureObject` under its parent `ScaledRigParent`, which is what desktop
`make_object_parent_hierarchy_collections` builds, and the row stays stable across repeated
`OUTLINER_TOGGLE_EXPAND` rebuilds. Ten headed hardware reruns of
`armature panel operates on the selected bone` in
`web/tests/e2e/armature-editor-coverage-ui-production.spec.ts` failed all ten times, and the other five
armature cases pass. Every rerun times out at `web/tests/fixtures/native-ui-workflow.ts:166` waiting for
the Outliner row `[role="treeitem"][aria-label="PoseConstraintArmatureObject"]`; the failure snapshot
lists five of the six scene objects and omits that row, even though the status line reports
`Active PoseConstraintArmatureObject · Objects 6` and the Properties name field shows the object. The
armature object therefore has no Outliner row at all, which is a user-visible gap; it is escalated to a
fix task and stays unfixed in this batch. The case is never marked skipped or retried to green.
`web/tests/e2e/armature-editor-coverage-ui-production.spec.ts` failed all ten times because the
expand loop in `web/tests/fixtures/native-ui-workflow.ts` clicked a label list scanned before
earlier replies landed: it re-clicked rows the reply had just opened, closing them, so each round
flipped the same four rows and the loop never settled. The armature is the only one of the six
objects one level deeper, so it is the only case that enters that loop; the other five armature
cases pass. The loop now re-reads each row's own label before clicking and waits for that toggle
to reach the tree; no timeout budget was widened. The case passes headed with hardware GPU after
the fix.
- Revision-conflict handling is per command in the engine Worker, not one shared protocol contract:
`moveNLAStrip`, `editEditorContext`, `editShaderNode`, `setSequencerStrips`,
`setSculptMeshAttributes` and the requested `baseRevision` of the modifier, constraint,

View File

@@ -56,12 +56,13 @@ Rules:
`OPEN` — reachable by a user, not fixed. `PARTIAL` — the path works but a stated part is missing.
`BLOCKED` — cannot be exercised until another gap clears. `FROZEN` — evidence is deliberately capped.
`RESOLVED` — closed with evidence; the row stays so the history and its proof remain traceable.
| ID | Description | User-visible impact | Evidence | Category | Priority | State |
| --- | --- | --- | --- | --- | --- | --- |
| MOD-OUTLINER-01 | The armature object has no Outliner row in the pose-constraint fixture. Ten headed hardware reruns of `armature panel operates on the selected bone` all failed at `web/tests/fixtures/native-ui-workflow.ts:166`, and the failure snapshot lists five of six objects while Main reports the armature as active. | A user cannot select the armature from the Outliner in that scene, so the armature panel workflow cannot start. | `docs/web/KNOWN_LIMITATIONS.md` armature bullet; `tests/golden/ARMATURE-PANEL-FLAKE/` (untracked) | RESIDUAL | P1 | `OPEN` |
| MOD-OUTLINER-01 | The armature row was reported missing from the pose-constraint Outliner. It never was: the armature is a child of `ScaledRigParent` and sits one level deeper, exactly as desktop `make_object_parent_hierarchy_collections` builds it. Ten headed reruns failed because the expand loop in `web/tests/fixtures/native-ui-workflow.ts` clicked a label list scanned before earlier replies landed and re-clicked rows the reply had just opened, so the branch never stayed open. | None after the fix; before it the armature branch never settled open, so the row was unreachable from the Outliner. | `docs/web/KNOWN_LIMITATIONS.md` armature bullet; `web/tests/fixtures/native-ui-workflow.ts`; headed rerun of `armature panel operates on the selected bone` | RESIDUAL | P1 | `RESOLVED` |
| MOD-OUTLINER-02 | The Outliner is empty in the Rendering workspace, so objects cannot be picked from there. | Row selection has to be done in another workspace first. | `docs/web/KNOWN_LIMITATIONS.md` Rendering workspace bullet | RESIDUAL | P2 | `OPEN` |
| MOD-PROPERTIES-01 | The armature panel case cannot run because it starts by selecting the armature row. Same failing case as MOD-OUTLINER-01. | The armature authoring workbench is unreachable in that workflow. | `web/tests/e2e/armature-editor-coverage-ui-production.spec.ts` | RESIDUAL | P1 | `BLOCKED` |
| MOD-PROPERTIES-01 | The armature panel case could not run because its first step selects the armature row. Same cause as MOD-OUTLINER-01. | None after the fix. | `web/tests/e2e/armature-editor-coverage-ui-production.spec.ts` | RESIDUAL | P1 | `RESOLVED` |
| MOD-PROPERTIES-02 | `setSceneViewLayerAOVs` and `setSceneViewLayerLightgroups` carry a revision field that the Worker never compares. | Two tabs can overwrite each other's AOV and lightgroup edits without a conflict. | `web/protocol/web-engine-revisions.ts`, `web/tests/unit/web-engine-revisions.test.mjs` | RESIDUAL | P2 | `OPEN` |
| MOD-NLA-01 | `setNLAStack` carries a revision field that the Worker never compares. | A stale NLA stack submission is accepted instead of rejected. | `web/protocol/web-engine-revisions.ts` | RESIDUAL | P3 | `OPEN` |
| MOD-SEQUENCER-01 | `setSequencerTransitions` parses the timeline without comparing `timeline.revision`. | Stale transition edits are accepted. | `web/protocol/web-engine-revisions.ts` | RESIDUAL | P2 | `OPEN` |