test(shared): add unit tests for message content block visitor#99545
test(shared): add unit tests for message content block visitor#99545whiteyzy wants to merge 1 commit into
Conversation
|
Thanks for the contribution. This PR still needs the requested real-behavior proof, and the branch has been idle since that ask. Close this external, test-only PR as stalled and unproven: it has had no new head commit since July 3, 2026, and the dated proof request has remained unresolved for more than 14 days. The added tests are coherent, but copied unit-test output is supplemental validation rather than the required after-change behavior proof. So I’m closing this for now to keep the review queue honest. Please reopen or open a fresh PR with real-behavior proof (a live run, logs, or a reproducible validation transcript) and it will be reviewed again. Review detailsBest possible solution: Preserve the useful test scenarios as a fresh, current-main-based contribution only if the contributor can provide redacted after-change validation acceptable to the repository’s proof gate. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes regression coverage rather than reporting a currently failing user-visible behavior. Is this the best way to solve the issue? Unclear: the focused cases appear aligned with the stated helper contract, but the branch remains below the external-PR proof gate and is stale rather than a ready landing candidate. Security review: Security review cleared: The diff adds only local unit-test code and introduces no dependency, permissions, workflow, credential, or supply-chain change. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 3b2797f09ba1. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper applied the proposed close for this PR.
|
What Problem This Solves
The
visitObjectContentBlocksutility insrc/shared/message-content-blocks.tshas no dedicated unit tests, leaving the content-block traversal logic unverified against regressions.Why This Change Was Made
Adds comprehensive unit test coverage for the message content block visitor, covering:
User Impact
Evidence