Skip to content

fix(tests): point the chat tail ledger row at its renamed guard test - #2424

Merged
bkudiess merged 1 commit into
openclaw:mainfrom
bkudiess:bkudiess/fix-ledger-tail-guard
Dec 1, 2026
Merged

bkudiess merged 1 commit into
openclaw:mainfrom
bkudiess:bkudiess/fix-ledger-tail-guard

Conversation

@bkudiess

@bkudiess bkudiess commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: d94a3e2378bfcf0e607371d550eb1cf54343332a

Dimension Assessment Rationale
Change confidence 9.5/10 ↑ One-line ledger edit; the named method exists at tests/OpenClaw.Tray.Tests/ChatTimelinePresentationTests.cs.
↑ Full Shared suite passes locally (6187 passed, 0 failed) and docs validation passes.
↑ CI run 46559491823 green on the first attempt with a current base (30d159c).
↓ The docs-only classification skipped the Core/Shared lane, so CI did not run the ledger test; the local full Shared run on this exact head did.
Diagnosis confidence 10/10 ↑ ArchitectureLedgerConsistencyTests fails on main 30d159c (1 of 6) and passes with this change.
↑ The only stale reference in the repo is this row.
Evidence fit 10/10 ↑ Main run 46557006311 failed at Run Shared Tests on this guard check, which a session reproduced locally.

What Problem This Solves

Main CI is red after #2417 (fix(chat): long chats reach the latest message after a resize and a scroll to the end). Its last commit renamed a chat scroll policy test, but the architecture ledger still names the old method. The ledger consistency check fails, and that turns every open PR's CI red too.

User Impact

There is no user-visible change. Main CI and open PRs stop failing the architecture ledger check.

Why This Change Was Made

The chat-tail-reflow-budget row in docs/ARCHITECTURE.md now names TailReflowCorrection_ResizeRefillsGrowthAndLandingBudgetsWithoutANewRevision, the guard test that actually exists. The test and product code are unchanged.

Evidence

  • ArchitectureLedgerConsistencyTests on main 30d159c6: 1 failed, 5 passed (Named_guard_tests_exist_in_test_sources).
  • dotnet test tests/OpenClaw.Shared.Tests with this change: 6187 passed, 0 failed, 29 skipped.
  • scripts/validate-docs.ps1: passed. git diff --check: clean.

Required proof pools

none: a documentation ledger fix with no runtime behavior.

…d test

openclaw#2417 consolidated TailReflowCorrection_ResizeGrantsTheBoundedBudgetWithoutANewRevision
into TailReflowCorrection_ResizeRefillsGrowthAndLandingBudgetsWithoutANewRevision but
left docs/ARCHITECTURE.md naming the old method, so
ArchitectureLedgerConsistencyTests.Named_guard_tests_exist_in_test_sources fails on main.

Co-authored-by: Copilot App <[email protected]>
@clawsweeper

clawsweeper Bot commented Dec 1, 2026

Copy link
Copy Markdown

🦞👀
Pull request received.

@clawsweeper clawsweeper Bot added the P2 Normal priority bug or improvement with limited blast radius. label Dec 1, 2026
@bkudiess
bkudiess merged commit ed710e0 into openclaw:main Dec 1, 2026
28 checks passed
bkudiess added a commit to bkudiess/openclaw-windows-node that referenced this pull request Dec 1, 2026
Pick up openclaw#2424, which points the chat-tail-reflow-budget ledger row at its renamed guard test.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant