Skip to content

diagnose(shell): timestamp the discard and progress records (#156) - #188

Merged
JavaZeroo merged 1 commit into
mainfrom
diag/selection-timeline
Oct 29, 2026
Merged

JavaZeroo merged 1 commit into
mainfrom
diag/selection-timeline

Conversation

@JavaZeroo

Copy link
Copy Markdown
Owner

内容

给选区丢弃诊断与场景阶段记录加单调时间戳,用于判定丢弃发生在哪个阶段之前/之后:

  • selection-discard.jsonl 增加 t_ms(GetTickCount64());
  • actions-progress.jsonl 的每条阶段记录增加 t_ms;

本地结果

本地一次通过运行(6.27s)里,丢弃记录在 live-selected 阶段(t=185221656),几何阶段依次是 geometry-144/192/96/zoom75/restored(t=185220140…185220703);
也就是说本地那次丢弃发生在几何切换之后,属于场景自身"制造失效选区"的行为(紧接着是 invalidated-copy-rejected),不在几何区间内。

hosted 失败时即用这两个文件对照:若丢弃的 t_ms 落在 geometry-* 之间,就是几何切换破坏了选区;否则另有原因。

边界

Refs #156

Both the selection-discard JSONL and the actions progress JSONL now carry a monotonic t_ms so a hosted discard can be ordered against the geometry phases that precede the failing check.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T14:54:45.694522Z aa41ac6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JavaZeroo
JavaZeroo merged commit 4809e1b into main Oct 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant