mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
The answered golden omitted the `复制` / `在新对话中分支` / `编辑` buttons that `MessageItem`'s `UserActions` renders under every user bubble, so the scenario failed against the built client. They are unconditional in the accessibility tree — the `@media (hover: hover)` rule only sets `opacity`, which does not remove a node from an aria snapshot — so there is no message-row state to stabilize before capture; the golden was simply recorded against a stale `lib/`. A partially failed `pnpm run build` had left the client bundles from before its failure current and the rest not. The Agent Note records that trap: confirm the build exited zero before refreshing a golden, and note that untracked directories under `packages/` are compiled too, so a leftover from another branch fails the build for reasons the diff does not explain. The same omission is present in the other 15 committed web goldens on master, where 9 tests across 7 files fail for this reason on a pristine tree. That is pre-existing and belongs to whoever landed `UserActions`; this commit fixes only the golden this PR already touches.