[PR #7241] fix(files): expectedSize 后继续检查到 EOF #7741

Open
opened 2026-11-03 13:40:02 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/7241
Author: @coyoteXujie
Created: 10/26/2026
Status: 🔄 Open

Base: main ← Head: coyotexujie-rea-15-valid-prs


📝 Commits (1)

  • 105f738 fix(files): expectedSize 后继续检查到 EOF

📊 Changes

2 files changed (+36 additions, -20 deletions)

View changed files

📝 src/process/BoundedFileBytes.ts (+16 -18)
📝 tests/boundary/filesystem/boundedFileBytes.test.ts (+20 -2)

📄 Description

Summary

  • 修复 expectedSize 达到后提前返回的 bug
  • 现在会继续读取到 EOF

Test plan

  • npm run test:local -- src/process/BoundedFileBytes.test.ts

Author readiness

Human owner: @coyoteXujie

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

🤖 Generated with Copilot


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/7241 **Author:** [@coyoteXujie](https://github.com/coyoteXujie) **Created:** 10/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `coyotexujie-rea-15-valid-prs` --- ### 📝 Commits (1) - [`105f738`](https://github.com/morluto/rea/commit/105f738d210454db7aaff32630c7ea2492b011f7) fix(files): expectedSize 后继续检查到 EOF ### 📊 Changes **2 files changed** (+36 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `src/process/BoundedFileBytes.ts` (+16 -18) 📝 `tests/boundary/filesystem/boundedFileBytes.test.ts` (+20 -2) </details> ### 📄 Description ## Summary - 修复 expectedSize 达到后提前返回的 bug - 现在会继续读取到 EOF ## Test plan - [x] npm run test:local -- src/process/BoundedFileBytes.test.ts ## Author readiness Human owner: @coyoteXujie - [x] I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work. - [x] I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps. - [x] I declare this PR ready for initial maintainer review. 🤖 Generated with [Copilot](https://github.com/features/copilot) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#7741
No description provided.