fix(http): handle local zero-block request files by antonreshetov · Pull Request #885 · massCodeIO/massCode · GitHub
Skip to content

fix(http): handle local zero-block request files - #885

Merged
antonreshetov merged 1 commit into
mainfrom
fix/http-zero-block-files
Jul 23, 2026
Merged

fix(http): handle local zero-block request files#885
antonreshetov merged 1 commit into
mainfrom
fix/http-zero-block-files

Conversation

@antonreshetov

Copy link
Copy Markdown
Member

Summary

  • Treat app-written HTTP request files with zero allocated blocks as local after writes and verified moves.
  • Preserve cloud placeholders by blocking unsafe writes and re-queuing downloads after folder moves.
  • Cover request and folder rename, trash, missing-file, and race cases.

Testing

  • pnpm exec vitest run src/main/storage/providers/markdown/http/storages/__tests__/requests.test.ts src/main/storage/providers/markdown/http/storages/__tests__/folders.test.ts (22 passed)
  • pnpm exec eslint on the five changed HTTP files
  • git diff --check

@antonreshetov
antonreshetov merged commit 463d492 into main Jul 23, 2026
@antonreshetov
antonreshetov deleted the fix/http-zero-block-files branch July 23, 2026 14:48
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