mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[PR #392] [MERGED] Clarify speed_up_quit() test usage violates documented safety contract #409
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#409
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/3FS/pull/392
Author: @Copilot
Created: 1/22/2026
Status: ✅ Merged
Merged: 1/22/2026
Merged by: @SF-Zhou
Base:
main← Head:copilot/fix-speed-up-quit-testing📝 Commits (2)
43fd77dInitial plan558e55cUpdate speed_up_quit() test comment to clarify exceptional testing usage📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
src/storage/chunk_engine/src/core/engine.rs(+4 -1)📄 Description
Engine::speed_up_quit()is documented to only be called when the process exits immediately, yettest_engine_normalcalls it with a misleading SAFETY comment claiming the test exits afterward—the test process continues running.Changes
Updated the SAFETY comment at line 801 to explicitly acknowledge:
speed_up_quit()immediately before process exitAligns test documentation with the function's safety contract (lines 175-177) which explicitly warns against calling in non-exit contexts like tests.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.