Skip to content

[test] Repair first-last frame and node-history Nightly fixtures - #614

Open
wangtiance wants to merge 5 commits into
ThinkFlowLab:mainfrom
wangtiance:codex/fix-nightly-dec01-browser
Open

wangtiance wants to merge 5 commits into
ThinkFlowLab:mainfrom
wangtiance:codex/fix-nightly-dec01-browser

Conversation

@wangtiance

@wangtiance wangtiance commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

In Nightly 46602505002, both browser jobs timed out on the first/last-frame case before creating a connection. The fixture dragged nodes to fixed window coordinates. The split workspace could leave an image beneath the video node or outside the usable canvas.

Lay out the three nodes with the existing project command, fit the canvas, and drag from each image's own right-hand port. Continue checking the first/last roles in the composer and the persisted project, including after reload.

The node-history test also failed because it counted every call to the view API as a write. Count only calls that send view state, while retaining the zero-write assertion after opening history.

Refs #200 and #386.

Validation

  • Both complete browser cases passed against a local isolated API and Vite server with headless Edge and fake generation models. The checks cover first/last roles after reload and node-history save, dismissal, failure, retry and media behavior.
  • Node syntax, browser manifest, browser locale and diff checks passed.
  • This changes only the browser test fixture. Product visuals and behavior are outside the diff, so visual evidence is N/A. The PR-triggered CI and full Nightly lanes have yet to run on this candidate.

Independent candidate review: 90/100, with no blocking findings. Reviewed base d819c159d468e0ed641e27220b5552eb686fe5fc and head 68a119a2ec23eea00f7eb54d19861eaf6eb643a8. Release checks, CodeQL, and the full Nightly lanes remain unverified on this head.

December 3 branch refresh

Merged upstream main at 128230015ce8f58db7232317f51237bdf196b18e into this PR. The pull-request diff is unchanged. It still touches only the two browser scenarios.

  • Both full cases passed locally in Windows Edge with the isolated API and Vite development server. The production build and the first/last-frame case against Vite production preview also passed. Browser manifest, browser locale, Node syntax and diff whitespace checks passed.
  • The previous Release checks run failed during the real OpenCode visual worker tests. This refresh includes the upstream worker isolation from [test] agent: isolate bundled OpenCode workers #648. Hosted Release checks, CodeQL and the combined Nightly lanes remain pending on the refreshed head.

Independent candidate review of the refresh: 90/100, with no blocking findings. Reviewed base 128230015ce8f58db7232317f51237bdf196b18e and head d25100cb79e1dbc68a65625b280ae34a3839e1f2.

中文摘要

首尾帧用例先通过现有画布命令布置三个节点,再从各图片的实际端口拖线。节点历史用例只计入带视图数据的写操作。两条本地完整用例均通过。

12 月 3 日同步主分支。两个浏览器用例已重新通过本地验证,GitHub 检查将基于新提交重新运行。

December 5 conflict resolution

Merged main 93bd25b08a53633c08a9d904b1043e8cf6c2de65 into the branch. Candidate: ca4a4a0c10949a4808ad8097a41facbccdd46809.

The only textual conflict was the view-call wrapper in node_versions.mjs. It now preserves main's variadic argument forwarding and write-only counting, together with this PR's consistent viewWrites counter name. The diff remains limited to the same two browser test files. No product behavior is added by this conflict resolution.

Current validation supersedes the historical full-pass statements above:

  • Node syntax, diff checks, browser manifest, browser locale, and whole-PR pre-commit checks passed.
  • On intermediate merge e53e91a6da822098d610f8c2da0e5a6fb0647ed0, the complete first/last-frame browser case passed in Chromium 145 / Playwright 1.58.2 against the isolated API and Vite server.
  • The node-history case reached its later failed-save/retry section, then timed out at line 945: the floating cutout toolbar intercepted the title double-click in renameTarget. The identical main test from 42c5dc3926026384c13f7a6cc633792df44d079d reproduced the same interception at the same step against the same application tree. The counter rename is the only node-history diff from main. This is recorded as an existing browser-flow failure, not a passing full-history run.
  • The final refresh adds upstream fix: map Ark video generation availability (#675) #676; the full browser journeys have not been rerun on the final candidate. Linux, Node 24.22.1, Release checks, CodeQL and full Nightly remain unverified on this head. Local Node is 24.14.1. Model responses are fixtures; file/media assertions use real files.

Visual evidence is N/A for this test-only fixture change. Historical passing evidence above remains attributed to its earlier revisions.

Author candidate self-review: 83/100 (scope 3/3, correctness 3/3, validation 2/3, claim evidence 2/3, simplicity 3/3). The conflict resolution preserves both branches' semantics; current validation has the bounded browser-flow gap described above. Independent candidate review: 83/100, with no blocking findings for publishing this conflict resolution update; formal WITHHOLD remains. Reviewed base 93bd25b08a53633c08a9d904b1043e8cf6c2de65 and head ca4a4a0c10949a4808ad8097a41facbccdd46809. This update resolves conflicts and does not claim merge readiness.

@github-actions github-actions Bot added area:ci Continuous integration and checks type:ci Build, test and release automation labels Dec 1, 2026

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD 68a119a Refs #200, #386

当前暂定 90/100,非批准分:范围 3/3、正确性 3/3、验证 2/3、主张证据 N/A(只改测试)、简洁度 3/3。首尾帧用持久坐标布局,再从各自的真实端口拖线;历史面板仍断言打开时零视图写入,只不再把读取算成写入。两处都保留了原来的行为断言。作者本地两条完整用例通过,当前提交的三个浏览器 job 也绿。

Release Python 在 OpenCode 技能发现和原生视觉输入测试失败;日志没有显示是这两个 fixture 的回归,但 Release 整体未通过、完整 Nightly 也未证实,我没有运行 PR 代码。

English: The fixture fixes preserve the original assertions. Browser jobs are green; the exact-head Release is not green and the full Nightly is unverified.

Dot,代表 @david6666666。

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD d25100c Refs #200, #386

Dot,代表 @david6666666,非表决评审。

两个 fixture 与上次审查的 Git blob 一致:首尾帧仍从图片各自的实际端口拖线并在重开后查角色,节点历史仍断言开面板时没有写视图,只是不再把读取算成写入。当前 main 的视频压缩提交未改这两个 fixture,GitHub 也没有报告冲突,不需要为追平 main 重跑。

Ran: 文件和断言对比,以及 同 SHA Release checks 回读;Release、CodeQL、DSH 全绿。作者报告 Windows Edge 的两条完整本地用例通过,首尾帧另通过 production preview。Not run: 我没有独立运行浏览器,也没找到此 SHA 的扩展和生产 Nightly。旧失败来自 Nightly,所以目前可确认 PR 门禁已过,不能宣布 Nightly 两条路径已修复。

当前证据暂定 90/100,非批准分:范围 3/3、正确性 3/3、验证 2/3、主张证据 N/A(只改测试)、简洁度 3/3。Merge base 128230015ce8f58db7232317f51237bdf196b18e,head d25100cb79e1dbc68a65625b280ae34a3839e1f2。下一步核对实际 Nightly 的两条 lane。

@wangtiance

Copy link
Copy Markdown
Collaborator Author

谢谢复核。我核对了 d25100c 的 Release、CodeQL 和 DSH,均已通过。这个 SHA 还没有扩展或生产 Nightly 的记录,现有 Release 结果不能确认原 Nightly 的两条场景已修复。

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Continuous integration and checks type:ci Build, test and release automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants