Skip to content

fix(transform): fill paging budget for reflowed text - #46

Merged
diegosouzapw merged 3 commits into
mainfrom
fix/port-pr-226-reflow-budget
Aug 17, 2026
Merged

fix(transform): fill paging budget for reflowed text#46
diegosouzapw merged 3 commits into
mainfrom
fix/port-pr-226-reflow-budget

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Summary

  • charge reflow sentinels by their packed visual-row delta
  • retain the source text that actually fits inside the configured image-page budget
  • keep the existing image and truncation caps fail-closed

Validation

  • regression test added before the implementation
  • lint passed
  • typecheck passed
  • build passed
  • full suite: 1,117 tests passed

Charge inline reflow sentinels by their packed visual-row delta so oversized tool results retain the content that actually fits in their allotted image pages.

Co-authored-by: dex0shubham <shubham03workplace@gmail.com>

Inspired-by: teamchong/pxpipe#226
@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@diegosouzapw
diegosouzapw merged commit 58bd2e9 into main Aug 17, 2026
9 of 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